Home
last modified time | relevance | path

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

/hardware/google/av/codec2/hidl/1.0/utils/
DComponentStore.cpp142 C2Param::CoreIndex coreIndex = desc->index().coreIndex(); in validateSupportedParams() local
144 auto it = mStructDescriptors.find(coreIndex); in validateSupportedParams()
147 mParamReflector->describe(coreIndex); in validateSupportedParams()
152 mStructDescriptors.insert({ coreIndex, structDesc }); in validateSupportedParams()
257 const C2Param::CoreIndex coreIndex = C2Param::CoreIndex(indices[srcIx]).coreIndex(); in getStructDescriptors() local
258 const auto item = mStructDescriptors.find(coreIndex); in getStructDescriptors()
261 if (!mUnsupportedStructDescriptors.count(coreIndex)) { in getStructDescriptors()
263 mParamReflector->describe(coreIndex); in getStructDescriptors()
265 mUnsupportedStructDescriptors.emplace(coreIndex); in getStructDescriptors()
267 mStructDescriptors.insert({ coreIndex, structDesc }); in getStructDescriptors()
Dtypes.cpp509 d->type = static_cast<ParamIndex>(s.coreIndex().coreIndex()); in objcpy()
/hardware/google/av/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()
/hardware/google/av/media/sfplugin/
DReflectedParamUpdater.cpp121 desc->index().coreIndex()); in addParamDesc()
135 desc->index().coreIndex()); in addParamDesc()
156 C2Param::CoreIndex(it->type()).coreIndex()); in addParamStructDesc()
217 if (it != mWholeParams.end() && it->second.coreIndex() == desc->index().coreIndex()) { in addParamDesc()
DReflectedParamUpdater.h139 void supportWholeParam(std::string name, C2Param::CoreIndex coreIndex);
DCCodecBufferChannel.cpp2601 switch (param->coreIndex().coreIndex()) { in handleWork()
2702 switch (info->coreIndex().coreIndex()) { in handleWork()
DCodec2InfoBuilder.cpp493 … if (desc->index().coreIndex() == C2StreamHdrStaticInfo::CORE_INDEX) { in buildMediaCodecList()
/hardware/google/av/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.cpp930 if (sd->coreIndex() == index) { in visited()
949 descendInto(param.coreIndex()); in C2FieldUtilsFieldsIterator()
1264 : _mIndex(param.coreIndex()), in C2FieldUtilsFieldLocation()
/hardware/google/av/codec2/include/
DC2Param.h204 inline uint32_t coreIndex() const { return mIndex & CORE_MASK; } in coreIndex() function
406 inline CoreIndex coreIndex() const { return _mIndex.coreIndex(); } in coreIndex() function
1140 inline C2Param::CoreIndex coreIndex() const { return _mType.coreIndex(); }
1499 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 };
/hardware/google/av/codec2/vndk/
DC2Buffer.cpp1225 (void) mInfos.erase(info->coreIndex()); in setInfo()
1226 (void) mInfos.insert({ info->coreIndex(), info }); in setInfo()
1231 return mInfos.count(index.coreIndex()) > 0; in hasInfo()
1235 auto it = mInfos.find(index.coreIndex()); in getInfo()
1243 auto it = mInfos.find(index.coreIndex()); in removeInfo()
/hardware/google/av/codec2/hidl/client/
Dclient.cpp585 virtual std::unique_ptr<C2StructDescriptor> describe(C2Param::CoreIndex coreIndex) const { in getParamReflector()
587 indices[0] = static_cast<ParamIndex>(coreIndex.coreIndex()); in getParamReflector()
/hardware/google/interfaces/media/c2/1.0/
Dtypes.hal273 * Structs. Marked with this flag in addition to their coreIndex.