/frameworks/av/media/libstagefright/foundation/ |
D | MediaBuffer.cpp | 33 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 75 MediaBuffer::MediaBuffer(const sp<GraphicBuffer>& graphicBuffer) in MediaBuffer() function in android::MediaBuffer 89 MediaBuffer::MediaBuffer(const sp<ABuffer> &buffer) in MediaBuffer() function in android::MediaBuffer 103 void MediaBuffer::release() { in release() 122 void MediaBuffer::claim() { in claim() 129 void MediaBuffer::add_ref() { in add_ref() 133 void *MediaBuffer::data() const { in data() 138 size_t MediaBuffer::size() const { in size() 143 size_t MediaBuffer::range_offset() const { in range_offset() [all …]
|
D | MediaBufferGroup.cpp | 32 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, size_t requestedSize) { in acquire_buffer() 63 MediaBuffer *freeBuffer = NULL; in acquire_buffer() 64 MediaBuffer *freeBufferPrevious = NULL; in acquire_buffer() 65 MediaBuffer *buffer = NULL; in acquire_buffer() 66 MediaBuffer *bufferPrevious = NULL; in acquire_buffer() 88 MediaBuffer *newBuffer = new MediaBuffer(allocateSize); in acquire_buffer() 127 void MediaBufferGroup::signalBufferReturned(MediaBuffer *) { in signalBufferReturned() argument
|
/frameworks/av/include/media/stagefright/ |
D | MediaBuffer.h | 33 class MediaBuffer; variable 42 virtual void signalBufferReturned(MediaBuffer *buffer) = 0; 49 class MediaBuffer : public MediaBufferBase { 55 MediaBuffer(void *data, size_t size); 57 MediaBuffer(size_t size); 59 MediaBuffer(const sp<GraphicBuffer>& graphicBuffer); 61 MediaBuffer(const sp<ABuffer> &buffer); 90 MediaBuffer *clone(); 95 virtual ~MediaBuffer(); 108 MediaBuffer *mNextBuffer; [all …]
|
D | MediaBufferGroup.h | 27 class MediaBuffer; variable 35 void add_buffer(MediaBuffer *buffer); 46 MediaBuffer **buffer, bool nonBlocking = false, size_t requestedSize = 0); 49 virtual void signalBufferReturned(MediaBuffer *buffer); 52 friend class MediaBuffer; 57 MediaBuffer *mFirstBuffer, *mLastBuffer;
|
D | MediaAdapter.h | 43 MediaBuffer **buffer, const ReadOptions *options = NULL); 49 virtual void signalBufferReturned(MediaBuffer *buffer); 57 status_t pushBuffer(MediaBuffer *buffer); 66 MediaBuffer *mCurrentMediaBuffer;
|
D | SimpleDecodingSource.h | 33 class MediaBuffer; variable 64 virtual status_t read(MediaBuffer **buffer, const ReadOptions *options); 68 virtual status_t setBuffers(const Vector<MediaBuffer *> &) { return INVALID_OPERATION; } in setBuffers() argument 103 Mutexed<ProtectedState>::Locked &me, MediaBuffer **buffer, const ReadOptions *options);
|
D | AudioSource.h | 55 MediaBuffer **buffer, const ReadOptions *options = NULL); 58 virtual void signalBufferReturned(MediaBuffer *buffer); 95 List<MediaBuffer * > mBuffersReceived; 105 void queueInputBuffer_l(MediaBuffer *buffer, int64_t timeUs);
|
D | MediaSource.h | 30 class MediaBuffer; variable 59 MediaBuffer **buffer, const ReadOptions *options = NULL) = 0; 74 virtual status_t setBuffers(const Vector<MediaBuffer *> & /* buffers */) { in setBuffers()
|
D | SurfaceMediaSource.h | 83 virtual status_t read(MediaBuffer **buffer, 94 virtual void signalBufferReturned(MediaBuffer* buffer); 191 Vector<MediaBuffer *> mPendingBuffers; 240 void passMetadataBuffer_l(MediaBuffer **buffer, ANativeWindowBuffer *bufferHandle) const;
|
D | CameraSourceTimeLapse.h | 110 MediaBuffer* mLastReadBufferCopy; 131 virtual void signalBufferReturned(MediaBuffer* buffer); 134 virtual status_t read(MediaBuffer **buffer, const ReadOptions *options = NULL); 162 void fillLastReadBufferCopy(MediaBuffer& sourceBuffer);
|
D | MPEG4Writer.h | 31 class MediaBuffer; variable 120 List<MediaBuffer *> mSamples; // Sample data 125 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples) in Chunk() 188 off64_t addSample_l(MediaBuffer *buffer); 189 off64_t addLengthPrefixedSample_l(MediaBuffer *buffer);
|
D | MediaCodecSource.h | 60 MediaBuffer **buffer, 64 virtual void signalBufferReturned(MediaBuffer *buffer); 122 List<MediaBuffer *> mInputBufferQueue; 133 List<MediaBuffer*> mBufferQueue;
|
/frameworks/av/media/libmedia/ |
D | IMediaSource.cpp | 52 RemoteMediaBufferReleaser(MediaBuffer *buf, sp<BnMediaSource> owner) { in RemoteMediaBufferReleaser() 75 MediaBuffer *mBuf; 83 class RemoteMediaBufferWrapper : public MediaBuffer { 94 : MediaBuffer(mem->pointer(), mem->size()) { in RemoteMediaBufferWrapper() 153 virtual status_t read(MediaBuffer **buffer, const ReadOptions *options) { in read() 176 MediaBuffer *buf = new RemoteMediaBufferWrapper(mem, remote); in read() 186 *buffer = new MediaBuffer(len); in read() 193 virtual status_t readMultiple(Vector<MediaBuffer *> *buffers, uint32_t maxNumBuffers) { in readMultiple() 213 MediaBuffer *buf = new MediaBuffer(len); in readMultiple() 231 virtual status_t setBuffers(const Vector<MediaBuffer *> & buffers __unused) { in setBuffers() [all …]
|
/frameworks/av/include/media/ |
D | IMediaSource.h | 28 class MediaBuffer; variable 102 MediaBuffer **buffer, const ReadOptions *options = NULL) = 0; 115 Vector<MediaBuffer *> *buffers, uint32_t maxNumBuffers = 1) = 0; 127 virtual status_t setBuffers(const Vector<MediaBuffer *> & /* buffers */) = 0; 143 virtual status_t setBuffers(const Vector<MediaBuffer *> & /* buffers */) { in setBuffers() argument 148 Vector<MediaBuffer *> * /* buffers */, uint32_t /* maxNumBuffers = 1 */) { in readMultiple() argument
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTPWriter.h | 35 class MediaBuffer; variable 113 void makeH264SPropParamSets(MediaBuffer *buffer); 117 void sendAVCData(MediaBuffer *mediaBuf); 118 void sendH263Data(MediaBuffer *mediaBuf); 119 void sendAMRData(MediaBuffer *mediaBuf);
|
/frameworks/av/media/libstagefright/ |
D | OggExtractor.cpp | 57 MediaBuffer **buffer, const ReadOptions *options = NULL); 85 virtual status_t readNextPacket(MediaBuffer **buffer) = 0; 144 virtual status_t verifyHeader(MediaBuffer *buffer, uint8_t type) = 0; 152 status_t _readNextPacket(MediaBuffer **buffer, bool calcVorbisTimestamp); 154 int32_t getPacketBlockSize(MediaBuffer *buffer); 176 virtual status_t readNextPacket(MediaBuffer **buffer) { in readNextPacket() 188 virtual status_t verifyHeader(MediaBuffer *buffer, uint8_t type); 206 virtual status_t readNextPacket(MediaBuffer **buffer); 210 virtual status_t verifyHeader(MediaBuffer *buffer, uint8_t type); 213 status_t verifyOpusHeader(MediaBuffer *buffer); [all …]
|
D | AudioSource.cpp | 151 List<MediaBuffer *>::iterator it; in releaseQueuedFrames_l() 235 MediaBuffer **out, const ReadOptions * /* options */) { in read() 249 MediaBuffer *buffer = *mBuffersReceived.begin(); in read() 292 void AudioSource::signalBufferReturned(MediaBuffer *buffer) { in signalBufferReturned() 359 MediaBuffer *lostAudioBuffer = new MediaBuffer(bufferSize); in dataCallback() 371 MediaBuffer *buffer = new MediaBuffer(bufferSize); in dataCallback() 379 void AudioSource::queueInputBuffer_l(MediaBuffer *buffer, int64_t timeUs) { in queueInputBuffer_l()
|
D | MidiExtractor.cpp | 48 MediaBuffer **buffer, const ReadOptions *options = NULL); 117 MediaBuffer **outBuffer, const ReadOptions *options) in read() 120 MediaBuffer *buffer; in read() 210 mGroup->add_buffer(new MediaBuffer(bufsize)); in allocateBuffers() 226 MediaBuffer* MidiEngine::readBuffer() { in readBuffer() 232 MediaBuffer *buffer; in readBuffer()
|
D | CameraSourceTimeLapse.cpp | 171 void CameraSourceTimeLapse::signalBufferReturned(MediaBuffer* buffer) { in signalBufferReturned() 183 const MediaBuffer& sourceBuffer, in createMediaBufferCopy() 185 MediaBuffer **newBuffer) { in createMediaBufferCopy() 191 (*newBuffer) = new MediaBuffer(sourceSize); in createMediaBufferCopy() 197 void CameraSourceTimeLapse::fillLastReadBufferCopy(MediaBuffer& sourceBuffer) { in fillLastReadBufferCopy() 207 MediaBuffer **buffer, const ReadOptions *options) { in read()
|
D | MediaCodecSource.cpp | 59 bool readBuffer(MediaBuffer **buffer); 85 Vector<MediaBuffer *> mReadBuffers; 90 bool readBuffer(MediaBuffer **buffer); 92 void pushBuffer(MediaBuffer *mbuf); 122 void MediaCodecSource::Puller::Queue::pushBuffer(MediaBuffer *mbuf) { in pushBuffer() 126 bool MediaCodecSource::Puller::Queue::readBuffer(MediaBuffer **mbuf) { in readBuffer() 137 MediaBuffer *mbuf; in flush() 144 bool MediaCodecSource::Puller::readBuffer(MediaBuffer **mbuf) { in readBuffer() 277 MediaBuffer *mbuf = NULL; in onMessageReceived() 372 MediaBuffer** buffer, const ReadOptions* /* options */) { in read() [all …]
|
D | MediaAdapter.cpp | 68 void MediaAdapter::signalBufferReturned(MediaBuffer *buffer) { in signalBufferReturned() 78 MediaBuffer **buffer, const ReadOptions * /* options */) { in read() 105 status_t MediaAdapter::pushBuffer(MediaBuffer *buffer) { in pushBuffer()
|
D | FLACExtractor.cpp | 51 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); 638 mGroup->add_buffer(new MediaBuffer(mMaxBufferSize)); in allocateBuffers() 648 MediaBuffer *FLACParser::readBuffer(bool doSeek, FLAC__uint64 sample) in readBuffer() 685 MediaBuffer *buffer; in readBuffer() 756 MediaBuffer **outBuffer, const ReadOptions *options) in read() 758 MediaBuffer *buffer; in read()
|
/frameworks/av/cmds/stagefright/ |
D | SineSource.cpp | 31 mGroup->add_buffer(new MediaBuffer(kBufferSize)); in start() 62 MediaBuffer **out, const ReadOptions * /* options */) { in read() 65 MediaBuffer *buffer; in read()
|
D | record.cpp | 52 mGroup.add_buffer(new MediaBuffer(mSize)); 80 MediaBuffer **buffer, const MediaSource::ReadOptions *options) { 240 MediaBuffer *buffer; 270 MediaBuffer *buffer; 332 MediaBuffer *buffer; in main()
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
D | RepeaterSource.h | 23 MediaBuffer **buffer, const ReadOptions *options); 53 MediaBuffer *mBuffer;
|