Home
last modified time | relevance | path

Searched refs:MediaBufferBase (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaBufferBase.h27 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 …]
DMediaBufferGroup.h31 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()
DCameraSourceTimeLapse.h110 MediaBufferBase* mLastReadBufferCopy;
131 virtual void signalBufferReturned(MediaBufferBase* buffer);
134 virtual status_t read(MediaBufferBase **buffer, const ReadOptions *options = NULL);
173 void fillLastReadBufferCopy(MediaBufferBase& sourceBuffer);
DMediaCodecSource.h60 MediaBufferBase **buffer,
66 virtual void signalBufferReturned(MediaBufferBase *buffer);
139 List<MediaBufferBase *> mInputBufferQueue;
152 List<MediaBufferBase*> mBufferQueue;
DMediaAdapter.h43 MediaBufferBase **buffer, const ReadOptions *options = NULL);
49 virtual void signalBufferReturned(MediaBufferBase *buffer);
DNuMediaExtractor.h115 Sample(MediaBufferBase *buffer, int64_t timeUs);
116 MediaBufferBase *mBuffer;
157 status_t appendVorbisNumPageSamples(MediaBufferBase *mbuf, const sp<ABuffer> &buffer);
DSimpleDecodingSource.h68 virtual status_t read(MediaBufferBase **buffer, const ReadOptions *options);
107 Mutexed<ProtectedState>::Locked &me, MediaBufferBase **buffer,
DAudioSource.h61 MediaBufferBase **buffer, const ReadOptions *options = NULL);
65 virtual void signalBufferReturned(MediaBufferBase *buffer);
/frameworks/av/media/libmedia/include/media/
DMediaBufferHolder.h27 MediaBufferHolder(MediaBufferBase* buffer) in MediaBufferHolder()
40 MediaBufferBase* mediaBuffer() { return mMediaBuffer; } in mediaBuffer()
43 MediaBufferBase* const mMediaBuffer;
DIMediaSource.h67 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/
DMediaBufferGroup.cpp43 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
DMediaBufferBase.cpp26 MediaBufferBase *MediaBufferBase::Create(size_t size) { in Create()
/frameworks/av/media/libstagefright/rtsp/
DARTPWriter.h113 void makeH264SPropParamSets(MediaBufferBase *buffer);
117 void sendAVCData(MediaBufferBase *mediaBuf);
118 void sendH263Data(MediaBufferBase *mediaBuf);
119 void sendAMRData(MediaBufferBase *mediaBuf);
DARTPWriter.cpp176 static void StripStartcode(MediaBufferBase *buffer) { in StripStartcode()
198 MediaBufferBase *buffer; in onMessageReceived()
268 MediaBufferBase *mediaBuf; in onRead()
528 void ARTPWriter::makeH264SPropParamSets(MediaBufferBase *buffer) { in makeH264SPropParamSets()
572 void ARTPWriter::sendAVCData(MediaBufferBase *mediaBuf) { in sendAVCData()
668 void ARTPWriter::sendH263Data(MediaBufferBase *mediaBuf) { in sendH263Data()
746 void ARTPWriter::sendAMRData(MediaBufferBase *mediaBuf) { in sendAMRData()
/frameworks/av/include/media/
DMediaTrack.h36 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/
DCameraSourceTimeLapse.cpp172 void CameraSourceTimeLapse::signalBufferReturned(MediaBufferBase* buffer) { in signalBufferReturned()
192 const MediaBufferBase& sourceBuffer, in createMediaBufferCopy()
194 MediaBufferBase **newBuffer, in createMediaBufferCopy()
213 void CameraSourceTimeLapse::fillLastReadBufferCopy(MediaBufferBase& sourceBuffer) { in fillLastReadBufferCopy()
224 MediaBufferBase **buffer, const ReadOptions *options) { in read()
DMediaCodecSource.cpp63 bool readBuffer(MediaBufferBase **buffer);
90 Vector<MediaBufferBase *> mReadBuffers;
95 bool readBuffer(MediaBufferBase **buffer);
97 void pushBuffer(MediaBufferBase *mbuf);
127 void MediaCodecSource::Puller::Queue::pushBuffer(MediaBufferBase *mbuf) { in pushBuffer()
131 bool MediaCodecSource::Puller::Queue::readBuffer(MediaBufferBase **mbuf) { in readBuffer()
142 MediaBufferBase *mbuf; in flush()
149 bool MediaCodecSource::Puller::readBuffer(MediaBufferBase **mbuf) { in readBuffer()
302 MediaBufferBase *mbuf = NULL; in onMessageReceived()
417 MediaBufferBase** buffer, const ReadOptions* /* options */) { in read()
[all …]
DMediaAdapter.cpp75 void MediaAdapter::signalBufferReturned(MediaBufferBase *buffer) { in signalBufferReturned()
85 MediaBufferBase **buffer, const ReadOptions * /* options */) { in read()
DJPEGSource.cpp112 MediaBufferBase **out, const ReadOptions *options) { in read()
121 MediaBufferBase *buffer; in read()
DCallbackMediaSource.cpp39 status_t CallbackMediaSource::read(MediaBufferBase **buffer, const ReadOptions *options) { in read()
/frameworks/av/media/libstagefright/webm/
DWebmFrame.cpp30 sp<ABuffer> toABuffer(MediaBufferBase *mbuf) { in toABuffer()
49 WebmFrame::WebmFrame(int type, bool key, uint64_t absTimecode, MediaBufferBase *mbuf) in WebmFrame()
DWebmFrame.h33 WebmFrame(int type, bool key, uint64_t absTimecode, MediaBufferBase *buf);
/frameworks/av/cmds/stagefright/
DAudioPlayer.h72 MediaBufferBase *mInputBuffer;
94 MediaBufferBase *mFirstBuffer;
DSineSource.cpp63 MediaBufferBase **out, const ReadOptions * /* options */) { in read()
66 MediaBufferBase *buffer; in read()
/frameworks/av/media/libmedia/
DIMediaSource.cpp117 virtual status_t read(MediaBufferBase **buffer, in read()
119 Vector<MediaBufferBase *> buffers; in read()
128 Vector<MediaBufferBase *> *buffers, uint32_t maxNumBuffers, in readMultiple()
350 ret = read((MediaBufferBase **)&buf, useOptions ? &opts : nullptr); in onTransact()
373 (MediaBufferBase **)&transferBuf, false /* nonBlocking */, length); in onTransact()

123