Home
last modified time | relevance | path

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

123

/frameworks/av/media/libstagefright/filters/
DMediaFilter.cpp230 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/
DACodecBufferChannel.cpp44 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()
252 std::shared_ptr<const std::vector<const BufferInfo>> array( in renderOutputBuffer()
[all …]
DACodec.cpp280 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/media/libstagefright/include/media/stagefright/
DMediaFilter.h54 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);
DACodec.h160 struct BufferInfo { struct
170 static inline Status getSafeStatus(BufferInfo *info) { in getSafeStatus() argument
199 static const char *_asString(BufferInfo::Status s);
251 Vector<BufferInfo> mBuffers[2];
325 status_t cancelBufferToNativeWindow(BufferInfo *info);
327 BufferInfo *dequeueBufferFromNativeWindow();
337 BufferInfo *findBufferByID(
341 status_t fillBuffer(BufferInfo *info);
549 ANativeWindowBuffer *buf, int fenceFd, BufferInfo *info);
/frameworks/av/media/libstagefright/include/
DACodecBufferChannel.h47 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/
DCamera3StreamBufferListener.h31 struct BufferInfo { struct
42 virtual void onBufferAcquired(const BufferInfo& bufferInfo) = 0; argument
44 virtual void onBufferReleased(const BufferInfo& bufferInfo) = 0;
/frameworks/native/services/vr/bufferhubd/include/private/dvr/
Dbuffer_hub.h43 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() function
90 virtual BufferInfo GetBufferInfo() const = 0;
/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/omx/include/media/stagefright/omx/
DSimpleSoftOMXComponent.h51 struct BufferInfo { struct
59 Vector<BufferInfo> mBuffers;
60 List<BufferInfo *> mQueue;
86 List<BufferInfo *> &getPortQueue(OMX_U32 portIndex);
/frameworks/av/cmds/stagefright/
DSimplePlayer.h65 struct BufferInfo { struct
80 List<BufferInfo> mAvailOutputBufferInfos;
105 CodecState *state, BufferInfo *info, const sp<MediaCodecBuffer> &buffer);
/frameworks/av/services/camera/libcameraservice/gui/
DRingBufferConsumer.h86 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/
DSoftMPEG4.cpp91 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/
DSoftOpus.cpp389 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/
DSoftVorbis.cpp313 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/
DAmrInputStream.java24 import android.media.MediaCodec.BufferInfo;
39 BufferInfo mInfo;
85 mInfo = new BufferInfo(); in AmrInputStream()
DMediaCodec.java1536 public final static class BufferInfo { class in MediaCodec
1593 public BufferInfo dup() { in dup()
1594 BufferInfo copy = new BufferInfo(); in dup()
1745 BufferInfo info = (MediaCodec.BufferInfo) msg.obj; in handleCallback()
2788 @NonNull BufferInfo info, long timeoutUs) { in dequeueOutputBuffer()
2804 @NonNull BufferInfo info, long timeoutUs); in native_dequeueOutputBuffer()
2826 BufferInfo info = null; in releaseOutputBuffer()
2887 BufferInfo info = null; in releaseOutputBuffer()
3035 private final Map<Integer, BufferInfo> mDequeuedOutputInfos =
3036 new HashMap<Integer, BufferInfo>();
[all …]
/frameworks/av/media/libstagefright/codecs/on2/dec/
DSoftVPX.cpp124 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/
DSoftRaw.cpp238 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/
DSoftMPEG4Encoder.cpp101 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/
DGraphicsStatsService.java217 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/gsm/dec/
DSoftGSM.cpp242 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()
/frameworks/av/media/libstagefright/codecs/flac/enc/
DSoftFlacEncoder.cpp372 List<BufferInfo *> &inQueue = getPortQueue(0); in onQueueFilled()
373 List<BufferInfo *> &outQueue = getPortQueue(1); in onQueueFilled()
383 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled()
433 BufferInfo *outInfo = *outQueue.begin(); in onQueueFilled()
504 List<BufferInfo *> &outQueue = getPortQueue(1); in onEncodedFlacAvailable()
506 BufferInfo *outInfo = *outQueue.begin(); in onEncodedFlacAvailable()
/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()

123