/frameworks/av/media/libstagefright/foundation/ |
D | MediaBuffer.cpp | 32 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 …]
|
D | MediaBufferGroup.cpp | 37 (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()
|
D | MediaBufferBase.cpp | 27 return new (std::nothrow) MediaBuffer(size); in Create()
|
D | Android.bp | 67 "MediaBuffer.cpp",
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaBuffer.h | 34 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 &);
|
D | MPEG4Writer.h | 32 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);
|
D | MediaAdapter.h | 57 status_t pushBuffer(MediaBuffer *buffer); 66 MediaBuffer *mCurrentMediaBuffer;
|
D | AudioSource.h | 117 List<MediaBuffer * > mBuffersReceived; 127 void queueInputBuffer_l(MediaBuffer *buffer, int64_t timeUs);
|
D | MediaSource.h | 32 class MediaBuffer; variable
|
D | SkipCutBuffer.h | 41 void submit(MediaBuffer *buffer);
|
D | MediaMuxer.h | 32 class MediaBuffer; variable
|
D | SimpleDecodingSource.h | 33 class MediaBuffer; variable
|
/frameworks/av/media/libmedia/ |
D | IMediaSource.cpp | 52 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/ |
D | AudioSource.cpp | 161 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()
|
D | MediaAdapter.cpp | 48 MediaBuffer *currentBuffer = NULL; in stop() 111 status_t MediaAdapter::pushBuffer(MediaBuffer *buffer) { in pushBuffer()
|
D | MediaMuxer.cpp | 192 MediaBuffer* mediaBuffer = new MediaBuffer(buffer); in writeSampleData()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | VideoSource.h | 36 mGroup.add_buffer(new MediaBuffer(mSize)); in VideoSource() 58 MediaBuffer **buffer, const MediaSource::ReadOptions *options) { in read()
|
D | ARTPWriter.h | 35 class MediaBuffer; variable
|
/frameworks/av/cmds/stagefright/ |
D | record.cpp | 54 mGroup.add_buffer(new MediaBuffer(mSize)); 82 MediaBuffer **buffer, const MediaSource::ReadOptions *options) { 240 MediaBuffer *buffer; 270 MediaBuffer *buffer;
|
D | SineSource.cpp | 32 mGroup->add_buffer(new MediaBuffer(kBufferSize)); in start()
|
/frameworks/av/media/libstagefright/tests/writer/ |
D | WriterUtility.cpp | 52 MediaBuffer *mediaBuffer = new MediaBuffer(buffer); in sendBuffersToWriter()
|
/frameworks/av/media/libmedia/include/media/ |
D | IMediaSource.h | 157 if (MediaBuffer::isDeadObject(p->second.first)) { in lookup() 193 if (MediaBuffer::isDeadObject(it->second.first)) { in gc()
|
/frameworks/av/include/media/ |
D | MediaSource.h | 32 class MediaBuffer; variable
|
/frameworks/av/media/codec2/sfplugin/ |
D | SkipCutBuffer.h | 41 void submit(MediaBuffer *buffer);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDecoderBase.h | 29 class MediaBuffer; variable
|