Home
last modified time | relevance | path

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

/hardware/google/av/codec2/vndk/
DC2Config.cpp223 DEFINE_C2_ENUM_VALUE_CUSTOM_HELPER(C2BufferData::type_t, ({
224 { "invalid", C2BufferData::INVALID },
225 { "linear", C2BufferData::LINEAR },
226 { "linear-chunks", C2BufferData::LINEAR_CHUNKS },
227 { "graphic", C2BufferData::GRAPHIC },
228 { "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()
/hardware/google/av/media/codecs/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()
/hardware/google/av/codec2/include/
DC2Config.h950 typedef C2StreamParam<C2Setting, C2SimpleValueStruct<C2EasyEnum<C2BufferData::type_t>>,
954 constexpr C2BufferData::type_t C2FormatAudio = C2BufferData::LINEAR; // deprecated
955 constexpr C2BufferData::type_t C2FormatCompressed = C2BufferData::LINEAR; // deprecated
956 constexpr C2BufferData::type_t C2FormatVideo = C2BufferData::GRAPHIC; // deprecated
957 typedef C2BufferData::type_t C2FormatKind; // deprecated
DC2Buffer.h1982 class C2BufferData {
2022 explicit C2BufferData(const std::vector<C2ConstLinearBlock> &blocks);
2023 explicit C2BufferData(const std::vector<C2ConstGraphicBlock> &blocks);
2040 const C2BufferData data() const;
2195 const C2BufferData data() const;
/hardware/google/av/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()
/hardware/google/av/media/sfplugin/
DCodec2Buffer.cpp47 if (buffer->data().type() != C2BufferData::LINEAR) { in canCopyLinear()
174 || buffer->data().type() != C2BufferData::LINEAR in Allocate()
613 || buffer->data().type() != C2BufferData::GRAPHIC in Allocate()
703 if (buffer->data().type() != C2BufferData::GRAPHIC) { in canCopy()
DCCodecBufferChannel.cpp1163 case C2BufferData::LINEAR: { in realloc()
1178 case C2BufferData::GRAPHIC: FALLTHROUGH_INTENDED; in realloc()
1180 case C2BufferData::INVALID: FALLTHROUGH_INTENDED; in realloc()
1181 case C2BufferData::LINEAR_CHUNKS: FALLTHROUGH_INTENDED; in realloc()
1182 case C2BufferData::GRAPHIC_CHUNKS: FALLTHROUGH_INTENDED; in realloc()
1287 if (buffer->data().type() != C2BufferData::LINEAR) { in wrap()
2345 if (oStreamFormat.value == C2BufferData::LINEAR in start()
2450 } else if (oStreamFormat.value == C2BufferData::LINEAR && i == 0 in requestInitialInputBuffers()
/hardware/google/av/codec2/hidl/1.0/utils/
Dtypes.cpp747 Status objcpy(Buffer* d, const C2BufferData& s, in objcpy()