/frameworks/av/media/libstagefright/filters/ |
D | MediaFilter.cpp | 335 BufferInfo info; in allocateBuffersOnPort() 336 info.mStatus = BufferInfo::OWNED_BY_US; in allocateBuffersOnPort() 363 MediaFilter::BufferInfo* MediaFilter::findBuffer( in findBuffer() 367 BufferInfo *info = &mBuffers[portIndex].editItemAt(i); in findBuffer() 382 void MediaFilter::postFillThisBuffer(BufferInfo *info) { in postFillThisBuffer() 388 CHECK_EQ((int)info->mStatus, (int)BufferInfo::OWNED_BY_US); in postFillThisBuffer() 397 info->mStatus = BufferInfo::OWNED_BY_UPSTREAM; in postFillThisBuffer() 402 void MediaFilter::postDrainThisBuffer(BufferInfo *info) { in postDrainThisBuffer() 403 CHECK_EQ((int)info->mStatus, (int)BufferInfo::OWNED_BY_US); in postDrainThisBuffer() 412 info->mStatus = BufferInfo::OWNED_BY_UPSTREAM; in postDrainThisBuffer() [all …]
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaFilter.h | 52 struct BufferInfo { struct 107 Vector<BufferInfo> mBuffers[2]; 108 Vector<BufferInfo*> mAvailableInputBuffers; 109 Vector<BufferInfo*> mAvailableOutputBuffers; 122 BufferInfo *findBuffer( 125 void postFillThisBuffer(BufferInfo *info); 126 void postDrainThisBuffer(BufferInfo *info);
|
D | ACodec.h | 170 struct BufferInfo { struct 180 static inline Status getSafeStatus(BufferInfo *info) { in getSafeStatus() argument 209 static const char *_asString(BufferInfo::Status s); 261 Vector<BufferInfo> mBuffers[2]; 335 status_t cancelBufferToNativeWindow(BufferInfo *info); 337 BufferInfo *dequeueBufferFromNativeWindow(); 347 BufferInfo *findBufferByID( 351 status_t fillBuffer(BufferInfo *info); 562 ANativeWindowBuffer *buf, int fenceFd, BufferInfo *info);
|
/frameworks/av/media/libstagefright/ |
D | ACodecBufferChannel.cpp | 51 using BufferInfo = ACodecBufferChannel::BufferInfo; typedef 52 using BufferInfoIterator = std::vector<const BufferInfo>::const_iterator; 61 const std::shared_ptr<const std::vector<const BufferInfo>> &array, in findClientBuffer() 65 [buffer](const BufferInfo &info) { return info.mClientBuffer == buffer; }); in findClientBuffer() 69 const std::shared_ptr<const std::vector<const BufferInfo>> &array, in findBufferId() 73 [bufferId](const BufferInfo &info) { return bufferId == info.mBufferId; }); in findBufferId() 76 ACodecBufferChannel::BufferInfo::BufferInfo( in BufferInfo() function in android::ACodecBufferChannel::BufferInfo 97 std::shared_ptr<const std::vector<const BufferInfo>> array( in queueInputBuffer() 134 std::shared_ptr<const std::vector<const BufferInfo>> array( in queueSecureInputBuffer() 343 std::shared_ptr<const std::vector<const BufferInfo>> array( in attachEncryptedBuffer() [all …]
|
D | ACodec.cpp | 280 void postFillThisBuffer(BufferInfo *info); 513 void ACodec::BufferInfo::setWriteFence(int fenceFd, const char *dbg) { in setWriteFence() 522 void ACodec::BufferInfo::setReadFence(int fenceFd, const char *dbg) { in setReadFence() 531 void ACodec::BufferInfo::checkWriteFence(const char *dbg) { in checkWriteFence() 537 void ACodec::BufferInfo::checkReadFence(const char *dbg) { in checkReadFence() 770 Vector<BufferInfo> &buffers = mBuffers[kPortIndexOutput]; in handleSetSurface() 789 const BufferInfo &info = buffers[i]; in handleSetSurface() 792 && info.mStatus == BufferInfo::OWNED_BY_NATIVE_WINDOW) { in handleSetSurface() 810 BufferInfo &info = buffers.editItemAt(i); in handleSetSurface() 811 if (info.mStatus == BufferInfo::OWNED_BY_NATIVE_WINDOW) { in handleSetSurface() [all …]
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3StreamBufferListener.h | 31 struct BufferInfo { struct 43 virtual void onBufferAcquired(const BufferInfo& bufferInfo) = 0; argument 45 virtual void onBufferReleased(const BufferInfo& bufferInfo) = 0;
|
/frameworks/av/media/libstagefright/tests/writer/ |
D | WriterUtility.h | 38 struct BufferInfo { struct 44 int32_t sendBuffersToWriter(ifstream &inputStream, vector<BufferInfo> &bufferInfo, argument 48 int32_t writeHeaderBuffers(ifstream &inputStream, vector<BufferInfo> &bufferInfo,
|
/frameworks/native/services/vr/bufferhubd/include/private/dvr/ |
D | buffer_hub.h | 43 struct BufferInfo { struct 63 BufferInfo(int id, size_t consumer_count, uint32_t width, uint32_t height, in BufferInfo() argument 78 BufferInfo(int id, size_t consumer_count, size_t capacity, in BufferInfo() argument 86 BufferInfo() {} in BufferInfo() argument 90 virtual BufferInfo GetBufferInfo() const = 0;
|
/frameworks/av/media/libstagefright/include/ |
D | ACodecBufferChannel.h | 47 struct BufferInfo { struct 48 BufferInfo( 53 BufferInfo() = delete; 153 std::shared_ptr<const std::vector<const BufferInfo>> mInputBuffers; 154 std::shared_ptr<const std::vector<const BufferInfo>> mOutputBuffers;
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/ |
D | Decoder.java | 20 import android.media.MediaCodec.BufferInfo; 38 private ArrayList<BufferInfo> mInputBufferInfo; 102 @NonNull ArrayList<BufferInfo> inputBufferInfo, final boolean asyncMode, in decode() 133 int outputBufferId, @NonNull MediaCodec.BufferInfo bufferInfo) { in decode() 191 BufferInfo outputBufferInfo = new BufferInfo(); in decode() 265 BufferInfo bufInfo = mInputBufferInfo.get(mIndex); in onInputAvailable() 285 MediaCodec mediaCodec, int outputBufferId, BufferInfo outputBufferInfo) { in onOutputAvailable()
|
D | Extractor.java | 33 private MediaCodec.BufferInfo mBufferInfo; 39 mBufferInfo = new MediaCodec.BufferInfo(); in Extractor() 76 public MediaCodec.BufferInfo getBufferInfo() { return this.mBufferInfo; } in getBufferInfo()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
D | TrackDecoder.java | 21 import android.media.MediaCodec.BufferInfo; 67 MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info); in onDataAvailable() 154 BufferInfo outputInfo = new BufferInfo(); in drainOutputBuffer()
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/ |
D | SimpleSoftOMXComponent.h | 51 struct BufferInfo { struct 59 Vector<BufferInfo> mBuffers; 60 List<BufferInfo *> mQueue; 86 List<BufferInfo *> &getPortQueue(OMX_U32 portIndex);
|
/frameworks/av/cmds/stagefright/ |
D | SimplePlayer.h | 65 struct BufferInfo { struct 80 List<BufferInfo> mAvailOutputBufferInfos; 105 CodecState *state, BufferInfo *info, const sp<MediaCodecBuffer> &buffer);
|
/frameworks/av/services/camera/libcameraservice/gui/ |
D | RingBufferConsumer.h | 86 struct BufferInfo { struct 113 virtual int compare(const BufferInfo* i1, argument 114 const BufferInfo* i2) const = 0;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/ |
D | SoftMPEG4.cpp | 91 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled() 92 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled() 95 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled() 119 List<BufferInfo *>::iterator it = outQueue.begin(); in onQueueFilled() 129 BufferInfo *outInfo = *it; in onQueueFilled() 314 List<BufferInfo *>::iterator it = outQueue.begin(); in onQueueFilled() 319 BufferInfo *outInfo = *it; in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/opus/dec/ |
D | SoftOpus.cpp | 389 List<BufferInfo *> &inQueue = getPortQueue(0); in handleEOS() 390 List<BufferInfo *> &outQueue = getPortQueue(1); in handleEOS() 393 BufferInfo *outInfo = *outQueue.begin(); in handleEOS() 403 BufferInfo *inInfo = *inQueue.begin(); in handleEOS() 413 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled() 414 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled() 421 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled() 529 BufferInfo *outInfo = *outQueue.begin(); in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/vorbis/dec/ |
D | SoftVorbis.cpp | 313 List<BufferInfo *> &inQueue = getPortQueue(0); in handleEOS() 314 List<BufferInfo *> &outQueue = getPortQueue(1); in handleEOS() 320 BufferInfo *outInfo = *outQueue.begin(); in handleEOS() 330 BufferInfo *inInfo = *inQueue.begin(); in handleEOS() 339 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled() 340 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled() 347 BufferInfo *inInfo = NULL; in onQueueFilled() 354 BufferInfo *outInfo = *outQueue.begin(); in onQueueFilled()
|
/frameworks/base/media/java/android/media/ |
D | AmrInputStream.java | 20 import android.media.MediaCodec.BufferInfo; 39 BufferInfo mInfo; 85 mInfo = new BufferInfo(); in AmrInputStream()
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/ |
D | MuxerTest.java | 120 ArrayList<MediaCodec.BufferInfo> inputBufferInfo = new ArrayList<>(); in testMuxer() 127 MediaCodec.BufferInfo bufferInfo = extractor.getBufferInfo(); in testMuxer() 128 MediaCodec.BufferInfo tempBufferInfo = new MediaCodec.BufferInfo(); in testMuxer()
|
D | DecoderTest.java | 131 ArrayList<MediaCodec.BufferInfo> frameInfo = new ArrayList<>(); in testDecoder() 144 MediaCodec.BufferInfo bufInfo = new MediaCodec.BufferInfo(); in testDecoder() 145 MediaCodec.BufferInfo info = extractor.getBufferInfo(); in testDecoder()
|
/frameworks/av/media/libstagefright/codecs/on2/dec/ |
D | SoftVPX.cpp | 124 List<BufferInfo *> &outQueue = getPortQueue(1); in outputBuffers() 125 BufferInfo *outInfo = NULL; in outputBuffers() 244 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled() 245 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled() 268 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/raw/ |
D | SoftRaw.cpp | 238 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled() 239 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled() 242 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled() 245 BufferInfo *outInfo = *outQueue.begin(); in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/ |
D | SoftMPEG4Encoder.cpp | 101 List<BufferInfo *> &outQueue = getPortQueue(1); in ~SoftMPEG4Encoder() 102 List<BufferInfo *> &inQueue = getPortQueue(0); in ~SoftMPEG4Encoder() 390 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled() 391 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled() 394 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled() 396 BufferInfo *outInfo = *outQueue.begin(); in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/flac/enc/ |
D | SoftFlacEncoder.cpp | 372 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled() 373 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled() 383 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled() 435 BufferInfo *outInfo = *outQueue.begin(); in onQueueFilled() 497 List<BufferInfo *> &outQueue = getPortQueue(1); in onEncodedFlacAvailable() 499 BufferInfo *outInfo = *outQueue.begin(); in onEncodedFlacAvailable()
|