Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/vndk/internal/
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()
/frameworks/av/media/codec2/core/include/
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()
DC2Param.h710 struct C2ParamField { struct
743 inline C2ParamField(S* param, T* offset) in C2ParamField() function
748 inline static C2ParamField Make(S& param, T& offset) { in Make() argument
749 return C2ParamField(param.index(), (uintptr_t)&offset - (uintptr_t)&param, sizeof(T)); in Make()
768 inline C2ParamField(U *p, R T::* pm) : _mIndex(p->index()), _mFieldId(p, pm) { } in C2ParamField() function
783 inline C2ParamField(S* param) in C2ParamField() function
787 inline C2ParamField(const C2ParamField &other) = default;
792 inline bool operator==(const C2ParamField &other) const {
799 inline bool operator<(const C2ParamField &other) const {
804 DEFINE_OTHER_COMPARISON_OPERATORS(C2ParamField) in DEFINE_OTHER_COMPARISON_OPERATORS() argument
[all …]
/frameworks/av/media/codec2/tests/
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()
DC2ComponentInterface_test.cpp586 C2ParamField(param.get(), &field_type_name_::field_name_)) \
/frameworks/av/media/codec2/vndk/include/util/
DC2Debug-param.h35 std::ostream& operator<<(std::ostream& os, const C2ParamField &i);
DC2InterfaceUtils.h655 C2ParamFieldValuesBuilder(const C2ParamField &field);
849 static C2SettingResult ReadOnly(const C2ParamField &param);
857 static C2SettingResult BadValue(const C2ParamField &paramField, bool isInfo = false);
872 C2ParamField _mParamField;
1129 const C2ParamField &pf, const std::shared_ptr<C2ParamReflector> &reflector);
DC2InterfaceHelper.h174 C2ParamField makeParamField(C2Param::Index index) const;
259 operator C2ParamField() const {
271 C2ParamField _mField;
750 C2ParamField(spParam.get(), &spParam->field))
/frameworks/av/media/codec2/vndk/util/
DC2InterfaceUtils.cpp39 std::ostream& operator<<(std::ostream& os, const C2ParamField &i);
381 Impl(const C2ParamField &field) in Impl()
555 C2ParamField _mParamField;
570 C2ParamFieldValuesBuilder<T>::C2ParamFieldValuesBuilder(const C2ParamField &field) in C2ParamFieldValuesBuilder()
652 C2SettingResult C2SettingResultBuilder::ReadOnly(const C2ParamField &param) { in ReadOnly()
656 C2SettingResult C2SettingResultBuilder::BadValue(const C2ParamField &paramField, bool isInfo) { in BadValue()
1268 const C2ParamField &pf, std::shared_ptr<C2ParamReflector> reflector) in C2FieldUtilsFieldLocation()
1293 const C2ParamField &pf, const std::shared_ptr<C2ParamReflector> &reflector) { in locateField()
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;
DC2Debug.cpp134 std::ostream& operator<<(std::ostream& os, const C2ParamField &i) { in operator <<()
/frameworks/av/media/codec2/sfplugin/
DCodec2InfoBuilder.cpp85 C2FieldSupportedValuesQuery::Possible(C2ParamField(&pl, &pl.profile)) in addSupportedProfileLevels()
129 C2FieldSupportedValuesQuery::Current(C2ParamField(&pl, &pl.level)) in addSupportedProfileLevels()
/frameworks/av/media/codec2/hidl/1.0/utils/
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()
/frameworks/av/media/codec2/vndk/
DC2Store.cpp147 C2FieldSupportedValuesQuery::Possible(C2ParamField::Make(usageInfo, usageInfo.usage)), in UseComponentStoreForIonAllocator()
148 C2FieldSupportedValuesQuery::Possible(C2ParamField::Make(usageInfo, usageInfo.capacity)), in UseComponentStoreForIonAllocator()