Home
last modified time | relevance | path

Searched refs:BufferInfo (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamBufferListener.h30 struct BufferInfo { struct
40 virtual void onBufferAcquired(const BufferInfo& bufferInfo) = 0; argument
42 virtual void onBufferReleased(const BufferInfo& bufferInfo) = 0;
DCamera3ZslStream.cpp35 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/include/media/stagefright/
DOMXCodec.h165 struct BufferInfo { struct
199 Vector<BufferInfo> mPortBuffers[2];
298 status_t queueBufferToNativeWindow(BufferInfo *info);
299 status_t cancelBufferToNativeWindow(BufferInfo *info);
300 BufferInfo* dequeueBufferFromNativeWindow();
310 bool drainInputBuffer(BufferInfo *info);
311 void fillOutputBuffer(BufferInfo *info);
317 BufferInfo *findInputBufferByDataPointer(void *ptr);
318 BufferInfo *findEmptyInputBuffer();
330 static size_t countBuffersWeOwn(const Vector<BufferInfo> &buffers);
DACodec.h137 struct BufferInfo { struct
188 Vector<BufferInfo> mBuffers[2];
238 status_t cancelBufferToNativeWindow(BufferInfo *info);
240 BufferInfo *dequeueBufferFromNativeWindow();
242 BufferInfo *findBufferByID(
/frameworks/av/media/libstagefright/codecs/on2/h264dec/
DSoftAVC.cpp86 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()
246 List<BufferInfo *> &outQueue = getPortQueue(kOutputPortIndex); in drainOneOutputBuffer()
247 BufferInfo *outInfo = *outQueue.begin(); in drainOneOutputBuffer()
271 List<BufferInfo *> &outQueue = getPortQueue(kOutputPortIndex); in drainAllOutputBuffers()
289 BufferInfo *outInfo = *outQueue.begin(); in drainAllOutputBuffers()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DZslProcessor3.h77 typedef camera3::Camera3StreamBufferListener::BufferInfo BufferInfo; typedef
79 virtual void onBufferAcquired(const BufferInfo& bufferInfo);
81 virtual void onBufferReleased(const BufferInfo& bufferInfo);
/frameworks/av/media/libstagefright/include/
DSimpleSoftOMXComponent.h44 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/
DTrackDecoder.java21 import android.media.MediaCodec.BufferInfo;
67 MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info); in onDataAvailable()
154 BufferInfo outputInfo = new BufferInfo(); in drainOutputBuffer()
DAudioTrackDecoder.java21 import android.media.MediaCodec.BufferInfo;
77 MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info) { in onDataAvailable()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
DSoftMPEG4.cpp100 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled()
101 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled()
104 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled()
122 List<BufferInfo *>::iterator it = outQueue.begin(); in onQueueFilled()
127 BufferInfo *outInfo = *it; in onQueueFilled()
270 List<BufferInfo *>::iterator it = outQueue.begin(); in onQueueFilled()
275 BufferInfo *outInfo = *it; in onQueueFilled()
/frameworks/av/cmds/stagefright/
DSimplePlayer.h64 struct BufferInfo { struct
79 List<BufferInfo> mAvailOutputBufferInfos;
104 CodecState *state, BufferInfo *info, const sp<ABuffer> &buffer);
/frameworks/av/services/camera/libcameraservice/gui/
DRingBufferConsumer.h89 struct BufferInfo { struct
116 virtual int compare(const BufferInfo* i1, argument
117 const BufferInfo* i2) const = 0;
/frameworks/av/media/libstagefright/codecs/on2/dec/
DSoftVPX.cpp94 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled()
95 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled()
99 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled()
102 BufferInfo *outInfo = *outQueue.begin(); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/raw/
DSoftRaw.cpp171 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled()
172 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled()
175 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled()
178 BufferInfo *outInfo = *outQueue.begin(); in onQueueFilled()
/frameworks/av/media/libstagefright/
DACodec.cpp194 void postFillThisBuffer(BufferInfo *info);
560 BufferInfo info; in allocateBuffersOnPort()
561 info.mStatus = BufferInfo::OWNED_BY_US; in allocateBuffersOnPort()
609 const BufferInfo &info = mBuffers[portIndex][i]; in allocateBuffersOnPort()
815 BufferInfo info; in allocateOutputBuffersFromNativeWindow()
816 info.mStatus = BufferInfo::OWNED_BY_US; in allocateOutputBuffersFromNativeWindow()
852 BufferInfo *info = &mBuffers[kPortIndexOutput].editItemAt(i); in allocateOutputBuffersFromNativeWindow()
878 BufferInfo info; in allocateOutputMetaDataBuffers()
879 info.mStatus = BufferInfo::OWNED_BY_NATIVE_WINDOW; in allocateOutputMetaDataBuffers()
909 BufferInfo *info = dequeueBufferFromNativeWindow(); in submitOutputMetaDataBuffer()
[all …]
/frameworks/av/media/libstagefright/codecs/flac/enc/
DSoftFlacEncoder.cpp273 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled()
274 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled()
277 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled()
280 BufferInfo *outInfo = *outQueue.begin(); in onQueueFilled()
377 List<BufferInfo *> &outQueue = getPortQueue(1); in onEncodedFlacAvailable()
379 BufferInfo *outInfo = *outQueue.begin(); in onEncodedFlacAvailable()
/frameworks/av/media/libstagefright/codecs/gsm/dec/
DSoftGSM.cpp180 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled()
181 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled()
184 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled()
187 BufferInfo *outInfo = *outQueue.begin(); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
DSoftMPEG4Encoder.cpp99 List<BufferInfo *> &outQueue = getPortQueue(1); in ~SoftMPEG4Encoder()
100 List<BufferInfo *> &inQueue = getPortQueue(0); in ~SoftMPEG4Encoder()
367 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled()
368 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled()
371 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled()
373 BufferInfo *outInfo = *outQueue.begin(); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/g711/dec/
DSoftG711.cpp197 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled()
198 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled()
201 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled()
204 BufferInfo *outInfo = *outQueue.begin(); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
DSoftVorbis.cpp247 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled()
248 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled()
255 BufferInfo *info = *inQueue.begin(); in onQueueFilled()
296 BufferInfo *inInfo = NULL; in onQueueFilled()
303 BufferInfo *outInfo = *outQueue.begin(); in onQueueFilled()
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DDisplaySinkService.java26 import android.media.MediaCodec.BufferInfo;
53 private BufferInfo mCodecBufferInfo;
162 mCodecBufferInfo = new BufferInfo(); in updateSurfaceFromUi()
/frameworks/av/media/libstagefright/codecs/mp3dec/
DSoftMP3.cpp213 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled()
214 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled()
217 BufferInfo *inInfo = NULL; in onQueueFilled()
224 BufferInfo *outInfo = *outQueue.begin(); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
DSoftAMRNBEncoder.cpp278 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled()
279 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled()
296 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled()
352 BufferInfo *outInfo = *outQueue.begin(); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/aacenc/
DSoftAACEncoder.cpp384 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled()
385 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled()
396 BufferInfo *outInfo = *outQueue.begin(); in onQueueFilled()
432 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled()
493 BufferInfo *outInfo = *outQueue.begin(); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/opus/dec/
DSoftOpus.cpp323 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled()
324 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled()
331 BufferInfo *info = *inQueue.begin(); in onQueueFilled()
397 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled()
400 BufferInfo *outInfo = *outQueue.begin(); in onQueueFilled()

12