/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaBufferBase.h | 27 class MediaBufferBase; variable 35 virtual void signalBufferReturned(MediaBufferBase *buffer) = 0; 42 class MediaBufferBase { 44 static MediaBufferBase *Create(size_t size); 78 virtual ~MediaBufferBase() { in ~MediaBufferBase() 91 ((MediaBufferBase*)handle)->release(); in wrap() 95 return ((MediaBufferBase*)handle)->data(); in wrap() 99 return ((MediaBufferBase*)handle)->size(); in wrap() 103 return ((MediaBufferBase*)handle)->range_offset(); in wrap() 107 return ((MediaBufferBase*)handle)->range_length(); in wrap() [all …]
|
D | MediaBufferGroup.h | 31 class MediaBufferBase; variable 42 void add_buffer(MediaBufferBase *buffer); 55 MediaBufferBase **buffer, bool nonBlocking = false, size_t requestedSize = 0); 60 virtual void signalBufferReturned(MediaBufferBase *buffer); 71 MediaBufferBase *buf = MediaBufferBase::Create(size); in wrap() 84 MediaBufferBase *acquiredBuf = nullptr; in wrap()
|
D | CameraSourceTimeLapse.h | 109 MediaBufferBase* mLastReadBufferCopy; 129 virtual void signalBufferReturned(MediaBufferBase* buffer); 132 virtual status_t read(MediaBufferBase **buffer, const ReadOptions *options = NULL); 144 void fillLastReadBufferCopy(MediaBufferBase& sourceBuffer);
|
D | MediaCodecSource.h | 60 MediaBufferBase **buffer, 66 virtual void signalBufferReturned(MediaBufferBase *buffer); 142 List<MediaBufferBase *> mInputBufferQueue; 155 List<MediaBufferBase*> mBufferQueue;
|
D | MediaAdapter.h | 43 MediaBufferBase **buffer, const ReadOptions *options = NULL); 49 virtual void signalBufferReturned(MediaBufferBase *buffer);
|
D | NuMediaExtractor.h | 121 Sample(MediaBufferBase *buffer, int64_t timeUs); 122 MediaBufferBase *mBuffer; 167 status_t appendVorbisNumPageSamples(MediaBufferBase *mbuf, const sp<ABuffer> &buffer);
|
D | SimpleDecodingSource.h | 68 virtual status_t read(MediaBufferBase **buffer, const ReadOptions *options); 107 Mutexed<ProtectedState>::Locked &me, MediaBufferBase **buffer,
|
D | AudioSource.h | 74 MediaBufferBase **buffer, const ReadOptions *options = NULL); 78 virtual void signalBufferReturned(MediaBufferBase *buffer);
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTPWriter.h | 107 MediaBufferBase *mVPSBuf; 108 MediaBufferBase *mSPSBuf; 109 MediaBufferBase *mPPSBuf; 148 void makeH264SPropParamSets(MediaBufferBase *buffer); 152 void sendVPSSPSPPSIfIFrame(MediaBufferBase *mediaBuf, int64_t timeUs); 153 void sendSPSPPSIfIFrame(MediaBufferBase *mediaBuf, int64_t timeUs); 154 void sendHEVCData(MediaBufferBase *mediaBuf); 155 void sendAVCData(MediaBufferBase *mediaBuf); 156 void sendH263Data(MediaBufferBase *mediaBuf); 157 void sendAMRData(MediaBufferBase *mediaBuf);
|
D | ARTPWriter.cpp | 320 static void StripStartcode(MediaBufferBase *buffer) { in StripStartcode() 337 static void SpsPpsParser(MediaBufferBase *buffer, in SpsPpsParser() 338 MediaBufferBase **spsBuffer, MediaBufferBase **ppsBuffer) { in SpsPpsParser() 344 MediaBufferBase **targetPtr = NULL; in SpsPpsParser() 355 MediaBufferBase *&target = *targetPtr; in SpsPpsParser() 379 target = MediaBufferBase::Create(targetSize); in SpsPpsParser() 387 target = MediaBufferBase::Create(targetSize); in SpsPpsParser() 397 static void VpsSpsPpsParser(MediaBufferBase *buffer, in VpsSpsPpsParser() 398 MediaBufferBase **vpsBuffer, MediaBufferBase **spsBuffer, MediaBufferBase **ppsBuffer) { in VpsSpsPpsParser() 404 MediaBufferBase **targetPtr = NULL; in VpsSpsPpsParser() [all …]
|
/frameworks/av/media/libstagefright/tests/fuzzers/ |
D | IMediaSourceFuzzImpl.h | 32 status_t read(MediaBufferBase**, 34 status_t readMultiple(Vector<MediaBufferBase*>*, uint32_t, 45 std::vector<std::shared_ptr<MediaBufferBase>> buffer_bases; 56 status_t IMediaSourceFuzzImpl::read(MediaBufferBase **buffer, in read() 58 Vector<MediaBufferBase*> buffers; in read() 65 status_t IMediaSourceFuzzImpl::readMultiple(Vector<MediaBufferBase*>* buffers, in readMultiple() 73 std::shared_ptr<MediaBufferBase> mbb( in readMultiple()
|
/frameworks/av/media/libmedia/include/media/ |
D | MediaBufferHolder.h | 27 MediaBufferHolder(MediaBufferBase* buffer) in MediaBufferHolder() 40 MediaBufferBase* mediaBuffer() { return mMediaBuffer; } in mediaBuffer() 43 MediaBufferBase* const mMediaBuffer;
|
D | IMediaSource.h | 67 MediaBufferBase **buffer, 83 Vector<MediaBufferBase *> *buffers, uint32_t maxNumBuffers = 1, 113 Vector<MediaBufferBase *> * /* buffers */, uint32_t /* maxNumBuffers = 1 */, in readMultiple() argument
|
/frameworks/av/media/libstagefright/foundation/ |
D | MediaBufferGroup.cpp | 43 std::list<MediaBufferBase *> mBuffers; 105 for (MediaBufferBase *buffer : mInternal->mBuffers) { in ~MediaBufferGroup() 131 void MediaBufferGroup::add_buffer(MediaBufferBase *buffer) { in add_buffer() 156 for (MediaBufferBase *buffer : mInternal->mBuffers) { in has_buffers() 165 MediaBufferBase **out, bool nonBlocking, size_t requestedSize) { in acquire_buffer() 170 MediaBufferBase *buffer = nullptr; in acquire_buffer() 234 void MediaBufferGroup::signalBufferReturned(MediaBufferBase *) { in signalBufferReturned() argument
|
D | MediaBufferBase.cpp | 26 MediaBufferBase *MediaBufferBase::Create(size_t size) { in Create()
|
/frameworks/av/include/media/ |
D | MediaTrack.h | 36 class MediaBufferBase; variable 128 MediaBufferBase **buffer, const ReadOptions *options = NULL) = 0; 150 virtual status_t read(MediaBufferBase **buffer, const ReadOptions *options = NULL);
|
/frameworks/av/media/libstagefright/ |
D | CameraSourceTimeLapse.cpp | 168 void CameraSourceTimeLapse::signalBufferReturned(MediaBufferBase* buffer) { in signalBufferReturned() 182 const MediaBufferBase& sourceBuffer, in createMediaBufferCopy() 184 MediaBufferBase **newBuffer) { in createMediaBufferCopy() 197 void CameraSourceTimeLapse::fillLastReadBufferCopy(MediaBufferBase& sourceBuffer) { in fillLastReadBufferCopy() 207 MediaBufferBase **buffer, const ReadOptions *options) { in read()
|
D | MediaCodecSource.cpp | 64 bool readBuffer(MediaBufferBase **buffer); 91 Vector<MediaBufferBase *> mReadBuffers; 96 bool readBuffer(MediaBufferBase **buffer); 98 void pushBuffer(MediaBufferBase *mbuf); 128 void MediaCodecSource::Puller::Queue::pushBuffer(MediaBufferBase *mbuf) { in pushBuffer() 132 bool MediaCodecSource::Puller::Queue::readBuffer(MediaBufferBase **mbuf) { in readBuffer() 143 MediaBufferBase *mbuf; in flush() 150 bool MediaCodecSource::Puller::readBuffer(MediaBufferBase **mbuf) { in readBuffer() 294 MediaBufferBase *mbuf = NULL; in onMessageReceived() 409 MediaBufferBase** buffer, const ReadOptions* /* options */) { in read() [all …]
|
D | MediaAdapter.cpp | 75 void MediaAdapter::signalBufferReturned(MediaBufferBase *buffer) { in signalBufferReturned() 85 MediaBufferBase **buffer, const ReadOptions * /* options */) { in read()
|
D | JPEGSource.cpp | 112 MediaBufferBase **out, const ReadOptions *options) { in read() 121 MediaBufferBase *buffer; in read()
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmFrame.cpp | 30 sp<ABuffer> toABuffer(MediaBufferBase *mbuf) { in toABuffer() 49 WebmFrame::WebmFrame(int type, bool key, uint64_t absTimecode, MediaBufferBase *mbuf) in WebmFrame()
|
D | WebmFrame.h | 33 WebmFrame(int type, bool key, uint64_t absTimecode, MediaBufferBase *buf);
|
/frameworks/av/cmds/stagefright/ |
D | AudioPlayer.h | 72 MediaBufferBase *mInputBuffer; 94 MediaBufferBase *mFirstBuffer;
|
D | SineSource.cpp | 63 MediaBufferBase **out, const ReadOptions * /* options */) { in read() 66 MediaBufferBase *buffer; in read()
|
/frameworks/av/media/libmedia/ |
D | IMediaSource.cpp | 117 virtual status_t read(MediaBufferBase **buffer, in read() 119 Vector<MediaBufferBase *> buffers; in read() 128 Vector<MediaBufferBase *> *buffers, uint32_t maxNumBuffers, in readMultiple() 352 ret = read((MediaBufferBase **)&buf, useOptions ? &opts : nullptr); in onTransact() 375 (MediaBufferBase **)&transferBuf, false /* nonBlocking */, length); in onTransact()
|