/frameworks/av/media/codec2/hal/aidl/ |
D | ComponentStore.cpp | 180 C2Param::CoreIndex coreIndex = desc->index().coreIndex(); in validateSupportedParams() local 182 auto it = mStructDescriptors.find(coreIndex); in validateSupportedParams() 184 std::shared_ptr<C2StructDescriptor> structDesc = describe(coreIndex); in validateSupportedParams() 189 mStructDescriptors.insert({ coreIndex, structDesc }); in validateSupportedParams() 356 const C2Param::CoreIndex coreIndex = in getStructDescriptors() local 357 C2Param::CoreIndex(uint32_t(indices[srcIx])).coreIndex(); in getStructDescriptors() 358 const auto item = mStructDescriptors.find(coreIndex); in getStructDescriptors() 361 if (!mUnsupportedStructDescriptors.count(coreIndex)) { in getStructDescriptors() 362 std::shared_ptr<C2StructDescriptor> structDesc = describe(coreIndex); in getStructDescriptors() 364 mUnsupportedStructDescriptors.emplace(coreIndex); in getStructDescriptors() [all …]
|
/frameworks/av/media/codec2/hal/hidl/1.0/utils/ |
D | ComponentStore.cpp | 175 C2Param::CoreIndex coreIndex = desc->index().coreIndex(); in validateSupportedParams() local 177 auto it = mStructDescriptors.find(coreIndex); in validateSupportedParams() 179 std::shared_ptr<C2StructDescriptor> structDesc = describe(coreIndex); in validateSupportedParams() 184 mStructDescriptors.insert({ coreIndex, structDesc }); in validateSupportedParams() 345 const C2Param::CoreIndex coreIndex = C2Param::CoreIndex(indices[srcIx]).coreIndex(); in getStructDescriptors() local 346 const auto item = mStructDescriptors.find(coreIndex); in getStructDescriptors() 349 if (!mUnsupportedStructDescriptors.count(coreIndex)) { in getStructDescriptors() 350 std::shared_ptr<C2StructDescriptor> structDesc = describe(coreIndex); in getStructDescriptors() 352 mUnsupportedStructDescriptors.emplace(coreIndex); in getStructDescriptors() 354 mStructDescriptors.insert({ coreIndex, structDesc }); in getStructDescriptors()
|
/frameworks/av/media/codec2/hal/hidl/1.1/utils/ |
D | ComponentStore.cpp | 175 C2Param::CoreIndex coreIndex = desc->index().coreIndex(); in validateSupportedParams() local 177 auto it = mStructDescriptors.find(coreIndex); in validateSupportedParams() 179 std::shared_ptr<C2StructDescriptor> structDesc = describe(coreIndex); in validateSupportedParams() 184 mStructDescriptors.insert({ coreIndex, structDesc }); in validateSupportedParams() 346 const C2Param::CoreIndex coreIndex = C2Param::CoreIndex(indices[srcIx]).coreIndex(); in getStructDescriptors() local 347 const auto item = mStructDescriptors.find(coreIndex); in getStructDescriptors() 350 if (!mUnsupportedStructDescriptors.count(coreIndex)) { in getStructDescriptors() 351 std::shared_ptr<C2StructDescriptor> structDesc = describe(coreIndex); in getStructDescriptors() 353 mUnsupportedStructDescriptors.emplace(coreIndex); in getStructDescriptors() 355 mStructDescriptors.insert({ coreIndex, structDesc }); in getStructDescriptors()
|
/frameworks/av/media/codec2/hal/hidl/1.2/utils/ |
D | ComponentStore.cpp | 175 C2Param::CoreIndex coreIndex = desc->index().coreIndex(); in validateSupportedParams() local 177 auto it = mStructDescriptors.find(coreIndex); in validateSupportedParams() 179 std::shared_ptr<C2StructDescriptor> structDesc = describe(coreIndex); in validateSupportedParams() 184 mStructDescriptors.insert({ coreIndex, structDesc }); in validateSupportedParams() 344 const C2Param::CoreIndex coreIndex = C2Param::CoreIndex(indices[srcIx]).coreIndex(); in getStructDescriptors() local 345 const auto item = mStructDescriptors.find(coreIndex); in getStructDescriptors() 348 if (!mUnsupportedStructDescriptors.count(coreIndex)) { in getStructDescriptors() 349 std::shared_ptr<C2StructDescriptor> structDesc = describe(coreIndex); in getStructDescriptors() 351 mUnsupportedStructDescriptors.emplace(coreIndex); in getStructDescriptors() 353 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/media/module/codecserviceregistrant/ |
D | CodecServiceRegistrant.cpp | 605 C2Param::CoreIndex coreIndex) const override { in getParamReflector() 607 return describe_aidl(coreIndex); in getParamReflector() 609 return describe_hidl(coreIndex); in getParamReflector() 616 C2Param::CoreIndex coreIndex) const { in getParamReflector() 618 indices[0] = coreIndex.coreIndex(); in getParamReflector() 651 C2Param::CoreIndex coreIndex) const { in getParamReflector() 653 indices[0] = static_cast<c2_hidl::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 | 2294 switch (param->coreIndex().coreIndex()) { in handleWork() 2543 switch (info->coreIndex().coreIndex()) { in handleWork()
|
D | Codec2InfoBuilder.cpp | 142 switch (type.coreIndex()) { in addSupportedProfileLevels()
|
D | CCodec.cpp | 2638 if (param && param->coreIndex().coreIndex() == C2StreamSurfaceScalingInfo::CORE_INDEX) { in signalSetParameters()
|
/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 1156 inline C2Param::CoreIndex coreIndex() const { return _mType.coreIndex(); } 1515 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/vndk/ |
D | C2Buffer.cpp | 1655 return C2InfoBuffer(index.coreIndex() | C2Param::Index::KIND_INFO | C2Param::Index::DIR_GLOBAL, in CreateLinearBuffer() 1662 return C2InfoBuffer(index.coreIndex() | C2Param::Index::KIND_INFO | C2Param::Index::DIR_GLOBAL, in CreateGraphicBuffer() 1717 (void) mInfos.erase(info->coreIndex()); in setInfo() 1718 (void) mInfos.insert({ info->coreIndex(), info }); in setInfo() 1723 return mInfos.count(index.coreIndex()) > 0; in hasInfo() 1727 auto it = mInfos.find(index.coreIndex()); in getInfo() 1735 auto it = mInfos.find(index.coreIndex()); in removeInfo()
|
/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/hal/common/include/codec2/common/ |
D | ParamTypes.h | 576 d->type = static_cast<decltype(d->type)>(s.coreIndex().coreIndex()); in objcpy()
|
/frameworks/av/media/codec2/hal/client/ |
D | client.cpp | 1459 C2Param::CoreIndex coreIndex) const override { in getParamReflector() 1461 indices[0] = static_cast<c2_hidl::ParamIndex>(coreIndex.coreIndex()); in getParamReflector() 1508 C2Param::CoreIndex coreIndex) const override { in getParamReflector() 1512 {int32_t(coreIndex.coreIndex())}, in getParamReflector()
|
/frameworks/av/media/codec2/sfplugin/tests/ |
D | CCodecConfig_test.cpp | 302 if (param->coreIndex() == T::CORE_INDEX) { in FindParam()
|