Home
last modified time | relevance | path

Searched refs:MediaCodecBuffer (Results 1 – 25 of 52) sorted by relevance

123

/frameworks/av/media/libmedia/
DMediaCodecBuffer.cpp28 MediaCodecBuffer::MediaCodecBuffer(const sp<AMessage> &format, const sp<ABuffer> &buffer) in MediaCodecBuffer() function in android::MediaCodecBuffer
36 uint8_t *MediaCodecBuffer::base() { in base()
40 uint8_t *MediaCodecBuffer::data() { in data()
44 size_t MediaCodecBuffer::capacity() const { in capacity()
48 size_t MediaCodecBuffer::size() const { in size()
52 size_t MediaCodecBuffer::offset() const { in offset()
56 status_t MediaCodecBuffer::setRange(size_t offset, size_t size) { in setRange()
61 MediaBufferBase *MediaCodecBuffer::getMediaBufferBase() { in getMediaBufferBase()
68 void MediaCodecBuffer::setMediaBufferBase(MediaBufferBase *mediaBuffer) { in setMediaBufferBase()
75 sp<AMessage> MediaCodecBuffer::meta() { in meta()
[all …]
/frameworks/av/media/libstagefright/include/
DDataConverter.h27 class MediaCodecBuffer; variable
34 status_t convert(const sp<MediaCodecBuffer> &source, sp<MediaCodecBuffer> &target);
38 virtual status_t safeConvert(const sp<MediaCodecBuffer> &source, sp<MediaCodecBuffer> &target);
48 …virtual status_t safeConvert(const sp<MediaCodecBuffer> &source, sp<MediaCodecBuffer> &target) = 0;
64 virtual status_t safeConvert(const sp<MediaCodecBuffer> &source, sp<MediaCodecBuffer> &target);
DACodecBufferChannel.h39 sp<MediaCodecBuffer> mBuffer;
45 const sp<MediaCodecBuffer> &buffer,
52 const sp<MediaCodecBuffer> mClientBuffer;
54 const sp<MediaCodecBuffer> mCodecBuffer;
66 virtual status_t queueInputBuffer(const sp<MediaCodecBuffer> &buffer) override;
68 const sp<MediaCodecBuffer> &buffer,
78 const sp<MediaCodecBuffer> &buffer, int64_t timestampNs) override;
79 virtual status_t discardBuffer(const sp<MediaCodecBuffer> &buffer) override;
80 virtual void getInputBufferArray(Vector<sp<MediaCodecBuffer>> *array) override;
81 virtual void getOutputBufferArray(Vector<sp<MediaCodecBuffer>> *array) override;
DCodecBase.h44 class MediaCodecBuffer; variable
180 size_t index, const sp<MediaCodecBuffer> &buffer) = 0;
190 size_t index, const sp<MediaCodecBuffer> &buffer) = 0;
274 virtual status_t queueInputBuffer(const sp<MediaCodecBuffer> &buffer) = 0;
285 const sp<MediaCodecBuffer> &buffer,
302 const sp<MediaCodecBuffer> &buffer, int64_t timestampNs) = 0;
312 virtual status_t discardBuffer(const sp<MediaCodecBuffer> &buffer) = 0;
316 virtual void getInputBufferArray(Vector<sp<MediaCodecBuffer>> *array) = 0;
320 virtual void getOutputBufferArray(Vector<sp<MediaCodecBuffer>> *array) = 0;
DMediaCodec.h43 class MediaCodecBuffer; variable
171 status_t getInputBuffers(Vector<sp<MediaCodecBuffer> > *buffers) const;
172 status_t getOutputBuffers(Vector<sp<MediaCodecBuffer> > *buffers) const;
174 status_t getOutputBuffer(size_t index, sp<MediaCodecBuffer> *buffer);
176 status_t getInputBuffer(size_t index, sp<MediaCodecBuffer> *buffer);
277 sp<MediaCodecBuffer> mData;
391 sp<MediaCodecBuffer> *buffer, sp<AMessage> *format);
417 status_t amendOutputFormatWithCodecSpecificData(const sp<MediaCodecBuffer> &buffer);
/frameworks/av/media/libmedia/include/media/
DMediaCodecBuffer.h34 class MediaCodecBuffer : public RefBase {
36 MediaCodecBuffer(const sp<AMessage> &format, const sp<ABuffer> &buffer);
43 virtual ~MediaCodecBuffer() = default;
64 MediaCodecBuffer() = delete;
DOMXBuffer.h50 class MediaCodecBuffer; variable
69 OMXBuffer(const sp<MediaCodecBuffer> &codecBuffer);
/frameworks/av/include/media/
DMediaCodecBuffer.h34 class MediaCodecBuffer : public RefBase {
36 MediaCodecBuffer(const sp<AMessage> &format, const sp<ABuffer> &buffer);
43 virtual ~MediaCodecBuffer() = default;
64 MediaCodecBuffer() = delete;
DOMXBuffer.h50 class MediaCodecBuffer; variable
69 OMXBuffer(const sp<MediaCodecBuffer> &codecBuffer);
/frameworks/av/media/libstagefright/
DBufferImpl.cpp33 : MediaCodecBuffer(format, new ABuffer(mem->pointer(), mem->size())), in SharedMemoryBuffer()
38 : MediaCodecBuffer(format, new ABuffer(mem->getPointer(), mem->getSize())), in SharedMemoryBuffer()
43 : MediaCodecBuffer(format, new ABuffer(nullptr, size)), in SecureBuffer()
49 : MediaCodecBuffer(format, new ABuffer(nullptr, size)), in SecureBuffer()
DDataConverter.cpp30 status_t DataConverter::convert(const sp<MediaCodecBuffer> &source, sp<MediaCodecBuffer> &target) { in convert()
47 const sp<MediaCodecBuffer> &source, sp<MediaCodecBuffer> &target) { in safeConvert()
105 status_t AudioConverter::safeConvert(const sp<MediaCodecBuffer> &src, sp<MediaCodecBuffer> &tgt) { in safeConvert()
DACodecBufferChannel.cpp50 const sp<MediaCodecBuffer> &buffer) { in findClientBuffer()
65 const sp<MediaCodecBuffer> &buffer, in BufferInfo()
84 status_t ACodecBufferChannel::queueInputBuffer(const sp<MediaCodecBuffer> &buffer) { in queueInputBuffer()
103 const sp<MediaCodecBuffer> &buffer, bool secure, const uint8_t *key, in queueSecureInputBuffer()
210 const sp<MediaCodecBuffer> &buffer, int64_t timestampNs) { in renderOutputBuffer()
228 status_t ACodecBufferChannel::discardBuffer(const sp<MediaCodecBuffer> &buffer) { in discardBuffer()
250 void ACodecBufferChannel::getInputBufferArray(Vector<sp<MediaCodecBuffer>> *array) { in getInputBufferArray()
259 void ACodecBufferChannel::getOutputBufferArray(Vector<sp<MediaCodecBuffer>> *array) { in getOutputBufferArray()
/frameworks/av/media/libstagefright/filters/
DSimpleFilter.h27 class MediaCodecBuffer; variable
40 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer) = 0;
DZeroFilter.h32 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer);
DIntrinsicBlurFilter.h34 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer);
DSaturationFilter.h36 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer);
DZeroFilter.cpp41 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer) { in processBuffers()
DRSFilter.h38 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer);
DRSFilter.cpp88 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer) { in processBuffers()
DIntrinsicBlurFilter.cpp91 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer) { in processBuffers()
DSaturationFilter.cpp91 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer) { in processBuffers()
/frameworks/av/cmds/stagefright/
DSimplePlayer.h28 class MediaCodecBuffer; variable
77 Vector<sp<MediaCodecBuffer> > mBuffers[2];
105 CodecState *state, BufferInfo *info, const sp<MediaCodecBuffer> &buffer);
/frameworks/av/media/libstagefright/wifi-display/source/
DConverter.h28 class MediaCodecBuffer; variable
110 Vector<sp<MediaCodecBuffer> > mEncoderInputBuffers;
111 Vector<sp<MediaCodecBuffer> > mEncoderOutputBuffers;
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.h26 class MediaCodecBuffer; variable
83 Vector<sp<MediaCodecBuffer> > mInputBuffers;
84 Vector<sp<MediaCodecBuffer> > mOutputBuffers;
DNuPlayerRenderer.h30 class MediaCodecBuffer; variable
49 const sp<MediaCodecBuffer> &buffer,
140 sp<MediaCodecBuffer> mBuffer;

123