Home
last modified time | relevance | path

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

12345

/frameworks/av/media/libstagefright/
DMediaBuffer.cpp34 MediaBuffer::MediaBuffer(void *data, size_t size) in MediaBuffer() function in android::MediaBuffer
47 MediaBuffer::MediaBuffer(size_t size) in MediaBuffer() function in android::MediaBuffer
60 MediaBuffer::MediaBuffer(const sp<GraphicBuffer>& graphicBuffer) in MediaBuffer() function in android::MediaBuffer
74 MediaBuffer::MediaBuffer(const sp<ABuffer> &buffer) in MediaBuffer() function in android::MediaBuffer
88 void MediaBuffer::release() { in release()
107 void MediaBuffer::claim() { in claim()
114 void MediaBuffer::add_ref() { in add_ref()
118 void *MediaBuffer::data() const { in data()
123 size_t MediaBuffer::size() const { in size()
128 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()
58 status_t MediaBufferGroup::acquire_buffer(MediaBuffer **out) { in acquire_buffer()
62 for (MediaBuffer *buffer = mFirstBuffer; in acquire_buffer()
81 void MediaBufferGroup::signalBufferReturned(MediaBuffer *) { in signalBufferReturned() argument
DAudioSource.cpp130 List<MediaBuffer *>::iterator it; in releaseQueuedFrames_l()
211 MediaBuffer **out, const ReadOptions *options) { in read()
225 MediaBuffer *buffer = *mBuffersReceived.begin(); in read()
259 void AudioSource::signalBufferReturned(MediaBuffer *buffer) { in signalBufferReturned()
322 MediaBuffer *lostAudioBuffer = new MediaBuffer(bufferSize); in dataCallback()
334 MediaBuffer *buffer = new MediaBuffer(bufferSize); in dataCallback()
342 void AudioSource::queueInputBuffer_l(MediaBuffer *buffer, int64_t timeUs) { in queueInputBuffer_l()
DCameraSourceTimeLapse.cpp166 void CameraSourceTimeLapse::signalBufferReturned(MediaBuffer* buffer) { in signalBufferReturned()
178 const MediaBuffer& sourceBuffer, in createMediaBufferCopy()
180 MediaBuffer **newBuffer) { in createMediaBufferCopy()
186 (*newBuffer) = new MediaBuffer(sourceSize); in createMediaBufferCopy()
192 void CameraSourceTimeLapse::fillLastReadBufferCopy(MediaBuffer& sourceBuffer) { in fillLastReadBufferCopy()
202 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()
/frameworks/av/include/media/stagefright/
DMediaBuffer.h30 class MediaBuffer; variable
39 virtual void signalBufferReturned(MediaBuffer *buffer) = 0;
46 class MediaBuffer {
49 MediaBuffer(void *data, size_t size);
51 MediaBuffer(size_t size);
53 MediaBuffer(const sp<GraphicBuffer>& graphicBuffer);
55 MediaBuffer(const sp<ABuffer> &buffer);
84 MediaBuffer *clone();
89 virtual ~MediaBuffer();
100 MediaBuffer *mNextBuffer;
[all …]
DMediaBufferGroup.h27 class MediaBuffer; variable
35 void add_buffer(MediaBuffer *buffer);
39 status_t acquire_buffer(MediaBuffer **buffer);
42 virtual void signalBufferReturned(MediaBuffer *buffer);
45 friend class MediaBuffer;
50 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;
108 virtual status_t setBuffers(const Vector<MediaBuffer *> &buffers) { in setBuffers()
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);
182 Vector<MediaBuffer *> mPendingBuffers;
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
DMediaBufferPuller.h27 struct MediaBuffer;
48 MediaBuffer* getBufferBlocking();
53 MediaBuffer* getBufferNonBlocking();
56 void putBuffer(MediaBuffer* buffer);
69 Vector<MediaBuffer*> mBuffers;
70 Vector<MediaBuffer*> mReleaseBuffers;
DMediaBufferPuller.cpp78 MediaBuffer* MediaBufferPuller::getBufferNonBlocking() { in getBufferNonBlocking()
83 MediaBuffer* b = mBuffers.itemAt(0); in getBufferNonBlocking()
89 MediaBuffer* MediaBufferPuller::getBufferBlocking() { in getBufferBlocking()
98 MediaBuffer* b = mBuffers.itemAt(0); in getBufferBlocking()
104 void MediaBufferPuller::putBuffer(MediaBuffer* buffer) { in putBuffer()
132 MediaBuffer* pBuffer; in acquireThreadFunc()
167 MediaBuffer* pBuffer = mReleaseBuffers.itemAt(0); in releaseThreadFunc()
DVideoEditorAudioDecoder.cpp60 virtual status_t read(MediaBuffer **buffer,
62 virtual void storeBuffer(MediaBuffer *buffer);
76 Vector<MediaBuffer*> mBuffers;
182 static MediaBuffer* readBufferFromReader( in readBufferFromReader()
200 MediaBuffer* newBuffer = new MediaBuffer((size_t)pAccessUnit->m_size); in readBufferFromReader()
207 status_t VideoEditorAudioDecoderSource::read(MediaBuffer **buffer, in read()
222 MediaBuffer* newBuffer = readBufferFromReader(pDecContext); in read()
236 void VideoEditorAudioDecoderSource::storeBuffer(MediaBuffer *buffer) { in storeBuffer()
245 MediaBuffer* newBuffer = readBufferFromReader(pDecContext); in storeBuffer()
623 MediaBuffer* buffer = NULL; in VideoEditorAudioDecoder_processInputBuffer()
[all …]
/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/libvideoeditor/lvpp/
DNativeWindowRenderer.h76 void queueInternalBuffer(ANativeWindow* anw, MediaBuffer* buffer);
77 void queueExternalBuffer(ANativeWindow* anw, MediaBuffer* buffer,
79 void copyI420Buffer(MediaBuffer* src, uint8_t* dst,
160 void render(MediaBuffer *buffer, uint32_t videoEffect,
175 MediaBuffer* mBuffer;
DVideoEditorSRC.h25 struct MediaBuffer;
36 MediaBuffer **buffer, const ReadOptions *options = NULL);
66 MediaBuffer* mBuffer;
DDummyVideoSource.cpp119 MediaBuffer **out, in read()
142 MediaBuffer *buffer = new MediaBuffer( in read()
/frameworks/av/media/libstagefright/codecs/avc/enc/
DSoftAVCEncoder.h29 struct MediaBuffer;
54 virtual void signalBufferReturned(MediaBuffer *buffer);
103 Vector<MediaBuffer *> mOutputBuffers;
/frameworks/base/media/tests/omxjpegdecoder/
DSkOmxPixelRef.h29 SkOmxPixelRef(SkColorTable* ctable, MediaBuffer* buffer,
43 MediaBuffer* mBuffer;
/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()
/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;

12345