Home
last modified time | relevance | path

Searched refs:Codec2Buffer (Results 1 – 4 of 4) sorted by relevance

/hardware/google/av/media/sfplugin/
DCodec2Buffer.h53 class Codec2Buffer : public MediaCodecBuffer {
56 ~Codec2Buffer() override = default;
109 class LocalLinearBuffer : public Codec2Buffer {
111 using Codec2Buffer::Codec2Buffer;
122 class DummyContainerBuffer : public Codec2Buffer {
139 class LinearBlockBuffer : public Codec2Buffer {
172 class ConstLinearBlockBuffer : public Codec2Buffer {
206 class GraphicBlockBuffer : public Codec2Buffer {
249 class GraphicMetadataBuffer : public Codec2Buffer {
276 class ConstGraphicBlockBuffer : public Codec2Buffer {
[all …]
DCCodecBufferChannel.cpp441 size_t assignSlot(const sp<Codec2Buffer> &buffer) { in assignSlot()
468 sp<Codec2Buffer> clientBuffer; in releaseSlot()
522 sp<Codec2Buffer> clientBuffer;
549 std::function<sp<Codec2Buffer>()> allocate) { in initialize()
553 sp<Codec2Buffer> clientBuffer = impl.mBuffers[i].clientBuffer; in initialize()
580 sp<Codec2Buffer> *buffer, in grabBuffer()
581 std::function<bool(const sp<Codec2Buffer> &)> match = in grabBuffer()
582 [](const sp<Codec2Buffer> &) { return true; }) { in grabBuffer() argument
618 sp<Codec2Buffer> clientBuffer; in returnBuffer()
692 void realloc(std::function<sp<Codec2Buffer>()> alloc) { in realloc()
[all …]
DCodec2Buffer.cpp39 bool Codec2Buffer::canCopyLinear(const std::shared_ptr<C2Buffer> &buffer) const { in canCopyLinear()
40 if (const_cast<Codec2Buffer *>(this)->base() == nullptr) { in canCopyLinear()
64 bool Codec2Buffer::copyLinear(const std::shared_ptr<C2Buffer> &buffer) { in copyLinear()
86 void Codec2Buffer::setImageData(const sp<ABuffer> &imageData) { in setImageData()
116 : Codec2Buffer(format, new ABuffer(sDummyByte, 1)), in DummyContainerBuffer()
163 : Codec2Buffer(format, new ABuffer(writeView.data(), writeView.size())), in LinearBlockBuffer()
189 : Codec2Buffer(format, new ABuffer( in ConstLinearBlockBuffer()
543 : Codec2Buffer(format, buffer), in GraphicBlockBuffer()
565 : Codec2Buffer(format, new ABuffer(sizeof(VideoNativeMetadata))), in GraphicMetadataBuffer()
679 : Codec2Buffer(format, aBuffer), in ConstGraphicBlockBuffer()
[all …]
DAndroid.bp9 "Codec2Buffer.cpp",