/frameworks/av/media/libstagefright/filters/ |
D | MediaFilter.cpp | 230 BufferInfo info; in allocateBuffersOnPort() 231 info.mStatus = BufferInfo::OWNED_BY_US; in allocateBuffersOnPort() 260 MediaFilter::BufferInfo* MediaFilter::findBufferByID( in findBufferByID() 264 BufferInfo *info = &mBuffers[portIndex].editItemAt(i); in findBufferByID() 279 void MediaFilter::postFillThisBuffer(BufferInfo *info) { in postFillThisBuffer() 285 CHECK_EQ((int)info->mStatus, (int)BufferInfo::OWNED_BY_US); in postFillThisBuffer() 294 info->mStatus = BufferInfo::OWNED_BY_UPSTREAM; in postFillThisBuffer() 299 void MediaFilter::postDrainThisBuffer(BufferInfo *info) { in postDrainThisBuffer() 300 CHECK_EQ((int)info->mStatus, (int)BufferInfo::OWNED_BY_US); in postDrainThisBuffer() 309 info->mStatus = BufferInfo::OWNED_BY_UPSTREAM; in postDrainThisBuffer() [all …]
|
/frameworks/av/media/libstagefright/ |
D | ACodecBufferChannel.cpp | 44 using BufferInfo = ACodecBufferChannel::BufferInfo; typedef 45 using BufferInfoIterator = std::vector<const BufferInfo>::const_iterator; 54 const std::shared_ptr<const std::vector<const BufferInfo>> &array, in findClientBuffer() 58 [buffer](const BufferInfo &info) { return info.mClientBuffer == buffer; }); in findClientBuffer() 62 const std::shared_ptr<const std::vector<const BufferInfo>> &array, in findBufferId() 66 [bufferId](const BufferInfo &info) { return bufferId == info.mBufferId; }); in findBufferId() 69 ACodecBufferChannel::BufferInfo::BufferInfo( in BufferInfo() function in android::ACodecBufferChannel::BufferInfo 93 std::shared_ptr<const std::vector<const BufferInfo>> array( in queueInputBuffer() 115 std::shared_ptr<const std::vector<const BufferInfo>> array( in queueSecureInputBuffer() 239 std::shared_ptr<const std::vector<const BufferInfo>> array( in renderOutputBuffer() [all …]
|
D | ACodec.cpp | 283 void postFillThisBuffer(BufferInfo *info); 516 void ACodec::BufferInfo::setWriteFence(int fenceFd, const char *dbg) { in setWriteFence() 525 void ACodec::BufferInfo::setReadFence(int fenceFd, const char *dbg) { in setReadFence() 534 void ACodec::BufferInfo::checkWriteFence(const char *dbg) { in checkWriteFence() 540 void ACodec::BufferInfo::checkReadFence(const char *dbg) { in checkReadFence() 773 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/media/libstagefright/include/media/stagefright/ |
D | MediaFilter.h | 54 struct BufferInfo { struct 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);
|
D | ACodec.h | 159 struct BufferInfo { struct 169 static inline Status getSafeStatus(BufferInfo *info) { in getSafeStatus() argument 198 static const char *_asString(BufferInfo::Status s); 248 Vector<BufferInfo> mBuffers[2]; 321 status_t cancelBufferToNativeWindow(BufferInfo *info); 323 BufferInfo *dequeueBufferFromNativeWindow(); 333 BufferInfo *findBufferByID( 337 status_t fillBuffer(BufferInfo *info); 526 ANativeWindowBuffer *buf, int fenceFd, BufferInfo *info);
|
/frameworks/av/media/libstagefright/include/ |
D | ACodecBufferChannel.h | 47 struct BufferInfo { struct 48 BufferInfo( 53 BufferInfo() = delete; 133 std::shared_ptr<const std::vector<const BufferInfo>> mInputBuffers; 134 std::shared_ptr<const std::vector<const BufferInfo>> mOutputBuffers;
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3StreamBufferListener.h | 30 struct BufferInfo { struct 41 virtual void onBufferAcquired(const BufferInfo& bufferInfo) = 0; argument 43 virtual void onBufferReleased(const BufferInfo& bufferInfo) = 0;
|
/frameworks/native/services/vr/bufferhubd/ |
D | buffer_hub.h | 43 struct BufferInfo { struct 64 BufferInfo(int id, size_t consumer_count, uint32_t width, uint32_t height, in BufferInfo() argument 81 BufferInfo(int id, size_t consumer_count, size_t capacity, in BufferInfo() argument 89 BufferInfo() {} in BufferInfo() argument 93 virtual BufferInfo GetBufferInfo() const = 0;
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/ |
D | SimpleSoftOMXComponent.h | 49 struct BufferInfo { struct 56 Vector<BufferInfo> mBuffers; 57 List<BufferInfo *> mQueue; 80 List<BufferInfo *> &getPortQueue(OMX_U32 portIndex);
|
/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()
|
D | AudioTrackDecoder.java | 21 import android.media.MediaCodec.BufferInfo; 77 MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info) { in onDataAvailable()
|
/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 | 92 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled() 93 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled() 96 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled() 120 List<BufferInfo *>::iterator it = outQueue.begin(); in onQueueFilled() 125 BufferInfo *outInfo = *it; in onQueueFilled() 310 List<BufferInfo *>::iterator it = outQueue.begin(); in onQueueFilled() 315 BufferInfo *outInfo = *it; 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/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() 517 BufferInfo *outInfo = *outQueue.begin(); in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/on2/dec/ |
D | SoftVPX.cpp | 119 List<BufferInfo *> &outQueue = getPortQueue(1); in outputBuffers() 120 BufferInfo *outInfo = NULL; in outputBuffers() 234 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled() 235 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled() 258 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled()
|
/frameworks/base/media/java/android/media/ |
D | AmrInputStream.java | 23 import android.media.MediaCodec.BufferInfo; 38 BufferInfo mInfo; 83 mInfo = new BufferInfo(); in AmrInputStream()
|
D | MediaCodec.java | 1487 public final static class BufferInfo { class in MediaCodec 1544 public BufferInfo dup() { in dup() 1545 BufferInfo copy = new BufferInfo(); in dup() 1695 BufferInfo info = (MediaCodec.BufferInfo) msg.obj; in handleCallback() 2697 @NonNull BufferInfo info, long timeoutUs) { in dequeueOutputBuffer() 2713 @NonNull BufferInfo info, long timeoutUs); in native_dequeueOutputBuffer() 2735 BufferInfo info = null; in releaseOutputBuffer() 2796 BufferInfo info = null; in releaseOutputBuffer() 2943 private final Map<Integer, BufferInfo> mDequeuedOutputInfos = 2944 new HashMap<Integer, BufferInfo>(); [all …]
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | JpegProcessor.h | 54 void onBufferAcquired(const BufferInfo& bufferInfo) override; 55 void onBufferReleased(const BufferInfo& bufferInfo) override;
|
/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/base/services/core/java/com/android/server/ |
D | GraphicsStatsService.java | 217 private File pathForApp(BufferInfo info) { in pathForApp() 391 private final class BufferInfo { class in GraphicsStatsService 397 BufferInfo(String packageName, long versionCode, long startTime) { in BufferInfo() method in GraphicsStatsService.BufferInfo 405 final BufferInfo mInfo; 415 mInfo = new BufferInfo(packageName, versionCode, System.currentTimeMillis()); in ActiveBuffer() 440 final BufferInfo mInfo;
|
/frameworks/av/media/libstagefright/codecs/flac/enc/ |
D | SoftFlacEncoder.cpp | 355 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled() 356 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled() 362 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled() 404 BufferInfo *outInfo = *outQueue.begin(); in onQueueFilled() 475 List<BufferInfo *> &outQueue = getPortQueue(1); in onEncodedFlacAvailable() 477 BufferInfo *outInfo = *outQueue.begin(); in onEncodedFlacAvailable()
|
/frameworks/av/media/libstagefright/codecs/gsm/dec/ |
D | SoftGSM.cpp | 242 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled() 243 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled() 246 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled() 249 BufferInfo *outInfo = *outQueue.begin(); in onQueueFilled()
|