Searched refs:C2BufferData (Results 1 – 11 of 11) sorted by relevance
/frameworks/av/media/codec2/vndk/ |
D | C2Config.cpp | 253 DEFINE_C2_ENUM_VALUE_CUSTOM_HELPER(C2BufferData::type_t, ({ 254 { "invalid", C2BufferData::INVALID }, 255 { "linear", C2BufferData::LINEAR }, 256 { "linear-chunks", C2BufferData::LINEAR_CHUNKS }, 257 { "graphic", C2BufferData::GRAPHIC }, 258 { "graphic-chunks", C2BufferData::GRAPHIC_CHUNKS },
|
D | C2Buffer.cpp | 103 class BufferDataBuddy : public C2BufferData { 104 using C2BufferData::C2BufferData; 1139 class C2BufferData::Impl { 1161 C2BufferData::C2BufferData(const std::vector<C2ConstLinearBlock> &blocks) : mImpl(new Impl(blocks))… in C2BufferData() function in C2BufferData 1162 C2BufferData::C2BufferData(const std::vector<C2ConstGraphicBlock> &blocks) : mImpl(new Impl(blocks)… in C2BufferData() function in C2BufferData 1164 C2BufferData::type_t C2BufferData::type() const { return mImpl->type(); } in type() 1166 const std::vector<C2ConstLinearBlock> C2BufferData::linearBlocks() const { in linearBlocks() 1170 const std::vector<C2ConstGraphicBlock> C2BufferData::graphicBlocks() const { in graphicBlocks() 1187 const C2BufferData &data() const { return mData; } in data() 1265 const C2BufferData C2Buffer::data() const { return mImpl->data(); } in data()
|
/frameworks/av/media/codec2/components/base/ |
D | SimpleC2Interface.cpp | 83 C2BufferData::type_t rawBufferType = C2BufferData::LINEAR; in BaseParams() 87 C2BufferData::type_t codedBufferType = C2BufferData::LINEAR; in BaseParams() 95 rawBufferType = C2BufferData::GRAPHIC; in BaseParams() 101 rawBufferType = C2BufferData::LINEAR; in BaseParams()
|
D | SimpleC2Component.cpp | 479 outputFormat.value == C2BufferData::GRAPHIC in processQueue()
|
/frameworks/av/media/codec2/tests/vndk/ |
D | C2BufferTest.cpp | 576 class BufferData : public C2BufferData { 578 explicit BufferData(const std::vector<C2ConstLinearBlock> &blocks) : C2BufferData(blocks) {} in BufferData() 579 explicit BufferData(const std::vector<C2ConstGraphicBlock> &blocks) : C2BufferData(blocks) {} in BufferData() 626 …std::shared_ptr<C2BufferData> data(new BufferData({ linearBlock1->share(0, kCapacity1, C2Fence()) … in TEST_F() 627 EXPECT_EQ(C2BufferData::LINEAR, data->type()); in TEST_F() 636 EXPECT_EQ(C2BufferData::LINEAR_CHUNKS, data->type()); in TEST_F() 643 EXPECT_EQ(C2BufferData::GRAPHIC, data->type()); in TEST_F() 652 EXPECT_EQ(C2BufferData::GRAPHIC_CHUNKS, data->type()); in TEST_F()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBuffers.cpp | 879 case C2BufferData::LINEAR: { in realloc() 894 case C2BufferData::GRAPHIC: { in realloc() 909 case C2BufferData::INVALID: [[fallthrough]]; in realloc() 910 case C2BufferData::LINEAR_CHUNKS: [[fallthrough]]; in realloc() 911 case C2BufferData::GRAPHIC_CHUNKS: [[fallthrough]]; in realloc() 993 if (buffer->data().type() != C2BufferData::LINEAR) { in wrap()
|
D | Codec2Buffer.cpp | 48 if (buffer->data().type() != C2BufferData::LINEAR) { in canCopyLinear() 165 || buffer->data().type() != C2BufferData::LINEAR in Allocate() 616 || buffer->data().type() != C2BufferData::GRAPHIC in Allocate() 705 if (buffer->data().type() != C2BufferData::GRAPHIC) { in canCopy()
|
D | CCodecBufferChannel.cpp | 827 bool graphic = (iStreamFormat.value == C2BufferData::GRAPHIC); in start() 960 bool graphic = (oStreamFormat.value == C2BufferData::GRAPHIC); in start() 1082 if (oStreamFormat.value == C2BufferData::LINEAR in start() 1175 } else if (oStreamFormat.value == C2BufferData::LINEAR && i == 0 in requestInitialInputBuffers()
|
/frameworks/av/media/codec2/core/include/ |
D | C2Buffer.h | 1985 class C2BufferData { 2024 explicit C2BufferData(const std::vector<C2ConstLinearBlock> &blocks); 2025 explicit C2BufferData(const std::vector<C2ConstGraphicBlock> &blocks); 2042 const C2BufferData data() const; 2177 const C2BufferData data() const;
|
D | C2Config.h | 959 typedef C2StreamParam<C2Setting, C2SimpleValueStruct<C2EasyEnum<C2BufferData::type_t>>,
|
/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | types.cpp | 846 bool objcpy(Buffer* d, const C2BufferData& s, in objcpy()
|