• Home
  • Raw
  • Download

Lines Matching refs:Codec2Buffer

441     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()
705 const sp<Codec2Buffer> clientBuffer;
721 std::function<sp<Codec2Buffer>()> allocate) { in initialize()
737 sp<Codec2Buffer> c2Buffer; in requestNewBuffer()
782 sp<Codec2Buffer> newBuffer = alloc((size_t)capacity); in requestNewBuffer()
826 [this, capacity] () -> sp<Codec2Buffer> { return alloc(capacity); }); in toArrayMode()
830 virtual sp<Codec2Buffer> alloc(size_t size) { in alloc()
878 sp<Codec2Buffer> alloc(size_t size) override { in alloc()
967 [format = mFormat, alloc]() -> sp<Codec2Buffer> { in toArrayMode()
1026 [pool = mPool, format = mFormat, lbp = mLocalBufferPool]() -> sp<Codec2Buffer> { in toArrayMode()
1081 std::function<sp<Codec2Buffer>()> allocate) { in initialize()
1096 sp<Codec2Buffer> c2Buffer; in registerBuffer()
1100 [buffer](const sp<Codec2Buffer> &clientBuffer) { in registerBuffer()
1125 sp<Codec2Buffer> c2Buffer; in registerCsd()
1129 [csd](const sp<Codec2Buffer> &clientBuffer) { in registerCsd()
1161 std::function<sp<Codec2Buffer>()> alloc; in realloc()
1204 sp<Codec2Buffer> newBuffer = wrap(buffer); in registerBuffer()
1216 sp<Codec2Buffer> newBuffer = new LocalLinearBuffer( in registerCsd()
1255 virtual sp<Codec2Buffer> wrap(const std::shared_ptr<C2Buffer> &buffer) = 0;
1263 virtual sp<Codec2Buffer> allocateArrayBuffer() = 0;
1282 sp<Codec2Buffer> wrap(const std::shared_ptr<C2Buffer> &buffer) override { in wrap()
1297 sp<Codec2Buffer> clientBuffer = ConstLinearBlockBuffer::Allocate(mFormat, buffer); in wrap()
1302 sp<Codec2Buffer> allocateArrayBuffer() override { in allocateArrayBuffer()
1313 sp<Codec2Buffer> wrap(const std::shared_ptr<C2Buffer> &buffer) override { in wrap()
1317 sp<Codec2Buffer> allocateArrayBuffer() override { in allocateArrayBuffer()
1330 sp<Codec2Buffer> wrap(const std::shared_ptr<C2Buffer> &buffer) override { in wrap()
1332 sp<Codec2Buffer> c2buffer = ConstGraphicBlockBuffer::AllocateEmpty( in wrap()
1349 sp<Codec2Buffer> allocateArrayBuffer() override { in allocateArrayBuffer()