Home
last modified time | relevance | path

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

123

/frameworks/av/media/libmedia/
DMediaCodecBuffer.cpp27 MediaCodecBuffer::MediaCodecBuffer(const sp<AMessage> &format, const sp<ABuffer> &buffer) in MediaCodecBuffer() function in android::MediaCodecBuffer
34 uint8_t *MediaCodecBuffer::base() { in base()
38 uint8_t *MediaCodecBuffer::data() { in data()
42 size_t MediaCodecBuffer::capacity() const { in capacity()
46 size_t MediaCodecBuffer::size() const { in size()
50 size_t MediaCodecBuffer::offset() const { in offset()
54 status_t MediaCodecBuffer::setRange(size_t offset, size_t size) { in setRange()
59 sp<AMessage> MediaCodecBuffer::meta() { in meta()
63 sp<AMessage> MediaCodecBuffer::format() { in format()
67 void MediaCodecBuffer::setFormat(const sp<AMessage> &format) { in setFormat()
/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.h43 sp<MediaCodecBuffer> mBuffer;
49 const sp<MediaCodecBuffer> &buffer,
56 const sp<MediaCodecBuffer> mClientBuffer;
58 const sp<MediaCodecBuffer> mCodecBuffer;
70 virtual status_t queueInputBuffer(const sp<MediaCodecBuffer> &buffer) override;
72 const sp<MediaCodecBuffer> &buffer,
82 const sp<MediaCodecBuffer> &buffer, int64_t timestampNs) override;
83 virtual status_t discardBuffer(const sp<MediaCodecBuffer> &buffer) override;
84 virtual void getInputBufferArray(Vector<sp<MediaCodecBuffer>> *array) override;
85 virtual void getOutputBufferArray(Vector<sp<MediaCodecBuffer>> *array) override;
DFrameDecoder.h32 class MediaCodecBuffer; variable
69 const sp<MediaCodecBuffer> &codecBuffer,
75 const sp<MediaCodecBuffer> &videoFrameBuffer,
125 const sp<MediaCodecBuffer> &codecBuffer,
131 const sp<MediaCodecBuffer> &videoFrameBuffer,
160 const sp<MediaCodecBuffer> &codecBuffer __unused, in onInputReceived()
166 const sp<MediaCodecBuffer> &videoFrameBuffer,
/frameworks/av/media/codec2/sfplugin/
DCCodecBuffers.h67 virtual void getArray(Vector<sp<MediaCodecBuffer>> *) const {} in getArray() argument
105 virtual bool requestNewBuffer(size_t *index, sp<MediaCodecBuffer> *buffer) = 0;
113 const sp<MediaCodecBuffer> &buffer,
144 sp<Codec2Buffer> cloneAndReleaseBuffer(const sp<MediaCodecBuffer> &buffer);
170 sp<MediaCodecBuffer> *clientBuffer) = 0;
179 sp<MediaCodecBuffer> * /* clientBuffer */) = 0;
187 const sp<MediaCodecBuffer> &buffer, std::shared_ptr<C2Buffer> *c2buffer) = 0;
216 void submit(const sp<MediaCodecBuffer> &buffer);
335 const sp<MediaCodecBuffer> &buffer,
432 const sp<MediaCodecBuffer> &buffer,
[all …]
DCCodecBufferChannel.h59 virtual status_t queueInputBuffer(const sp<MediaCodecBuffer> &buffer) override;
61 const sp<MediaCodecBuffer> &buffer,
71 const sp<MediaCodecBuffer> &buffer, int64_t timestampNs) override;
72 virtual status_t discardBuffer(const sp<MediaCodecBuffer> &buffer) override;
73 virtual void getInputBufferArray(Vector<sp<MediaCodecBuffer>> *array) override;
74 virtual void getOutputBufferArray(Vector<sp<MediaCodecBuffer>> *array) override;
211 status_t queueInputBufferInternal(sp<MediaCodecBuffer> buffer);
DCCodecBuffers.cpp103 sp<Codec2Buffer> InputBuffers::cloneAndReleaseBuffer(const sp<MediaCodecBuffer> &buffer) { in cloneAndReleaseBuffer()
145 void OutputBuffers::submit(const sp<MediaCodecBuffer> &buffer) { in submit()
235 const sp<MediaCodecBuffer> &buffer, in releaseSlot()
348 const sp<MediaCodecBuffer> &buffer, in returnBuffer()
405 void BuffersArrayImpl::getArray(Vector<sp<MediaCodecBuffer>> *array) const { in getArray()
456 void InputBuffersArray::getArray(Vector<sp<MediaCodecBuffer>> *array) const { in getArray()
460 bool InputBuffersArray::requestNewBuffer(size_t *index, sp<MediaCodecBuffer> *buffer) { in requestNewBuffer()
473 const sp<MediaCodecBuffer> &buffer, in releaseBuffer()
498 bool LinearInputBuffers::requestNewBuffer(size_t *index, sp<MediaCodecBuffer> *buffer) { in requestNewBuffer()
509 const sp<MediaCodecBuffer> &buffer, in releaseBuffer()
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DCodecBase.h40 class MediaCodecBuffer; variable
184 size_t index, const sp<MediaCodecBuffer> &buffer) = 0;
194 size_t index, const sp<MediaCodecBuffer> &buffer) = 0;
269 virtual status_t queueInputBuffer(const sp<MediaCodecBuffer> &buffer) = 0;
280 const sp<MediaCodecBuffer> &buffer,
297 const sp<MediaCodecBuffer> &buffer, int64_t timestampNs) = 0;
307 virtual status_t discardBuffer(const sp<MediaCodecBuffer> &buffer) = 0;
311 virtual void getInputBufferArray(Vector<sp<MediaCodecBuffer>> *array) = 0;
315 virtual void getOutputBufferArray(Vector<sp<MediaCodecBuffer>> *array) = 0;
DMediaCodec.h44 class MediaCodecBuffer; variable
172 status_t getInputBuffers(Vector<sp<MediaCodecBuffer> > *buffers) const;
173 status_t getOutputBuffers(Vector<sp<MediaCodecBuffer> > *buffers) const;
175 status_t getOutputBuffer(size_t index, sp<MediaCodecBuffer> *buffer);
177 status_t getInputBuffer(size_t index, sp<MediaCodecBuffer> *buffer);
283 sp<MediaCodecBuffer> mData;
407 sp<MediaCodecBuffer> *buffer, sp<AMessage> *format);
433 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;
61 MediaCodecBuffer() = delete;
/frameworks/av/media/libstagefright/
DBufferImpl.cpp35 : MediaCodecBuffer(format, new ABuffer(mem->pointer(), mem->size())), in SharedMemoryBuffer()
40 : MediaCodecBuffer(format, new ABuffer(mem->getPointer(), mem->getSize())), in SharedMemoryBuffer()
47 : MediaCodecBuffer(format, new ABuffer(nullptr, size)), in SecureBuffer()
53 : 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.cpp55 const sp<MediaCodecBuffer> &buffer) { in findClientBuffer()
70 const sp<MediaCodecBuffer> &buffer, in BufferInfo()
89 status_t ACodecBufferChannel::queueInputBuffer(const sp<MediaCodecBuffer> &buffer) { in queueInputBuffer()
108 const sp<MediaCodecBuffer> &buffer, bool secure, const uint8_t *key, in queueSecureInputBuffer()
251 const sp<MediaCodecBuffer> &buffer, int64_t timestampNs) { in renderOutputBuffer()
269 status_t ACodecBufferChannel::discardBuffer(const sp<MediaCodecBuffer> &buffer) { in discardBuffer()
291 void ACodecBufferChannel::getInputBufferArray(Vector<sp<MediaCodecBuffer>> *array) { in getInputBufferArray()
300 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);
DRSFilter.h38 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer);
DSaturationFilter.h36 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer);
DIntrinsicBlurFilter.h34 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer);
DZeroFilter.cpp41 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer) { in processBuffers()
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/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.h26 class MediaCodecBuffer; variable
83 Vector<sp<MediaCodecBuffer> > mInputBuffers;
84 Vector<sp<MediaCodecBuffer> > mOutputBuffers;
DNuPlayerRenderer.h30 class MediaCodecBuffer; variable
50 const sp<MediaCodecBuffer> &buffer,
141 sp<MediaCodecBuffer> mBuffer;

123