Home
last modified time | relevance | path

Searched refs:C2ParamField (Results 1 – 18 of 18) sorted by relevance

/aosp12/frameworks/av/media/codec2/vndk/internal/
H A DC2ParamInternal.h41 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 DC2Component.h43 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 DC2Param.h719 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 DC2SoftCodecTest.cpp77 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 DC2SampleComponent_test.cpp190 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 DC2ComponentInterface_test.cpp586 C2ParamField(param.get(), &field_type_name_::field_name_)) \
/aosp12/frameworks/av/media/codec2/vndk/include/util/
H A DC2InterfaceUtils.h656 C2ParamFieldValuesBuilder(const C2ParamField &field);
850 static C2SettingResult ReadOnly(const C2ParamField &param);
858 static C2SettingResult BadValue(const C2ParamField &paramField, bool isInfo = false);
873 C2ParamField _mParamField;
1130 const C2ParamField &pf, const std::shared_ptr<C2ParamReflector> &reflector);
H A DC2Debug-param.h35 std::ostream& operator<<(std::ostream& os, const C2ParamField &i);
H A DC2InterfaceHelper.h174 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 DC2InterfaceUtils.cpp41 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 &param) { in ReadOnly()
658 C2SettingResult C2SettingResultBuilder::BadValue(const C2ParamField &paramField, 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 DC2InterfaceHelper.cpp356 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 DC2Debug.cpp134 std::ostream& operator<<(std::ostream& os, const C2ParamField &i) { in operator <<()
/aosp12/frameworks/av/media/codec2/vndk/
H A DC2Store.cpp193 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 DCodec2InfoBuilder.cpp85 C2FieldSupportedValuesQuery::Possible(C2ParamField(&pl, &pl.profile)) in addSupportedProfileLevels()
137 C2FieldSupportedValuesQuery::Current(C2ParamField(&pl, &pl.level)) in addSupportedProfileLevels()
H A DCCodec.cpp2539 C2ParamField{&sUsage, &sUsage.value})); in init()
/aosp12/frameworks/av/media/codec2/hidl/1.0/utils/
H A Dtypes.cpp82 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 DVtsHalMediaC2V1_0TargetVideoEncTest.cpp457 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 DVtsHalMediaC2V1_0TargetAudioEncTest.cpp240 C2ParamField(channelCount.get(), &C2StreamChannelCountInfo::value))}; in getChannelCount()