Home
last modified time | relevance | path

Searched refs:coreIndex (Results 1 – 14 of 14) sorted by relevance

/frameworks/av/media/codec2/hidl/1.0/utils/
DComponentStore.cpp133 C2Param::CoreIndex coreIndex = desc->index().coreIndex(); in validateSupportedParams() local
135 auto it = mStructDescriptors.find(coreIndex); in validateSupportedParams()
138 mParamReflector->describe(coreIndex); in validateSupportedParams()
143 mStructDescriptors.insert({ coreIndex, structDesc }); in validateSupportedParams()
249 const C2Param::CoreIndex coreIndex = C2Param::CoreIndex(indices[srcIx]).coreIndex(); in getStructDescriptors() local
250 const auto item = mStructDescriptors.find(coreIndex); in getStructDescriptors()
253 if (!mUnsupportedStructDescriptors.count(coreIndex)) { in getStructDescriptors()
255 mParamReflector->describe(coreIndex); in getStructDescriptors()
257 mUnsupportedStructDescriptors.emplace(coreIndex); in getStructDescriptors()
259 mStructDescriptors.insert({ coreIndex, structDesc }); in getStructDescriptors()
Dtypes.cpp589 d->type = static_cast<ParamIndex>(s.coreIndex().coreIndex()); in objcpy()
/frameworks/av/media/codec2/tests/
DC2Param_test.cpp1138 EXPECT_EQ(index.coreIndex(), kParamIndexNumber); in TEST_F()
1149 EXPECT_EQ(tun.coreIndex(), inf.coreIndex()); in TEST_F()
1150 EXPECT_NE(tun.coreIndex(), tun_->coreIndex()); in TEST_F()
1182 EXPECT_EQ(C2Param::Type(tun.type()).coreIndex(), C2NumberStruct::CORE_INDEX); in TEST_F()
1190 EXPECT_EQ(index.coreIndex(), kParamIndexNumber); in TEST_F()
1223 EXPECT_EQ(inp1.coreIndex(), tun.coreIndex()); in TEST_F()
1224 EXPECT_EQ(outp1.coreIndex(), tun.coreIndex()); in TEST_F()
1225 EXPECT_EQ(binp1.coreIndex(), tun.coreIndex()); in TEST_F()
1226 EXPECT_EQ(boutp1.coreIndex(), tun.coreIndex()); in TEST_F()
1227 EXPECT_EQ(inp2.coreIndex(), tun.coreIndex()); in TEST_F()
[all …]
DC2SampleComponent_test.cpp351 dumpType(sd.coreIndex()); in dumpStruct()
/frameworks/av/media/codec2/sfplugin/
DReflectedParamUpdater.cpp121 desc->index().coreIndex()); in addParamDesc()
135 desc->index().coreIndex()); in addParamDesc()
156 C2Param::CoreIndex(it->type()).coreIndex()); in addParamStructDesc()
224 if (it != mWholeParams.end() && it->second.coreIndex() == desc->index().coreIndex()) { in addParamDesc()
DReflectedParamUpdater.h139 void supportWholeParam(std::string name, C2Param::CoreIndex coreIndex);
DCCodecBufferChannel.cpp1350 switch (param->coreIndex().coreIndex()) { in handleWork()
1530 switch (info->coreIndex().coreIndex()) { in handleWork()
/frameworks/av/media/codec2/vndk/util/
DC2InterfaceHelper.cpp48 if (_mStructs.find(strukt.coreIndex()) != _mStructs.end()) { in addStructDescriptor()
55 C2Param::CoreIndex coreIndex = fd.type() &~ C2FieldDescriptor::STRUCT_FLAG; in addStructDescriptor() local
56 if (_mStructs.find(coreIndex) == _mStructs.end()) { in addStructDescriptor()
57 C2_LOG(INFO) << "missing struct descriptor #" << coreIndex << " for field " in addStructDescriptor()
58 << fd.name() << " of struct #" << strukt.coreIndex(); in addStructDescriptor()
62 _mStructs.emplace(strukt.coreIndex(), strukt); in addStructDescriptor()
DC2Debug.cpp72 i.coreIndex()); in attribParamCoreIndex()
DC2InterfaceUtils.cpp944 if (sd->coreIndex() == index) { in visited()
963 descendInto(param.coreIndex()); in C2FieldUtilsFieldsIterator()
1278 : _mIndex(param.coreIndex()), in C2FieldUtilsFieldLocation()
/frameworks/av/media/codec2/core/include/
DC2Param.h205 inline uint32_t coreIndex() const { return mIndex & CORE_MASK; } in coreIndex() function
411 inline CoreIndex coreIndex() const { return _mIndex.coreIndex(); } in coreIndex() function
1145 inline C2Param::CoreIndex coreIndex() const { return _mType.coreIndex(); }
1504 virtual std::unique_ptr<C2StructDescriptor> describe(C2Param::CoreIndex coreIndex) const = 0;
DC2ParamDef.h70 #define _C2_CORE_INDEX_OVERRIDE(coreIndex) \ argument
72 enum : uint32_t { CORE_INDEX = coreIndex };
/frameworks/av/media/codec2/vndk/
DC2Buffer.cpp1213 (void) mInfos.erase(info->coreIndex()); in setInfo()
1214 (void) mInfos.insert({ info->coreIndex(), info }); in setInfo()
1219 return mInfos.count(index.coreIndex()) > 0; in hasInfo()
1223 auto it = mInfos.find(index.coreIndex()); in getInfo()
1231 auto it = mInfos.find(index.coreIndex()); in removeInfo()
/frameworks/av/media/codec2/hidl/client/
Dclient.cpp694 virtual std::unique_ptr<C2StructDescriptor> describe(C2Param::CoreIndex coreIndex) const { in getParamReflector()
696 indices[0] = static_cast<ParamIndex>(coreIndex.coreIndex()); in getParamReflector()