Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/hidl/1.0/utils/
DComponentStore.cpp167 C2Param::CoreIndex coreIndex = desc->index().coreIndex(); in validateSupportedParams() local
169 auto it = mStructDescriptors.find(coreIndex); in validateSupportedParams()
172 mParamReflector->describe(coreIndex); in validateSupportedParams()
177 mStructDescriptors.insert({ coreIndex, structDesc }); in validateSupportedParams()
305 const C2Param::CoreIndex coreIndex = C2Param::CoreIndex(indices[srcIx]).coreIndex(); in getStructDescriptors() local
306 const auto item = mStructDescriptors.find(coreIndex); in getStructDescriptors()
309 if (!mUnsupportedStructDescriptors.count(coreIndex)) { in getStructDescriptors()
311 mParamReflector->describe(coreIndex); in getStructDescriptors()
313 mUnsupportedStructDescriptors.emplace(coreIndex); in getStructDescriptors()
315 mStructDescriptors.insert({ coreIndex, structDesc }); in getStructDescriptors()
Dtypes.cpp590 d->type = static_cast<ParamIndex>(s.coreIndex().coreIndex()); in objcpy()
/frameworks/av/media/codec2/hidl/1.1/utils/
DComponentStore.cpp167 C2Param::CoreIndex coreIndex = desc->index().coreIndex(); in validateSupportedParams() local
169 auto it = mStructDescriptors.find(coreIndex); in validateSupportedParams()
172 mParamReflector->describe(coreIndex); in validateSupportedParams()
177 mStructDescriptors.insert({ coreIndex, structDesc }); in validateSupportedParams()
304 const C2Param::CoreIndex coreIndex = C2Param::CoreIndex(indices[srcIx]).coreIndex(); in getStructDescriptors() local
305 const auto item = mStructDescriptors.find(coreIndex); in getStructDescriptors()
308 if (!mUnsupportedStructDescriptors.count(coreIndex)) { in getStructDescriptors()
310 mParamReflector->describe(coreIndex); in getStructDescriptors()
312 mUnsupportedStructDescriptors.emplace(coreIndex); in getStructDescriptors()
314 mStructDescriptors.insert({ coreIndex, structDesc }); in getStructDescriptors()
/frameworks/av/media/codec2/hidl/1.2/utils/
DComponentStore.cpp167 C2Param::CoreIndex coreIndex = desc->index().coreIndex(); in validateSupportedParams() local
169 auto it = mStructDescriptors.find(coreIndex); in validateSupportedParams()
172 mParamReflector->describe(coreIndex); in validateSupportedParams()
177 mStructDescriptors.insert({ coreIndex, structDesc }); in validateSupportedParams()
304 const C2Param::CoreIndex coreIndex = C2Param::CoreIndex(indices[srcIx]).coreIndex(); in getStructDescriptors() local
305 const auto item = mStructDescriptors.find(coreIndex); in getStructDescriptors()
308 if (!mUnsupportedStructDescriptors.count(coreIndex)) { in getStructDescriptors()
310 mParamReflector->describe(coreIndex); in getStructDescriptors()
312 mUnsupportedStructDescriptors.emplace(coreIndex); in getStructDescriptors()
314 mStructDescriptors.insert({ coreIndex, structDesc }); in getStructDescriptors()
/frameworks/av/media/codec2/tests/
DC2Param_test.cpp1146 EXPECT_EQ(index.coreIndex(), kParamIndexNumber); in TEST_F()
1157 EXPECT_EQ(tun.coreIndex(), inf.coreIndex()); in TEST_F()
1158 EXPECT_NE(tun.coreIndex(), tun_->coreIndex()); in TEST_F()
1190 EXPECT_EQ(C2Param::Type(tun.type()).coreIndex(), C2NumberStruct::CORE_INDEX); in TEST_F()
1198 EXPECT_EQ(index.coreIndex(), kParamIndexNumber); in TEST_F()
1231 EXPECT_EQ(inp1.coreIndex(), tun.coreIndex()); in TEST_F()
1232 EXPECT_EQ(outp1.coreIndex(), tun.coreIndex()); in TEST_F()
1233 EXPECT_EQ(binp1.coreIndex(), tun.coreIndex()); in TEST_F()
1234 EXPECT_EQ(boutp1.coreIndex(), tun.coreIndex()); in TEST_F()
1235 EXPECT_EQ(inp2.coreIndex(), tun.coreIndex()); in TEST_F()
[all …]
DC2SampleComponent_test.cpp351 dumpType(sd.coreIndex()); in dumpStruct()
/frameworks/av/services/mediacodec/registrant/
DCodecServiceRegistrant.cpp331 C2Param::CoreIndex coreIndex) const { in getParamReflector()
333 indices[0] = static_cast<ParamIndex>(coreIndex.coreIndex()); in getParamReflector()
/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.cpp946 if (sd->coreIndex() == index) { in visited()
965 descendInto(param.coreIndex()); in C2FieldUtilsFieldsIterator()
1280 : _mIndex(param.coreIndex()), in C2FieldUtilsFieldLocation()
/frameworks/av/media/codec2/sfplugin/
DReflectedParamUpdater.cpp121 desc->index().coreIndex()); in addParamDesc()
144 C2Param::CoreIndex(it->type()).coreIndex()); in addParamStructDesc()
212 if (it != mWholeParams.end() && it->second.coreIndex() == desc->index().coreIndex()) { in addParamDesc()
DReflectedParamUpdater.h139 void supportWholeParam(std::string name, C2Param::CoreIndex coreIndex);
DCCodecBufferChannel.cpp1791 switch (param->coreIndex().coreIndex()) { in handleWork()
2020 switch (info->coreIndex().coreIndex()) { in handleWork()
DCodec2InfoBuilder.cpp139 switch (type.coreIndex()) { in addSupportedProfileLevels()
/frameworks/av/media/codec2/vndk/
DC2Buffer.cpp1207 return C2InfoBuffer(index.coreIndex() | C2Param::Index::KIND_INFO | C2Param::Index::DIR_GLOBAL, in CreateLinearBuffer()
1214 return C2InfoBuffer(index.coreIndex() | C2Param::Index::KIND_INFO | C2Param::Index::DIR_GLOBAL, in CreateGraphicBuffer()
1269 (void) mInfos.erase(info->coreIndex()); in setInfo()
1270 (void) mInfos.insert({ info->coreIndex(), info }); in setInfo()
1275 return mInfos.count(index.coreIndex()) > 0; in hasInfo()
1279 auto it = mInfos.find(index.coreIndex()); in getInfo()
1287 auto it = mInfos.find(index.coreIndex()); in removeInfo()
/frameworks/av/media/codec2/core/include/
DC2Param.h205 inline uint32_t coreIndex() const { return mIndex & CORE_MASK; } in coreIndex() function
412 inline CoreIndex coreIndex() const { return _mIndex.coreIndex(); } in coreIndex() function
1154 inline C2Param::CoreIndex coreIndex() const { return _mType.coreIndex(); }
1513 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/tests/vndk/
DC2BufferTest.cpp788 ASSERT_EQ(kParamIndexNumber1, spInfo->index().coreIndex()); in TEST_F()
799 ASSERT_EQ(kParamIndexNumber1, streamInfo.index().coreIndex()); in TEST_F()
812 ASSERT_EQ(kParamIndexNumber1, portInfo.index().coreIndex()); in TEST_F()
/frameworks/av/media/codec2/hidl/client/
Dclient.cpp848 virtual std::unique_ptr<C2StructDescriptor> describe(C2Param::CoreIndex coreIndex) const { in getParamReflector()
850 indices[0] = static_cast<ParamIndex>(coreIndex.coreIndex()); in getParamReflector()
/frameworks/av/media/codec2/sfplugin/tests/
DCCodecConfig_test.cpp283 if (param->coreIndex() == T::CORE_INDEX) { in FindParam()