/frameworks/av/services/camera/libcameraservice/device3/ |
Camera3StreamBufferListener.h | 31 struct BufferInfo { 42 virtual void onBufferAcquired(const BufferInfo& bufferInfo) = 0; 44 virtual void onBufferReleased(const BufferInfo& bufferInfo) = 0;
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
buffer_info_util.cc | 21 using BufferInfo = ::tensorflow::cpu_function_runtime::BufferInfo; 23 std::vector<BufferInfo> CreateBufferInfosFromBufferAssignment( 25 std::vector<BufferInfo> buffer_infos; 28 buffer_infos.push_back(BufferInfo::MakeOnStackBuffer(allocation.size())); 30 buffer_infos.push_back(BufferInfo::MakeConstant(allocation.size())); 32 buffer_infos.push_back(BufferInfo::MakeEntryParameter( 36 buffer_infos.push_back(BufferInfo::MakeTempBuffer(allocation.size())); 43 absl::Span<const BufferInfo> buffer_infos) {
|
buffer_info_util.h | 25 // Creates and returns a list of BufferInfo instances containing relevant 27 std::vector<::tensorflow::cpu_function_runtime::BufferInfo> 37 absl::Span<const ::tensorflow::cpu_function_runtime::BufferInfo>
|
cpu_compiler.h | 84 std::vector<::tensorflow::cpu_function_runtime::BufferInfo> buffer_infos, 94 const std::vector<::tensorflow::cpu_function_runtime::BufferInfo>& 104 // A list of BufferInfo objects describing the buffers used by the XLA 106 const std::vector<::tensorflow::cpu_function_runtime::BufferInfo>
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
cpu_function_runtime.h | 28 class BufferInfo { 30 // Creates a BufferInfo from a serialized encoding generated by `Encode`. 31 explicit BufferInfo(std::pair<uint64, uint64> encoding) 66 // Encodes this BufferInfo into two 64 bit integers that can be used to 67 // reconstruct the BufferInfo later using the constructor. We need this 68 // because we use BufferInfo in places where using protocol buffers would 77 bool operator==(const BufferInfo& buffer_info) const { 87 static BufferInfo MakeTempBuffer(uint64 size) { 88 return BufferInfo(Kind::kTempBuffer, /*size=*/size, 91 static BufferInfo MakeConstant(uint64 size) [all...] |
cpu_function_runtime_test.cc | 24 using cpu_function_runtime::BufferInfo; 35 std::vector<BufferInfo> SizesToBufferInfos(const intptr_t* sizes, size_t n) { 36 std::vector<BufferInfo> buffer_infos; 43 return BufferInfo::MakeOnStackBuffer(on_stack_buffer_size); 45 return BufferInfo::MakeTempBuffer(size); 53 std::vector<BufferInfo> buffer_infos = SizesToBufferInfos(sizes, n); 60 std::vector<BufferInfo> buffer_infos = SizesToBufferInfos(sizes, n); 152 void CheckRoundTripIsOk(const BufferInfo& buffer_info) { 153 BufferInfo round_trip(buffer_info.Encode()); 158 CheckRoundTripIsOk(BufferInfo::MakeTempBuffer(0)) [all...] |
xla_jit_compiled_cpu_function.h | 70 std::vector<cpu_function_runtime::BufferInfo> buffer_infos_;
|
cpu_function_runtime.cc | 58 size_t AlignedBufferBytes(const BufferInfo* buffer_infos, size_t n, 73 void* MallocContiguousBuffers(const BufferInfo* buffer_infos, size_t n,
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
MediaFilter.h | 54 struct BufferInfo { 108 Vector<BufferInfo> mBuffers[2]; 109 Vector<BufferInfo*> mAvailableInputBuffers; 110 Vector<BufferInfo*> mAvailableOutputBuffers; 123 BufferInfo *findBufferByID( 126 void postFillThisBuffer(BufferInfo *info); 127 void postDrainThisBuffer(BufferInfo *info);
|
/frameworks/av/media/libstagefright/filters/ |
MediaFilter.cpp | 230 BufferInfo info; 231 info.mStatus = BufferInfo::OWNED_BY_US; 260 MediaFilter::BufferInfo* MediaFilter::findBufferByID( 264 BufferInfo *info = &mBuffers[portIndex].editItemAt(i); 279 void MediaFilter::postFillThisBuffer(BufferInfo *info) { 285 CHECK_EQ((int)info->mStatus, (int)BufferInfo::OWNED_BY_US); 294 info->mStatus = BufferInfo::OWNED_BY_UPSTREAM; 299 void MediaFilter::postDrainThisBuffer(BufferInfo *info) { 300 CHECK_EQ((int)info->mStatus, (int)BufferInfo::OWNED_BY_US); 309 info->mStatus = BufferInfo::OWNED_BY_UPSTREAM [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
MediaCodecWrapper.java | 20 import android.media.MediaCodec.BufferInfo; 44 int dequeueOutputBuffer(BufferInfo info, long timeoutUs);
|
CodecState.java | 44 private LinkedList<MediaCodec.BufferInfo> mAvailableOutputBufferInfos; 80 mAvailableOutputBufferInfos = new LinkedList<MediaCodec.BufferInfo>(); 173 MediaCodec.BufferInfo info = new MediaCodec.BufferInfo(); 318 MediaCodec.BufferInfo info = mAvailableOutputBufferInfos.peekFirst();
|
/frameworks/av/media/libstagefright/include/ |
ACodecBufferChannel.h | 47 struct BufferInfo { 48 BufferInfo( 53 BufferInfo() = delete; 128 // Note on thread safety: since the vector and BufferInfo are const, it's 130 // obtained. Inside BufferInfo, mBufferId and mSharedEncryptedBuffer are 133 std::shared_ptr<const std::vector<const BufferInfo>> mInputBuffers; 134 std::shared_ptr<const std::vector<const BufferInfo>> mOutputBuffers;
|
/frameworks/av/cmds/stagefright/ |
SimplePlayer.h | 65 struct BufferInfo { 80 List<BufferInfo> mAvailOutputBufferInfos; 105 CodecState *state, BufferInfo *info, const sp<MediaCodecBuffer> &buffer);
|
/frameworks/av/services/camera/libcameraservice/gui/ |
RingBufferConsumer.h | 86 struct BufferInfo { 113 virtual int compare(const BufferInfo* i1, 114 const BufferInfo* i2) const = 0;
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/ |
SimpleSoftOMXComponent.h | 51 struct BufferInfo { 59 Vector<BufferInfo> mBuffers; 60 List<BufferInfo *> mQueue; 86 List<BufferInfo *> &getPortQueue(OMX_U32 portIndex);
|
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/ |
MediaCodecWrapper.java | 51 void outputSample(MediaCodecWrapper sender, MediaCodec.BufferInfo info, ByteBuffer buffer); 75 private MediaCodec.BufferInfo[] mOutputBufferInfo; 85 mOutputBufferInfo = new MediaCodec.BufferInfo[mOutputBuffers.length]; 281 public boolean peekSample(MediaCodec.BufferInfo out_bufferInfo) { 287 MediaCodec.BufferInfo info = mOutputBufferInfo[index]; 302 * OutputSampleListener#outputSample(MediaCodecWrapper, android.media.MediaCodec.BufferInfo, 316 MediaCodec.BufferInfo info = mOutputBufferInfo[index]; 342 MediaCodec.BufferInfo info = new MediaCodec.BufferInfo(); 347 mOutputBufferInfo = new MediaCodec.BufferInfo[mOutputBuffers.length] [all...] |
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/ |
MediaCodecWrapper.java | 51 void outputSample(MediaCodecWrapper sender, MediaCodec.BufferInfo info, ByteBuffer buffer); 75 private MediaCodec.BufferInfo[] mOutputBufferInfo; 85 mOutputBufferInfo = new MediaCodec.BufferInfo[mOutputBuffers.length]; 281 public boolean peekSample(MediaCodec.BufferInfo out_bufferInfo) { 287 MediaCodec.BufferInfo info = mOutputBufferInfo[index]; 302 * OutputSampleListener#outputSample(MediaCodecWrapper, android.media.MediaCodec.BufferInfo, 316 MediaCodec.BufferInfo info = mOutputBufferInfo[index]; 342 MediaCodec.BufferInfo info = new MediaCodec.BufferInfo(); 347 mOutputBufferInfo = new MediaCodec.BufferInfo[mOutputBuffers.length] [all...] |
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/ |
MediaCodecWrapper.java | 51 void outputSample(MediaCodecWrapper sender, MediaCodec.BufferInfo info, ByteBuffer buffer); 75 private MediaCodec.BufferInfo[] mOutputBufferInfo; 85 mOutputBufferInfo = new MediaCodec.BufferInfo[mOutputBuffers.length]; 281 public boolean peekSample(MediaCodec.BufferInfo out_bufferInfo) { 287 MediaCodec.BufferInfo info = mOutputBufferInfo[index]; 302 * OutputSampleListener#outputSample(MediaCodecWrapper, android.media.MediaCodec.BufferInfo, 316 MediaCodec.BufferInfo info = mOutputBufferInfo[index]; 342 MediaCodec.BufferInfo info = new MediaCodec.BufferInfo(); 347 mOutputBufferInfo = new MediaCodec.BufferInfo[mOutputBuffers.length] [all...] |
/frameworks/av/media/libstagefright/ |
ACodecBufferChannel.cpp | 44 using BufferInfo = ACodecBufferChannel::BufferInfo; 45 using BufferInfoIterator = std::vector<const BufferInfo>::const_iterator; 54 const std::shared_ptr<const std::vector<const BufferInfo>> &array, 58 [buffer](const BufferInfo &info) { return info.mClientBuffer == buffer; }); 62 const std::shared_ptr<const std::vector<const BufferInfo>> &array, 66 [bufferId](const BufferInfo &info) { return bufferId == info.mBufferId; }); 69 ACodecBufferChannel::BufferInfo::BufferInfo( 93 std::shared_ptr<const std::vector<const BufferInfo>> array [all...] |
/developers/build/prebuilts/gradle/BasicMediaDecoder/Application/src/main/java/com/example/android/common/media/ |
MediaCodecWrapper.java | 52 void outputSample(MediaCodecWrapper sender, MediaCodec.BufferInfo info, ByteBuffer buffer); 76 private MediaCodec.BufferInfo[] mOutputBufferInfo; 83 mOutputBufferInfo = new MediaCodec.BufferInfo[mOutputBuffers.length]; 277 public boolean peekSample(MediaCodec.BufferInfo out_bufferInfo) { 283 MediaCodec.BufferInfo info = mOutputBufferInfo[index]; 298 * OutputSampleListener#outputSample(MediaCodecWrapper, android.media.MediaCodec.BufferInfo, 332 MediaCodec.BufferInfo info = new MediaCodec.BufferInfo(); 337 mOutputBufferInfo = new MediaCodec.BufferInfo[mOutputBuffers.length];
|
/developers/build/prebuilts/gradle/MediaRecorder/Application/src/main/java/com/example/android/common/media/ |
MediaCodecWrapper.java | 52 void outputSample(MediaCodecWrapper sender, MediaCodec.BufferInfo info, ByteBuffer buffer); 76 private MediaCodec.BufferInfo[] mOutputBufferInfo; 83 mOutputBufferInfo = new MediaCodec.BufferInfo[mOutputBuffers.length]; 277 public boolean peekSample(MediaCodec.BufferInfo out_bufferInfo) { 283 MediaCodec.BufferInfo info = mOutputBufferInfo[index]; 298 * OutputSampleListener#outputSample(MediaCodecWrapper, android.media.MediaCodec.BufferInfo, 332 MediaCodec.BufferInfo info = new MediaCodec.BufferInfo(); 337 mOutputBufferInfo = new MediaCodec.BufferInfo[mOutputBuffers.length];
|
/developers/samples/android/common/src/java/com/example/android/common/media/ |
MediaCodecWrapper.java | 52 void outputSample(MediaCodecWrapper sender, MediaCodec.BufferInfo info, ByteBuffer buffer); 76 private MediaCodec.BufferInfo[] mOutputBufferInfo; 83 mOutputBufferInfo = new MediaCodec.BufferInfo[mOutputBuffers.length]; 277 public boolean peekSample(MediaCodec.BufferInfo out_bufferInfo) { 283 MediaCodec.BufferInfo info = mOutputBufferInfo[index]; 298 * OutputSampleListener#outputSample(MediaCodecWrapper, android.media.MediaCodec.BufferInfo, 332 MediaCodec.BufferInfo info = new MediaCodec.BufferInfo(); 337 mOutputBufferInfo = new MediaCodec.BufferInfo[mOutputBuffers.length];
|
/external/tensorflow/tensorflow/compiler/aot/ |
codegen_test.cc | 37 using ::tensorflow::cpu_function_runtime::BufferInfo; 189 {BufferInfo::MakeTempBuffer(1), 190 BufferInfo::MakeEntryParameter(/*size=*/8, /*param_number=*/0), 191 BufferInfo::MakeTempBuffer(2), 192 BufferInfo::MakeEntryParameter(/*size=*/96, /*param_number=*/1), 193 BufferInfo::MakeTempBuffer(3), BufferInfo::MakeTempBuffer(120)},
|
codegen.cc | 41 using BufferInfo = cpu_function_runtime::BufferInfo; 93 size_t TotalBufferBytes(const std::vector<BufferInfo>& buffer_infos) { 95 [](size_t size, const BufferInfo& buffer_info) { 100 // Returns a vector of BufferInfo instances in `buffer_infos` that are entry 102 std::vector<BufferInfo> ExtractEntryParamBufferInfos( 103 const std::vector<BufferInfo>& buffer_infos) { 104 std::vector<BufferInfo> result; 106 std::back_inserter(result), [](const BufferInfo& buffer_info) { 112 // Returns a vector of BufferInfo instances in `buffer_infos` that are tem [all...] |