Home
last modified time | relevance | path

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

12

/frameworks/av/media/libstagefright/foundation/
DMediaBuffer.cpp32 std::atomic_int_least32_t MediaBuffer::mUseSharedMemory(0);
34 MediaBuffer::MediaBuffer(void *data, size_t size) in MediaBuffer() function in android::MediaBuffer
45 MediaBuffer::MediaBuffer(size_t size) in MediaBuffer() function in android::MediaBuffer
82 MediaBuffer::MediaBuffer(const sp<ABuffer> &buffer) in MediaBuffer() function in android::MediaBuffer
94 void MediaBuffer::release() { in release()
114 void MediaBuffer::claim() { in claim()
121 void MediaBuffer::add_ref() { in add_ref()
125 void *MediaBuffer::data() const { in data()
129 size_t MediaBuffer::size() const { in size()
133 size_t MediaBuffer::range_offset() const { in range_offset()
[all …]
DMediaBufferGroup.cpp37 (size_t)MediaBuffer::kSharedMemThreshold, (size_t)(4 * 1024));
72 size_t augmented_size = buffer_size + sizeof(MediaBuffer::SharedControl); in init()
82 MediaBuffer *buffer = new MediaBuffer(mem); in init()
94 MediaBuffer *buffer = new MediaBuffer(buffer_size); in init()
195 buffer = new MediaBuffer(allocateSize); in acquire_buffer()
DMediaBufferBase.cpp27 return new (std::nothrow) MediaBuffer(size); in Create()
DAndroid.bp67 "MediaBuffer.cpp",
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaBuffer.h34 class MediaBuffer; variable
38 class MediaBuffer : public MediaBufferBase {
44 MediaBuffer(void *data, size_t size);
46 explicit MediaBuffer(size_t size);
48 explicit MediaBuffer(const sp<ABuffer> &buffer);
50 MediaBuffer(const sp<IMemory> &mem) : in MediaBuffer() function
51 MediaBuffer((uint8_t *)mem->pointer() + sizeof(SharedControl), mem->size()) { in MediaBuffer()
146 virtual ~MediaBuffer();
173 MediaBuffer(const MediaBuffer &);
174 MediaBuffer &operator=(const MediaBuffer &);
DMPEG4Writer.h32 class MediaBuffer; variable
139 List<MediaBuffer *> mSamples; // Sample data
144 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples)
257 MediaBuffer *buffer, bool usePrefix,
259 void addLengthPrefixedSample_l(MediaBuffer *buffer);
260 void addMultipleLengthPrefixedSamples_l(MediaBuffer *buffer);
DMediaAdapter.h57 status_t pushBuffer(MediaBuffer *buffer);
66 MediaBuffer *mCurrentMediaBuffer;
DAudioSource.h117 List<MediaBuffer * > mBuffersReceived;
127 void queueInputBuffer_l(MediaBuffer *buffer, int64_t timeUs);
DMediaSource.h32 class MediaBuffer; variable
DSkipCutBuffer.h41 void submit(MediaBuffer *buffer);
DMediaMuxer.h32 class MediaBuffer; variable
DSimpleDecodingSource.h33 class MediaBuffer; variable
/frameworks/av/media/libmedia/
DIMediaSource.cpp52 class RemoteMediaBufferWrapper : public MediaBuffer {
55 : MediaBuffer(mem) { in RemoteMediaBufferWrapper()
152 MediaBuffer *buf; in readMultiple()
179 buf = new MediaBuffer(len); in readMultiple()
256 if (MediaBuffer::isDeadObject(it->second)) { in gc()
349 MediaBuffer *buf = nullptr; in onTransact()
362 MediaBuffer *transferBuf = nullptr; in onTransact()
/frameworks/av/media/libstagefright/
DAudioSource.cpp161 List<MediaBuffer *>::iterator it; in releaseQueuedFrames_l()
264 MediaBuffer *buffer = *mBuffersReceived.begin(); in read()
411 MediaBuffer *lostAudioBuffer = new MediaBuffer(bufferSize); in dataCallback()
423 MediaBuffer *buffer = new MediaBuffer(bufferSize); in dataCallback()
431 void AudioSource::queueInputBuffer_l(MediaBuffer *buffer, int64_t timeUs) { in queueInputBuffer_l()
DMediaAdapter.cpp48 MediaBuffer *currentBuffer = NULL; in stop()
111 status_t MediaAdapter::pushBuffer(MediaBuffer *buffer) { in pushBuffer()
DMediaMuxer.cpp192 MediaBuffer* mediaBuffer = new MediaBuffer(buffer); in writeSampleData()
/frameworks/av/media/libstagefright/rtsp/
DVideoSource.h36 mGroup.add_buffer(new MediaBuffer(mSize)); in VideoSource()
58 MediaBuffer **buffer, const MediaSource::ReadOptions *options) { in read()
DARTPWriter.h35 class MediaBuffer; variable
/frameworks/av/cmds/stagefright/
Drecord.cpp54 mGroup.add_buffer(new MediaBuffer(mSize));
82 MediaBuffer **buffer, const MediaSource::ReadOptions *options) {
240 MediaBuffer *buffer;
270 MediaBuffer *buffer;
DSineSource.cpp32 mGroup->add_buffer(new MediaBuffer(kBufferSize)); in start()
/frameworks/av/media/libstagefright/tests/writer/
DWriterUtility.cpp52 MediaBuffer *mediaBuffer = new MediaBuffer(buffer); in sendBuffersToWriter()
/frameworks/av/media/libmedia/include/media/
DIMediaSource.h157 if (MediaBuffer::isDeadObject(p->second.first)) { in lookup()
193 if (MediaBuffer::isDeadObject(it->second.first)) { in gc()
/frameworks/av/include/media/
DMediaSource.h32 class MediaBuffer; variable
/frameworks/av/media/codec2/sfplugin/
DSkipCutBuffer.h41 void submit(MediaBuffer *buffer);
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoderBase.h29 class MediaBuffer; variable

12