/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | ComponentStore.cpp | 167 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()
|
D | types.cpp | 590 d->type = static_cast<ParamIndex>(s.coreIndex().coreIndex()); in objcpy()
|
/frameworks/av/media/codec2/hidl/1.1/utils/ |
D | ComponentStore.cpp | 167 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/ |
D | ComponentStore.cpp | 167 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/ |
D | C2Param_test.cpp | 1146 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 …]
|
D | C2SampleComponent_test.cpp | 351 dumpType(sd.coreIndex()); in dumpStruct()
|
/frameworks/av/services/mediacodec/registrant/ |
D | CodecServiceRegistrant.cpp | 331 C2Param::CoreIndex coreIndex) const { in getParamReflector() 333 indices[0] = static_cast<ParamIndex>(coreIndex.coreIndex()); in getParamReflector()
|
/frameworks/av/media/codec2/vndk/util/ |
D | C2InterfaceHelper.cpp | 48 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()
|
D | C2Debug.cpp | 72 i.coreIndex()); in attribParamCoreIndex()
|
D | C2InterfaceUtils.cpp | 946 if (sd->coreIndex() == index) { in visited() 965 descendInto(param.coreIndex()); in C2FieldUtilsFieldsIterator() 1280 : _mIndex(param.coreIndex()), in C2FieldUtilsFieldLocation()
|
/frameworks/av/media/codec2/sfplugin/ |
D | ReflectedParamUpdater.cpp | 121 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()
|
D | ReflectedParamUpdater.h | 139 void supportWholeParam(std::string name, C2Param::CoreIndex coreIndex);
|
D | CCodecBufferChannel.cpp | 1791 switch (param->coreIndex().coreIndex()) { in handleWork() 2020 switch (info->coreIndex().coreIndex()) { in handleWork()
|
D | Codec2InfoBuilder.cpp | 139 switch (type.coreIndex()) { in addSupportedProfileLevels()
|
/frameworks/av/media/codec2/vndk/ |
D | C2Buffer.cpp | 1207 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/ |
D | C2Param.h | 205 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;
|
D | C2ParamDef.h | 70 #define _C2_CORE_INDEX_OVERRIDE(coreIndex) \ argument 72 enum : uint32_t { CORE_INDEX = coreIndex };
|
/frameworks/av/media/codec2/tests/vndk/ |
D | C2BufferTest.cpp | 788 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/ |
D | client.cpp | 848 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/ |
D | CCodecConfig_test.cpp | 283 if (param->coreIndex() == T::CORE_INDEX) { in FindParam()
|