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.h910 typedef C2StreamParam<C2Setting, C2SimpleValueStruct<C2EasyEnum<C2BufferData::type_t>>,
914 constexpr C2BufferData::type_t C2FormatAudio = C2BufferData::LINEAR; // deprecated
915 constexpr C2BufferData::type_t C2FormatCompressed = C2BufferData::LINEAR; // deprecated
916 constexpr C2BufferData::type_t C2FormatVideo = C2BufferData::GRAPHIC; // deprecated
917 typedef C2BufferData::type_t C2FormatKind; // deprecated
DC2Buffer.h1983 class C2BufferData {
2023 explicit C2BufferData(const std::vector<C2ConstLinearBlock> &blocks);
2024 explicit C2BufferData(const std::vector<C2ConstGraphicBlock> &blocks);
2041 const C2BufferData data() const;
2196 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()
172 || buffer->data().type() != C2BufferData::LINEAR in Allocate()
611 || buffer->data().type() != C2BufferData::GRAPHIC in Allocate()
701 if (buffer->data().type() != C2BufferData::GRAPHIC) { in canCopy()
DCCodecBufferChannel.cpp1068 if (buffer->data().type() != C2BufferData::LINEAR) { in wrap()
/hardware/google/av/codec2/hidl/1.0/utils/
Dtypes.cpp749 Status objcpy(Buffer* d, const C2BufferData& s, in objcpy()