/aosp12/frameworks/av/media/codec2/vndk/internal/ |
H A D | C2ParamInternal.h | 41 inline static uint32_t GetIndex(const C2ParamField &pf) { in GetIndex() 45 inline static uint32_t GetOffset(const C2ParamField &pf) { in GetOffset() 49 inline static uint32_t GetSize(const C2ParamField &pf) { in GetSize() 69 inline static _C2FieldId GetField(const C2ParamField &pf) { in GetField() 74 C2ParamField CreateParamField(C2Param::Index index, uint32_t offset, uint32_t size) { in CreateParamField() 75 return C2ParamField(index, offset, size); in CreateParamField() 79 C2ParamField CreateParamField(C2Param::Index index, _C2FieldId field) { in CreateParamField() 80 return C2ParamField(index, field._mOffset, field._mSize); in CreateParamField()
|
/aosp12/frameworks/av/media/codec2/core/include/ |
H A D | C2Component.h | 43 C2ParamField _mField; 49 C2FieldSupportedValuesQuery(const C2ParamField &field_, type_t type_) in C2FieldSupportedValuesQuery() 53 Current(const C2ParamField &field_) { in Current() 58 Possible(const C2ParamField &field_) { in Possible() 62 inline C2ParamField field() const { return _mField; }; in field()
|
H A D | C2Param.h | 719 struct C2ParamField { struct 752 inline C2ParamField(S* param, T* offset) in C2ParamField() argument 757 inline static C2ParamField Make(S& param, T& offset) { in Make() argument 792 inline C2ParamField(S* param) in C2ParamField() argument 796 inline C2ParamField(const C2ParamField &other) = default; 801 inline bool operator==(const C2ParamField &other) const { 808 inline bool operator<(const C2ParamField &other) const { 813 DEFINE_OTHER_COMPARISON_OPERATORS(C2ParamField) in DEFINE_OTHER_COMPARISON_OPERATORS() argument 816 inline C2ParamField(C2Param::Index index, uint32_t offset, uint32_t size) in DEFINE_OTHER_COMPARISON_OPERATORS() 1646 C2ParamField paramOrField; ///< the field or parameter [all …]
|
/aosp12/frameworks/av/media/codec2/components/tests/ |
H A D | C2SoftCodecTest.cpp | 77 C2ParamField(param.get(), &C2StreamPictureSizeInfo::width)), in TEST_F() 79 C2ParamField(param.get(), &C2StreamPictureSizeInfo::height))}; in TEST_F()
|
/aosp12/frameworks/av/media/codec2/tests/ |
H A D | C2SampleComponent_test.cpp | 190 if (query.field() == C2ParamField(&mDomainInfo, &C2ComponentDomainSetting::value)) { in querySupportedValues_vb() 403 { C2ParamField(&domainInfo, &C2ComponentDomainSetting::value), in TEST_F() 405 C2FieldSupportedValuesQuery(C2ParamField(&domainInfo, &C2ComponentDomainSetting::value), in TEST_F() 407 … C2FieldSupportedValuesQuery::Current(C2ParamField(&domainInfo, &C2ComponentDomainSetting::value)), in TEST_F()
|
H A D | C2ComponentInterface_test.cpp | 586 C2ParamField(param.get(), &field_type_name_::field_name_)) \
|
/aosp12/frameworks/av/media/codec2/vndk/include/util/ |
H A D | C2InterfaceUtils.h | 656 C2ParamFieldValuesBuilder(const C2ParamField &field); 850 static C2SettingResult ReadOnly(const C2ParamField ¶m); 858 static C2SettingResult BadValue(const C2ParamField ¶mField, bool isInfo = false); 873 C2ParamField _mParamField; 1130 const C2ParamField &pf, const std::shared_ptr<C2ParamReflector> &reflector);
|
H A D | C2Debug-param.h | 35 std::ostream& operator<<(std::ostream& os, const C2ParamField &i);
|
H A D | C2InterfaceHelper.h | 174 C2ParamField makeParamField(C2Param::Index index) const; 259 operator C2ParamField() const { 271 C2ParamField _mField; 750 C2ParamField(spParam.get(), &spParam->field))
|
/aosp12/frameworks/av/media/codec2/vndk/util/ |
H A D | C2InterfaceUtils.cpp | 41 std::ostream& operator<<(std::ostream& os, const C2ParamField &i); 383 Impl(const C2ParamField &field) in Impl() 557 C2ParamField _mParamField; 572 C2ParamFieldValuesBuilder<T>::C2ParamFieldValuesBuilder(const C2ParamField &field) in C2ParamFieldValuesBuilder() 654 C2SettingResult C2SettingResultBuilder::ReadOnly(const C2ParamField ¶m) { in ReadOnly() 658 C2SettingResult C2SettingResultBuilder::BadValue(const C2ParamField ¶mField, bool isInfo) { in BadValue() 1270 const C2ParamField &pf, std::shared_ptr<C2ParamReflector> reflector) in C2FieldUtilsFieldLocation() 1295 const C2ParamField &pf, const std::shared_ptr<C2ParamReflector> &reflector) { in locateField()
|
H A D | C2InterfaceHelper.cpp | 356 C2ParamField C2InterfaceHelper::FieldHelper::makeParamField(C2Param::Index index) const { in makeParamField() 392 C2ParamField &field, std::shared_ptr<C2InterfaceHelper::FieldHelper> helper) in SupportedValuesBuilder() 405 C2ParamField _mField;
|
H A D | C2Debug.cpp | 134 std::ostream& operator<<(std::ostream& os, const C2ParamField &i) { in operator <<()
|
/aosp12/frameworks/av/media/codec2/vndk/ |
H A D | C2Store.cpp | 193 C2FieldSupportedValuesQuery::Possible(C2ParamField::Make(usageInfo, usageInfo.usage)), in UseComponentStoreForIonAllocator() 194 C2FieldSupportedValuesQuery::Possible(C2ParamField::Make(usageInfo, usageInfo.capacity)), in UseComponentStoreForIonAllocator() 248 … C2FieldSupportedValuesQuery::Possible(C2ParamField::Make(*usageInfo, usageInfo->m.usage)), in UseComponentStoreForDmaBufAllocator() 250 C2ParamField::Make(*usageInfo, usageInfo->m.capacity)), in UseComponentStoreForDmaBufAllocator()
|
/aosp12/frameworks/av/media/codec2/sfplugin/ |
H A D | Codec2InfoBuilder.cpp | 85 C2FieldSupportedValuesQuery::Possible(C2ParamField(&pl, &pl.profile)) in addSupportedProfileLevels() 137 C2FieldSupportedValuesQuery::Current(C2ParamField(&pl, &pl.level)) in addSupportedProfileLevels()
|
H A D | CCodec.cpp | 2539 C2ParamField{&sUsage, &sUsage.value})); in init()
|
/aosp12/frameworks/av/media/codec2/hidl/1.0/utils/ |
H A D | types.cpp | 82 bool objcpy(ParamField *d, const C2ParamField &s) { in objcpy() 89 struct C2ParamFieldBuilder : public C2ParamField { 90 C2ParamFieldBuilder() : C2ParamField( in C2ParamFieldBuilder() 94 C2ParamFieldBuilder(const ParamField& s) : C2ParamField( in C2ParamFieldBuilder()
|
/aosp12/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/ |
H A D | VtsHalMediaC2V1_0TargetVideoEncTest.cpp | 457 C2ParamField(param.get(), &C2StreamPictureSizeInfo::width)), in getMaxMinResolutionSupported() 459 C2ParamField(param.get(), &C2StreamPictureSizeInfo::height))}; in getMaxMinResolutionSupported()
|
/aosp12/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/ |
H A D | VtsHalMediaC2V1_0TargetAudioEncTest.cpp | 240 C2ParamField(channelCount.get(), &C2StreamChannelCountInfo::value))}; in getChannelCount()
|