/hardware/google/av/media/sfplugin/ |
D | Codec2Buffer.h | 61 virtual std::shared_ptr<C2Buffer> asC2Buffer() = 0; 70 virtual bool canCopy(const std::shared_ptr<C2Buffer> &buffer) const { in canCopy() 83 virtual bool copy(const std::shared_ptr<C2Buffer> &buffer) { in copy() 92 bool canCopyLinear(const std::shared_ptr<C2Buffer> &buffer) const; 97 bool copyLinear(const std::shared_ptr<C2Buffer> &buffer); 113 std::shared_ptr<C2Buffer> asC2Buffer() override { return nullptr; } in asC2Buffer() 114 bool canCopy(const std::shared_ptr<C2Buffer> &buffer) const override; 115 bool copy(const std::shared_ptr<C2Buffer> &buffer) override; 126 const std::shared_ptr<C2Buffer> &buffer = nullptr); 128 std::shared_ptr<C2Buffer> asC2Buffer() override; [all …]
|
D | Codec2Buffer.cpp | 39 bool Codec2Buffer::canCopyLinear(const std::shared_ptr<C2Buffer> &buffer) const { in canCopyLinear() 64 bool Codec2Buffer::copyLinear(const std::shared_ptr<C2Buffer> &buffer) { in copyLinear() 102 bool LocalLinearBuffer::canCopy(const std::shared_ptr<C2Buffer> &buffer) const { in canCopy() 106 bool LocalLinearBuffer::copy(const std::shared_ptr<C2Buffer> &buffer) { in copy() 115 const sp<AMessage> &format, const std::shared_ptr<C2Buffer> &buffer) in DummyContainerBuffer() 121 std::shared_ptr<C2Buffer> DummyContainerBuffer::asC2Buffer() { in asC2Buffer() 125 bool DummyContainerBuffer::canCopy(const std::shared_ptr<C2Buffer> &) const { in canCopy() 129 bool DummyContainerBuffer::copy(const std::shared_ptr<C2Buffer> &buffer) { in copy() 147 std::shared_ptr<C2Buffer> LinearBlockBuffer::asC2Buffer() { in asC2Buffer() 148 return C2Buffer::CreateLinearBuffer(mBlock->share(offset(), size(), C2Fence())); in asC2Buffer() [all …]
|
D | CCodecBufferChannel.cpp | 132 std::shared_ptr<C2Buffer> *c2buffer, 140 const std::shared_ptr<C2Buffer> &c2buffer) = 0; 175 const std::shared_ptr<C2Buffer> &buffer, 194 const sp<MediaCodecBuffer> &buffer, std::shared_ptr<C2Buffer> *c2buffer) = 0; 449 mBuffers.push_back({ buffer, std::weak_ptr<C2Buffer>() }); in assignSlot() 466 std::shared_ptr<C2Buffer> *c2buffer, in releaseSlot() 484 std::shared_ptr<C2Buffer> result = mBuffers[index].compBuffer.lock(); in releaseSlot() 495 bool expireComponentBuffer(const std::shared_ptr<C2Buffer> &c2buffer) { in expireComponentBuffer() 497 std::shared_ptr<C2Buffer> compBuffer = in expireComponentBuffer() 523 std::weak_ptr<C2Buffer> compBuffer; [all …]
|
D | CCodecBufferChannel.h | 143 void onInputBufferDone(const std::shared_ptr<C2Buffer>& buffer); 342 const std::shared_ptr<C2Buffer> &b, in Entry() 347 std::shared_ptr<C2Buffer> buffer; 360 const std::shared_ptr<C2Buffer> &buffer,
|
D | C2OMXNode.cpp | 45 class Buffer2D : public C2Buffer { 47 explicit Buffer2D(C2ConstGraphicBlock block) : C2Buffer({ block }) {} in Buffer2D() 274 std::shared_ptr<C2Buffer> c2Buffer( in emptyBuffer() 278 [buffer, source = getSource()](C2Buffer *ptr) { in emptyBuffer()
|
D | CCodec.h | 71 void onInputBufferDone(const std::shared_ptr<C2Buffer>& buffer);
|
/hardware/google/av/codec2/vndk/ |
D | C2Buffer.cpp | 105 friend class ::C2Buffer; 1174 class C2Buffer::Impl { 1176 Impl(C2Buffer *thiz, const std::vector<C2ConstLinearBlock> &blocks) in Impl() 1178 Impl(C2Buffer *thiz, const std::vector<C2ConstGraphicBlock> &blocks) in Impl() 1253 C2Buffer * const mThis; 1259 C2Buffer::C2Buffer(const std::vector<C2ConstLinearBlock> &blocks) in C2Buffer() function in C2Buffer 1262 C2Buffer::C2Buffer(const std::vector<C2ConstGraphicBlock> &blocks) in C2Buffer() function in C2Buffer 1265 const C2BufferData C2Buffer::data() const { return mImpl->data(); } in data() 1267 c2_status_t C2Buffer::registerOnDestroyNotify(OnDestroyNotify onDestroyNotify, void *arg) { in registerOnDestroyNotify() 1271 c2_status_t C2Buffer::unregisterOnDestroyNotify(OnDestroyNotify onDestroyNotify, void *arg) { in unregisterOnDestroyNotify() [all …]
|
D | Android.bp | 21 "C2Buffer.cpp",
|
/hardware/google/av/media/codecs/base/include/ |
D | SimpleC2Component.h | 142 std::shared_ptr<C2Buffer> createLinearBuffer( 145 std::shared_ptr<C2Buffer> createLinearBuffer( 148 std::shared_ptr<C2Buffer> createGraphicBuffer( 151 std::shared_ptr<C2Buffer> createGraphicBuffer(
|
/hardware/google/av/codec2/hidl/client/include/codec2/hidl/ |
D | client.h | 192 const std::shared_ptr<C2Buffer>& src, 193 const std::shared_ptr<C2Buffer>& dst); 278 const std::shared_ptr<C2Buffer>& buffer) = 0; 397 mutable std::map<uint64_t, std::vector<std::shared_ptr<C2Buffer>>> 427 std::shared_ptr<C2Buffer> freeInputBuffer(uint64_t frameIndex, size_t bufferIndex);
|
/hardware/google/av/media/codecs/base/ |
D | SimpleC2Component.cpp | 549 std::shared_ptr<C2Buffer> SimpleC2Component::createLinearBuffer( in createLinearBuffer() 554 std::shared_ptr<C2Buffer> SimpleC2Component::createLinearBuffer( in createLinearBuffer() 556 return C2Buffer::CreateLinearBuffer(block->share(offset, size, ::C2Fence())); in createLinearBuffer() 559 std::shared_ptr<C2Buffer> SimpleC2Component::createGraphicBuffer( in createGraphicBuffer() 564 std::shared_ptr<C2Buffer> SimpleC2Component::createGraphicBuffer( in createGraphicBuffer() 566 return C2Buffer::CreateGraphicBuffer(block->share(crop, ::C2Fence())); in createGraphicBuffer()
|
/hardware/google/av/codec2/hidl/1.0/utils/ |
D | InputSurfaceConnection.cpp | 60 class Buffer2D : public C2Buffer { 62 explicit Buffer2D(C2ConstGraphicBlock block) : C2Buffer({ block }) { in Buffer2D() 189 std::shared_ptr<C2Buffer> c2Buffer( in submitBuffer() 193 [bufferId, src = mSource](C2Buffer* ptr) { in submitBuffer()
|
D | Component.cpp | 193 static void onBufferDestroyed(const C2Buffer* buf, void* arg); 194 void _onBufferDestroyed(const C2Buffer* buf, void* arg); 215 std::weak_ptr<C2Buffer> buffer; 219 const std::shared_ptr<C2Buffer>& buffer) in TrackedBuffer() 758 std::shared_ptr<C2Buffer> buffer = bufferId.buffer.lock(); in _unregisterFrameData() 819 std::shared_ptr<C2Buffer> buffer = bufferId.buffer.lock(); in _unregisterFrameData() 848 void InputBufferManager::onBufferDestroyed(const C2Buffer* buf, void* arg) { in onBufferDestroyed() 852 void InputBufferManager::_onBufferDestroyed(const C2Buffer* buf, void* arg) { in _onBufferDestroyed()
|
D | types.cpp | 778 Status objcpy(Buffer* d, const C2Buffer& s, in objcpy() 820 for (const std::shared_ptr<C2Buffer>& sBuffer : s.buffers) { in objcpy() 1069 std::shared_ptr<C2Buffer>* buffer, in createLinearBuffer() 1087 *buffer = C2Buffer::CreateLinearBuffer(block->share( in createLinearBuffer() 1099 std::shared_ptr<C2Buffer>* buffer, in createGraphicBuffer() 1117 *buffer = C2Buffer::CreateGraphicBuffer(block->share( in createGraphicBuffer() 1130 c2_status_t objcpy(std::shared_ptr<C2Buffer>* d, const Buffer& s, in objcpy() 1215 std::shared_ptr<C2Buffer> dBuffer; in objcpy() 1626 for (const std::shared_ptr<C2Buffer>& buffer : frameData.buffers) { in forEachBlock()
|
/hardware/google/av/codec2/include/ |
D | C2Buffer.h | 2033 class C2Buffer { 2065 typedef void (*OnDestroyNotify) (const C2Buffer *buf, void *arg); 2095 virtual ~C2Buffer() = default; 2152 static std::shared_ptr<C2Buffer> CreateLinearBuffer(const C2ConstLinearBlock &block); 2161 static std::shared_ptr<C2Buffer> CreateGraphicBuffer(const C2ConstGraphicBlock &block); 2167 explicit C2Buffer(const std::vector<C2ConstLinearBlock> &blocks); 2168 explicit C2Buffer(const std::vector<C2ConstGraphicBlock> &blocks); 2209 : public C2Buffer, public _C2LinearRangeAspect, 2271 class C2GraphicBuffer : public C2Buffer {
|
D | C2Work.h | 160 std::vector<std::shared_ptr<C2Buffer>> buffers;
|
/hardware/google/av/media/codecs/cmds/ |
D | codec2.cpp | 66 class LinearBuffer : public C2Buffer { 69 : C2Buffer({ block->share(block->offset(), block->size(), ::C2Fence()) }) {} in LinearBuffer() 248 const std::shared_ptr<C2Buffer> &output = work->worklets.front()->output.buffers[0]; in play()
|
/hardware/google/av/media/codecs/aac/ |
D | C2SoftAacEnc.cpp | 361 std::shared_ptr<C2Buffer> buffer; in process() 402 const std::shared_ptr<C2Buffer> &buffer) in process() 425 const std::shared_ptr<C2Buffer> mBuffer; in process()
|
/hardware/google/av/codec2/hidl/1.0/mts/common/ |
D | media_c2_hidl_test_common.h | 92 const std::shared_ptr<C2Buffer>& buffer) override { in onInputBufferDone()
|
/hardware/google/av/codec2/tests/vndk/ |
D | C2BufferTest.cpp | 582 class Buffer : public C2Buffer { 584 explicit Buffer(const std::vector<C2ConstLinearBlock> &blocks) : C2Buffer(blocks) {} in Buffer() 585 explicit Buffer(const std::vector<C2ConstGraphicBlock> &blocks) : C2Buffer(blocks) {} in Buffer() 659 void DestroyCallback(const C2Buffer * /* buf */, void *arg) { in DestroyCallback() argument 685 std::shared_ptr<C2Buffer> buffer(new Buffer( { block->share(0, kCapacity, C2Fence()) })); in TEST_F()
|
/hardware/google/av/codec2/hidl/client/ |
D | client.cpp | 416 std::shared_ptr<C2Buffer> buffer = in onFramesRendered() 571 const std::shared_ptr<C2Buffer>& src, in copyBuffer() 572 const std::shared_ptr<C2Buffer>& dst) { in copyBuffer() 894 std::shared_ptr<C2Buffer> Codec2Client::Component::freeInputBuffer( in freeInputBuffer() 897 std::shared_ptr<C2Buffer> buffer; in freeInputBuffer()
|
/hardware/google/av/media/codecs/avc/ |
D | C2SoftAvcEnc.h | 204 std::map<const void *, std::shared_ptr<C2Buffer>> mBuffers;
|
/hardware/google/av/codec2/hidl/1.0/mts/audio/ |
D | MtsHidlC2V1_0TargetAudioEncTest.cpp | 39 class LinearBuffer : public C2Buffer { 42 : C2Buffer( in LinearBuffer()
|
/hardware/google/av/media/codecs/vpx/ |
D | C2SoftVpxEnc.cpp | 433 std::shared_ptr<C2Buffer> inputBuffer; in process() 633 std::shared_ptr<C2Buffer> buffer = createLinearBuffer(block); in process()
|
/hardware/google/av/media/codecs/mpeg4_h263/ |
D | C2SoftMpeg4Enc.cpp | 462 std::shared_ptr<C2Buffer> inputBuffer; in process() 594 std::shared_ptr<C2Buffer> buffer = createLinearBuffer(block, 0, outputSize); in process()
|