Home
last modified time | relevance | path

Searched refs:MediaBuffer (Results 1 – 25 of 91) sorted by relevance

1234

/frameworks/av/media/libstagefright/
DMediaBuffer.cpp33 MediaBuffer::MediaBuffer(void *data, size_t size) in MediaBuffer() function in android::MediaBuffer
46 MediaBuffer::MediaBuffer(size_t size) in MediaBuffer() function in android::MediaBuffer
59 MediaBuffer::MediaBuffer(const sp<GraphicBuffer>& graphicBuffer) in MediaBuffer() function in android::MediaBuffer
73 MediaBuffer::MediaBuffer(const sp<ABuffer> &buffer) in MediaBuffer() function in android::MediaBuffer
87 void MediaBuffer::release() { in release()
106 void MediaBuffer::claim() { in claim()
113 void MediaBuffer::add_ref() { in add_ref()
117 void *MediaBuffer::data() const { in data()
122 size_t MediaBuffer::size() const { in size()
127 size_t MediaBuffer::range_offset() const { in range_offset()
[all …]
DMediaBufferGroup.cpp32 MediaBuffer *next; in ~MediaBufferGroup()
33 for (MediaBuffer *buffer = mFirstBuffer; buffer != NULL; in ~MediaBufferGroup()
44 void MediaBufferGroup::add_buffer(MediaBuffer *buffer) { in add_buffer()
59 MediaBuffer **out, bool nonBlocking) { in acquire_buffer()
63 for (MediaBuffer *buffer = mFirstBuffer; in acquire_buffer()
87 void MediaBufferGroup::signalBufferReturned(MediaBuffer *) { in signalBufferReturned() argument
DAudioSource.cpp132 List<MediaBuffer *>::iterator it; in releaseQueuedFrames_l()
215 MediaBuffer **out, const ReadOptions * /* options */) { in read()
229 MediaBuffer *buffer = *mBuffersReceived.begin(); in read()
263 void AudioSource::signalBufferReturned(MediaBuffer *buffer) { in signalBufferReturned()
326 MediaBuffer *lostAudioBuffer = new MediaBuffer(bufferSize); in dataCallback()
338 MediaBuffer *buffer = new MediaBuffer(bufferSize); in dataCallback()
346 void AudioSource::queueInputBuffer_l(MediaBuffer *buffer, int64_t timeUs) { in queueInputBuffer_l()
DCameraSourceTimeLapse.cpp169 void CameraSourceTimeLapse::signalBufferReturned(MediaBuffer* buffer) { in signalBufferReturned()
181 const MediaBuffer& sourceBuffer, in createMediaBufferCopy()
183 MediaBuffer **newBuffer) { in createMediaBufferCopy()
189 (*newBuffer) = new MediaBuffer(sourceSize); in createMediaBufferCopy()
195 void CameraSourceTimeLapse::fillLastReadBufferCopy(MediaBuffer& sourceBuffer) { in fillLastReadBufferCopy()
205 MediaBuffer **buffer, const ReadOptions *options) { in read()
DMediaAdapter.cpp68 void MediaAdapter::signalBufferReturned(MediaBuffer *buffer) { in signalBufferReturned()
78 MediaBuffer **buffer, const ReadOptions * /* options */) { in read()
105 status_t MediaAdapter::pushBuffer(MediaBuffer *buffer) { in pushBuffer()
DOggExtractor.cpp55 MediaBuffer **buffer, const ReadOptions *options = NULL);
79 status_t readNextPacket(MediaBuffer **buffer, bool conf);
125 MediaBuffer *buffer, uint8_t type);
127 int32_t packetBlockSize(MediaBuffer *buffer);
176 MediaBuffer **out, const ReadOptions *options) { in read()
187 MediaBuffer *packet; in read()
460 status_t MyVorbisExtractor::readNextPacket(MediaBuffer **out, bool conf) { in readNextPacket()
463 MediaBuffer *buffer = NULL; in readNextPacket()
492 MediaBuffer *tmp = new MediaBuffer(fullSize); in readNextPacket()
604 MediaBuffer *packet; in init()
[all …]
DMediaCodecSource.cpp208 MediaBuffer *mbuf; in onMessageReceived()
307 MediaBuffer** buffer, const ReadOptions* /* options */) { in read()
322 void MediaCodecSource::signalBufferReturned(MediaBuffer *buffer) { in signalBufferReturned()
450 MediaBuffer *mbuf = *mInputBufferQueue.begin(); in releaseEncoder()
480 for (List<MediaBuffer*>::iterator it = mOutputBufferQueue.begin(); in signalEOS()
529 MediaBuffer* mbuf = *mInputBufferQueue.begin(); in feedEncoderInputBuffers()
641 MediaBuffer *mbuf; in onMessageReceived()
708 MediaBuffer *mbuf = new MediaBuffer(outbuf->size()); in onMessageReceived()
DFLACExtractor.cpp51 MediaBuffer **buffer, const ReadOptions *options = NULL);
106 MediaBuffer *readBuffer() { in readBuffer()
109 MediaBuffer *readBuffer(FLAC__uint64 sample) { in readBuffer()
148 MediaBuffer *readBuffer(bool doSeek, FLAC__uint64 sample);
637 mGroup->add_buffer(new MediaBuffer(mMaxBufferSize)); in allocateBuffers()
647 MediaBuffer *FLACParser::readBuffer(bool doSeek, FLAC__uint64 sample) in readBuffer()
681 MediaBuffer *buffer; in readBuffer()
752 MediaBuffer **outBuffer, const ReadOptions *options) in read()
754 MediaBuffer *buffer; in read()
DJPEGSource.cpp78 mGroup->add_buffer(new MediaBuffer(mSize)); in start()
111 MediaBuffer **out, const ReadOptions *options) { in read()
120 MediaBuffer *buffer; in read()
/frameworks/av/include/media/stagefright/
DMediaBuffer.h32 class MediaBuffer; variable
41 virtual void signalBufferReturned(MediaBuffer *buffer) = 0;
48 class MediaBuffer : public MediaBufferBase {
51 MediaBuffer(void *data, size_t size);
53 MediaBuffer(size_t size);
55 MediaBuffer(const sp<GraphicBuffer>& graphicBuffer);
57 MediaBuffer(const sp<ABuffer> &buffer);
86 MediaBuffer *clone();
91 virtual ~MediaBuffer();
102 MediaBuffer *mNextBuffer;
[all …]
DMediaBufferGroup.h27 class MediaBuffer; variable
35 void add_buffer(MediaBuffer *buffer);
42 status_t acquire_buffer(MediaBuffer **buffer, bool nonBlocking = false);
45 virtual void signalBufferReturned(MediaBuffer *buffer);
48 friend class MediaBuffer;
53 MediaBuffer *mFirstBuffer, *mLastBuffer;
DMediaAdapter.h43 MediaBuffer **buffer, const ReadOptions *options = NULL);
49 virtual void signalBufferReturned(MediaBuffer *buffer);
57 status_t pushBuffer(MediaBuffer *buffer);
66 MediaBuffer *mCurrentMediaBuffer;
DAudioSource.h51 MediaBuffer **buffer, const ReadOptions *options = NULL);
54 virtual void signalBufferReturned(MediaBuffer *buffer);
89 List<MediaBuffer * > mBuffersReceived;
99 void queueInputBuffer_l(MediaBuffer *buffer, int64_t timeUs);
DCameraSourceTimeLapse.h106 MediaBuffer* mLastReadBufferCopy;
126 virtual void signalBufferReturned(MediaBuffer* buffer);
129 virtual status_t read(MediaBuffer **buffer, const ReadOptions *options = NULL);
143 void fillLastReadBufferCopy(MediaBuffer& sourceBuffer);
DMediaSource.h29 class MediaBuffer; variable
60 MediaBuffer **buffer, const ReadOptions *options = NULL) = 0;
113 virtual status_t setBuffers(const Vector<MediaBuffer *> & /* buffers */) { in setBuffers()
DMediaCodecSource.h54 MediaBuffer **buffer,
58 virtual void signalBufferReturned(MediaBuffer *buffer);
109 List<MediaBuffer *> mInputBufferQueue;
120 List<MediaBuffer*> mOutputBufferQueue;
DMPEG4Writer.h29 class MediaBuffer; variable
115 List<MediaBuffer *> mSamples; // Sample data
120 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples) in Chunk()
183 off64_t addSample_l(MediaBuffer *buffer);
184 off64_t addLengthPrefixedSample_l(MediaBuffer *buffer);
DSurfaceMediaSource.h79 virtual status_t read(MediaBuffer **buffer,
90 virtual void signalBufferReturned(MediaBuffer* buffer);
187 Vector<MediaBuffer *> mPendingBuffers;
/frameworks/av/media/libstagefright/rtsp/
DARTPWriter.h35 struct MediaBuffer;
113 void makeH264SPropParamSets(MediaBuffer *buffer);
117 void sendAVCData(MediaBuffer *mediaBuf);
118 void sendH263Data(MediaBuffer *mediaBuf);
119 void sendAMRData(MediaBuffer *mediaBuf);
/frameworks/av/media/libstagefright/codecs/avc/enc/
DSoftAVCEncoder.h29 struct MediaBuffer;
49 virtual void signalBufferReturned(MediaBuffer *buffer);
88 Vector<MediaBuffer *> mOutputBuffers;
/frameworks/av/cmds/stagefright/
DSineSource.cpp31 mGroup->add_buffer(new MediaBuffer(kBufferSize)); in start()
61 MediaBuffer **out, const ReadOptions * /* options */) { in read()
64 MediaBuffer *buffer; in read()
Drecord.cpp50 mGroup.add_buffer(new MediaBuffer(mSize));
78 MediaBuffer **buffer, const MediaSource::ReadOptions *options) {
243 MediaBuffer *buffer;
274 MediaBuffer *buffer;
335 MediaBuffer *buffer; in main()
/frameworks/av/media/libstagefright/timedtext/
DTimedText3GPPSource.h27 class MediaBuffer; variable
50 int64_t timeUs, const MediaBuffer *textBuffer, Parcel *parcel);
/frameworks/av/media/libstagefright/wifi-display/source/
DRepeaterSource.h23 MediaBuffer **buffer, const ReadOptions *options);
53 MediaBuffer *mBuffer;
/frameworks/av/media/libstagefright/include/
DAACEncoder.h38 MediaBuffer **buffer, const ReadOptions *options);
49 MediaBuffer *mInputBuffer;

1234