Home
last modified time | relevance | path

Searched refs:C2BufferData (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/media/codec2/vndk/
DC2Config.cpp253 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 },
DC2Buffer.cpp103 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/
DSimpleC2Interface.cpp83 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()
DSimpleC2Component.cpp479 outputFormat.value == C2BufferData::GRAPHIC in processQueue()
/frameworks/av/media/codec2/tests/vndk/
DC2BufferTest.cpp576 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/
DCCodecBuffers.cpp879 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()
DCodec2Buffer.cpp48 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()
DCCodecBufferChannel.cpp827 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/
DC2Buffer.h1985 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;
DC2Config.h959 typedef C2StreamParam<C2Setting, C2SimpleValueStruct<C2EasyEnum<C2BufferData::type_t>>,
/frameworks/av/media/codec2/hidl/1.0/utils/
Dtypes.cpp846 bool objcpy(Buffer* d, const C2BufferData& s, in objcpy()