/frameworks/av/media/libstagefright/filters/ |
D | MediaFilter.cpp | 248 BufferInfo info; in allocateBuffersOnPort() 249 info.mStatus = BufferInfo::OWNED_BY_US; in allocateBuffersOnPort() 272 const BufferInfo &info = mBuffers[portIndex][i]; in allocateBuffersOnPort() 283 MediaFilter::BufferInfo* MediaFilter::findBufferByID( in findBufferByID() 287 BufferInfo *info = &mBuffers[portIndex].editItemAt(i); in findBufferByID() 302 void MediaFilter::postFillThisBuffer(BufferInfo *info) { in postFillThisBuffer() 308 CHECK_EQ((int)info->mStatus, (int)BufferInfo::OWNED_BY_US); in postFillThisBuffer() 324 info->mStatus = BufferInfo::OWNED_BY_UPSTREAM; in postFillThisBuffer() 328 void MediaFilter::postDrainThisBuffer(BufferInfo *info) { in postDrainThisBuffer() 329 CHECK_EQ((int)info->mStatus, (int)BufferInfo::OWNED_BY_US); in postDrainThisBuffer() [all …]
|
/frameworks/av/include/media/stagefright/ |
D | MediaFilter.h | 74 struct BufferInfo { struct 129 Vector<BufferInfo> mBuffers[2]; 130 Vector<BufferInfo*> mAvailableInputBuffers; 131 Vector<BufferInfo*> mAvailableOutputBuffers; 142 BufferInfo *findBufferByID( 145 void postFillThisBuffer(BufferInfo *info); 146 void postDrainThisBuffer(BufferInfo *info);
|
D | ACodec.h | 175 struct BufferInfo { struct 185 static inline Status getSafeStatus(BufferInfo *info) { in getSafeStatus() argument 213 static const char *_asString(BufferInfo::Status s); 264 Vector<BufferInfo> mBuffers[2]; 327 status_t cancelBufferToNativeWindow(BufferInfo *info); 329 BufferInfo *dequeueBufferFromNativeWindow(); 339 BufferInfo *findBufferByID( 519 ANativeWindowBuffer *buf, int fenceFd, BufferInfo *info);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/ |
D | SoftAVC.cpp | 86 List<BufferInfo *> &outQueue = getPortQueue(kOutputPortIndex); in ~SoftAVC() 87 List<BufferInfo *> &inQueue = getPortQueue(kInputPortIndex); in ~SoftAVC() 111 List<BufferInfo *> &inQueue = getPortQueue(kInputPortIndex); in onQueueFilled() 112 List<BufferInfo *> &outQueue = getPortQueue(kOutputPortIndex); in onQueueFilled() 131 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled() 251 List<BufferInfo *> &outQueue = getPortQueue(kOutputPortIndex); in drainOneOutputBuffer() 252 BufferInfo *outInfo = *outQueue.begin(); in drainOneOutputBuffer() 282 List<BufferInfo *> &outQueue = getPortQueue(kOutputPortIndex); in drainAllOutputBuffers() 305 BufferInfo *outInfo = *outQueue.begin(); in drainAllOutputBuffers()
|
/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;
|
D | Camera3ZslStream.cpp | 35 typedef RingBufferConsumer::BufferInfo BufferInfo; typedef 61 virtual int compare(const BufferInfo *i1, in compare() 62 const BufferInfo *i2) const { in compare() 77 const BufferInfo* infoPtrs[2] = { in compare()
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | ZslProcessor.h | 90 typedef camera3::Camera3StreamBufferListener::BufferInfo BufferInfo; typedef 92 virtual void onBufferAcquired(const BufferInfo& bufferInfo); 94 virtual void onBufferReleased(const BufferInfo& bufferInfo);
|
D | JpegProcessor.h | 54 void onBufferAcquired(const BufferInfo& bufferInfo) override; 55 void onBufferReleased(const BufferInfo& bufferInfo) override;
|
/frameworks/av/media/libstagefright/include/ |
D | SimpleSoftOMXComponent.h | 44 struct BufferInfo { struct 51 Vector<BufferInfo> mBuffers; 52 List<BufferInfo *> mQueue; 75 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/media/libstagefright/codecs/m4v_h263/dec/ |
D | SoftMPEG4.cpp | 100 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled() 101 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled() 104 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled() 128 List<BufferInfo *>::iterator it = outQueue.begin(); in onQueueFilled() 133 BufferInfo *outInfo = *it; in onQueueFilled() 285 List<BufferInfo *>::iterator it = outQueue.begin(); in onQueueFilled() 290 BufferInfo *outInfo = *it; in onQueueFilled()
|
/frameworks/av/cmds/stagefright/ |
D | SimplePlayer.h | 64 struct BufferInfo { struct 79 List<BufferInfo> mAvailOutputBufferInfos; 104 CodecState *state, BufferInfo *info, const sp<ABuffer> &buffer);
|
/frameworks/av/media/libstagefright/ |
D | ACodec.cpp | 239 void postFillThisBuffer(BufferInfo *info); 464 void ACodec::BufferInfo::setWriteFence(int fenceFd, const char *dbg) { in setWriteFence() 473 void ACodec::BufferInfo::setReadFence(int fenceFd, const char *dbg) { in setReadFence() 482 void ACodec::BufferInfo::checkWriteFence(const char *dbg) { in checkWriteFence() 488 void ACodec::BufferInfo::checkReadFence(const char *dbg) { in checkReadFence() 711 Vector<BufferInfo> &buffers = mBuffers[kPortIndexOutput]; in handleSetSurface() 727 const BufferInfo &info = buffers[i]; in handleSetSurface() 731 && info.mStatus == BufferInfo::OWNED_BY_NATIVE_WINDOW) { in handleSetSurface() 749 BufferInfo &info = buffers.editItemAt(i); in handleSetSurface() 750 if (info.mStatus == BufferInfo::OWNED_BY_NATIVE_WINDOW) { in handleSetSurface() [all …]
|
/frameworks/av/services/camera/libcameraservice/gui/ |
D | RingBufferConsumer.h | 88 struct BufferInfo { struct 115 virtual int compare(const BufferInfo* i1, argument 116 const BufferInfo* i2) const = 0;
|
/frameworks/base/media/java/android/media/ |
D | MediaCodec.java | 1475 public final static class BufferInfo { class in MediaCodec 1532 public BufferInfo dup() { in dup() 1533 BufferInfo copy = new BufferInfo(); in dup() 1658 BufferInfo info = (MediaCodec.BufferInfo) msg.obj; in handleCallback() 2567 @NonNull BufferInfo info, long timeoutUs) { in dequeueOutputBuffer() 2583 @NonNull BufferInfo info, long timeoutUs); in native_dequeueOutputBuffer() 2605 BufferInfo info = null; in releaseOutputBuffer() 2666 BufferInfo info = null; in releaseOutputBuffer() 2813 private final Map<Integer, BufferInfo> mDequeuedOutputInfos = 2814 new HashMap<Integer, BufferInfo>(); [all …]
|
/frameworks/av/media/libstagefright/codecs/on2/dec/ |
D | SoftVPX.cpp | 113 List<BufferInfo *> &outQueue = getPortQueue(1); in outputBuffers() 114 BufferInfo *outInfo = NULL; in outputBuffers() 205 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled() 206 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled() 229 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/flac/enc/ |
D | SoftFlacEncoder.cpp | 299 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled() 300 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled() 303 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled() 306 BufferInfo *outInfo = *outQueue.begin(); in onQueueFilled() 403 List<BufferInfo *> &outQueue = getPortQueue(1); in onEncodedFlacAvailable() 405 BufferInfo *outInfo = *outQueue.begin(); in onEncodedFlacAvailable()
|
/frameworks/av/media/libstagefright/codecs/raw/ |
D | SoftRaw.cpp | 196 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled() 197 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled() 200 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled() 203 BufferInfo *outInfo = *outQueue.begin(); in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/ |
D | SoftMPEG4Encoder.cpp | 103 List<BufferInfo *> &outQueue = getPortQueue(1); in ~SoftMPEG4Encoder() 104 List<BufferInfo *> &inQueue = getPortQueue(0); in ~SoftMPEG4Encoder() 400 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled() 401 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled() 404 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled() 406 BufferInfo *outInfo = *outQueue.begin(); in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/gsm/dec/ |
D | SoftGSM.cpp | 195 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled() 196 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled() 199 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled() 202 BufferInfo *outInfo = *outQueue.begin(); in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/g711/dec/ |
D | SoftG711.cpp | 212 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled() 213 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled() 216 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled() 219 BufferInfo *outInfo = *outQueue.begin(); in onQueueFilled()
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
D | DisplaySinkService.java | 26 import android.media.MediaCodec.BufferInfo; 53 private BufferInfo mCodecBufferInfo; 162 mCodecBufferInfo = new BufferInfo(); in updateSurfaceFromUi()
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/ |
D | SoftAMRNBEncoder.cpp | 306 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled() 307 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled() 324 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled() 380 BufferInfo *outInfo = *outQueue.begin(); in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/vorbis/dec/ |
D | SoftVorbis.cpp | 264 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled() 265 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled() 272 BufferInfo *info = *inQueue.begin(); in onQueueFilled() 330 BufferInfo *inInfo = NULL; in onQueueFilled() 337 BufferInfo *outInfo = *outQueue.begin(); in onQueueFilled()
|