Home
last modified time | relevance | path

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

/hardware/google/av/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()
/hardware/google/av/codec2/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.h696 struct C2ParamField { struct
729 inline C2ParamField(S* param, T* offset) in C2ParamField() argument
734 inline static C2ParamField Make(S& param, T& offset) { in Make() argument
735 return C2ParamField(param.index(), (uintptr_t)&offset - (uintptr_t)&param, sizeof(T)); in Make()
754 inline C2ParamField(U *p, R T::* pm) : _mIndex(p->index()), _mFieldId(p, pm) { } in C2ParamField() function
769 inline C2ParamField(S* param) in C2ParamField() function
773 inline C2ParamField(const C2ParamField &other) = default;
778 inline bool operator==(const C2ParamField &other) const {
785 inline bool operator<(const C2ParamField &other) const {
790 DEFINE_OTHER_COMPARISON_OPERATORS(C2ParamField) in DEFINE_OTHER_COMPARISON_OPERATORS() argument
[all …]
/hardware/google/av/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))
/hardware/google/av/codec2/tests/
DC2SampleComponent_test.cpp190 if (query.field() == C2ParamField(&mDomainInfo, &C2ComponentDomainInfo::value)) { in querySupportedValues_vb()
403 { C2ParamField(&domainInfo, &C2ComponentDomainInfo::value), in TEST_F()
405 C2FieldSupportedValuesQuery(C2ParamField(&domainInfo, &C2ComponentDomainInfo::value), in TEST_F()
407 … C2FieldSupportedValuesQuery::Current(C2ParamField(&domainInfo, &C2ComponentDomainInfo::value)), in TEST_F()
DC2ComponentInterface_test.cpp586 C2ParamField(param.get(), &field_type_name_::field_name_)) \
/hardware/google/av/codec2/vndk/util/
DC2InterfaceUtils.cpp39 std::ostream& operator<<(std::ostream& os, const C2ParamField &i);
367 Impl(const C2ParamField &field) in Impl()
541 C2ParamField _mParamField;
556 C2ParamFieldValuesBuilder<T>::C2ParamFieldValuesBuilder(const C2ParamField &field) in C2ParamFieldValuesBuilder()
638 C2SettingResult C2SettingResultBuilder::ReadOnly(const C2ParamField &param) { in ReadOnly()
642 C2SettingResult C2SettingResultBuilder::BadValue(const C2ParamField &paramField, bool isInfo) { in BadValue()
1254 const C2ParamField &pf, std::shared_ptr<C2ParamReflector> reflector) in C2FieldUtilsFieldLocation()
1279 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 <<()
/hardware/google/av/media/sfplugin/
DCodec2InfoBuilder.cpp480 C2FieldSupportedValuesQuery::Possible(C2ParamField(&pl, &pl.profile)) in buildMediaCodecList()
506 C2FieldSupportedValuesQuery::Current(C2ParamField(&pl, &pl.level)) in buildMediaCodecList()
/hardware/google/av/codec2/hidl/1.0/utils/
Dtypes.cpp75 void objcpy(ParamField *d, const C2ParamField &s) { in objcpy()
81 struct C2ParamFieldBuilder : public C2ParamField {
82 C2ParamFieldBuilder() : C2ParamField( in C2ParamFieldBuilder()
86 C2ParamFieldBuilder(const ParamField& s) : C2ParamField( in C2ParamFieldBuilder()
/hardware/google/av/codec2/vndk/
DC2Store.cpp143 C2FieldSupportedValuesQuery::Possible(C2ParamField::Make(usageInfo, usageInfo.usage)), in UseComponentStoreForIonAllocator()
144 C2FieldSupportedValuesQuery::Possible(C2ParamField::Make(usageInfo, usageInfo.capacity)), in UseComponentStoreForIonAllocator()