Home
last modified time | relevance | path

Searched refs:C2ConstLinearBlock (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/media/codec2/vndk/
DC2Buffer.cpp52 friend class ::C2ConstLinearBlock;
60 class ConstLinearBlockBuddy : public C2ConstLinearBlock {
61 using C2ConstLinearBlock::C2ConstLinearBlock;
72 friend class ::C2ConstLinearBlock;
273 C2ConstLinearBlock::C2ConstLinearBlock(std::shared_ptr<Impl> impl, const _C2LinearRangeAspect &rang… in C2ConstLinearBlock() function in C2ConstLinearBlock
276 C2Acquirable<C2ReadView> C2ConstLinearBlock::map() const { in map()
295 C2ConstLinearBlock C2ConstLinearBlock::subBlock(size_t offset_, size_t size_) const { in subBlock()
297 return C2ConstLinearBlock(mImpl, subRange, mFence); in subBlock()
325 C2ConstLinearBlock C2LinearBlock::share(size_t offset_, size_t size_, C2Fence fence) { in share()
1170 explicit Impl(const std::vector<C2ConstLinearBlock> &blocks) in Impl()
[all …]
/frameworks/av/media/codec2/core/include/
DC2Buffer.h1108 class C2ConstLinearBlock : public C2Block1D {
1126 C2ConstLinearBlock subBlock(size_t offset, size_t size) const;
1136C2ConstLinearBlock(std::shared_ptr<Impl> impl, const _C2LinearRangeAspect &range, C2Fence mFence);
1166 C2ConstLinearBlock share(size_t offset, size_t size, C2Fence fence);
1263 c2_status_t share(size_t size, C2Fence fence, std::vector<C2ConstLinearBlock> &blocks);
2009 const std::vector<C2ConstLinearBlock> linearBlocks() const;
2024 explicit C2BufferData(const std::vector<C2ConstLinearBlock> &blocks);
2137 static std::shared_ptr<C2Buffer> CreateLinearBuffer(const C2ConstLinearBlock &block);
2150 explicit C2Buffer(const std::vector<C2ConstLinearBlock> &blocks);
/frameworks/base/media/jni/
Dandroid_media_MediaCodecLinearBlock.h48 C2ConstLinearBlock block = mBuffer->data().linearBlocks().front(); in toC2Buffer()
Dandroid_media_MediaCodec.cpp2962 C2ConstLinearBlock block = data.linearBlocks().front(); in android_media_MediaCodec_LinearBlock_native_map()
/frameworks/av/media/codec2/tests/vndk/
DC2BufferTest.cpp401 C2ConstLinearBlock constBlock = block->share( in TEST_F()
578 explicit BufferData(const std::vector<C2ConstLinearBlock> &blocks) : C2BufferData(blocks) {} in BufferData()
584 explicit Buffer(const std::vector<C2ConstLinearBlock> &blocks) : C2Buffer(blocks) {} in Buffer()
762 C2ConstLinearBlock cBlock = block->share(0, kCapacity / 2, C2Fence()); in TEST_F()
/frameworks/av/media/libstagefright/
DACodecBufferChannel.cpp283 C2ConstLinearBlock block{c2Buffer->data().linearBlocks().front()}; in attachBuffer()
DMediaCodec.cpp3766 C2ConstLinearBlock block{c2Buffer->data().linearBlocks().front()}; in onQueueInputBuffer()
3768 C2ConstLinearBlock leftover = block.subBlock( in onQueueInputBuffer()
/frameworks/av/media/codec2/hidl/1.0/utils/
Dtypes.cpp780 bool objcpy(Block* d, const C2ConstLinearBlock& s, in objcpy()
854 for (const C2ConstLinearBlock& linearBlock : s.linearBlocks()) { in objcpy()
/frameworks/av/media/codec2/sfplugin/
DCCodecBuffers.cpp1124 const std::vector<C2ConstLinearBlock> &linear_blocks = c2buffer->data().linearBlocks(); in realloc()