Home
last modified time | relevance | path

Searched refs:_C2FieldId (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/media/codec2/tests/
DC2Param_test.cpp27 void PrintTo(const _C2FieldId &id, ::std::ostream* os) { in PrintTo()
150 EXPECT_EQ(_C2FieldId(0, 4), fields[0]._mFieldId); in TEST_P()
541 EXPECT_EQ(_C2FieldId(0, 4), _C2FieldId(&((C2TestStruct_A*)0)->signed32)); in TEST_F()
542 EXPECT_EQ(_C2FieldId(4, 8), _C2FieldId(&((C2TestStruct_A*)0)->signed64)); in TEST_F()
543 EXPECT_EQ(_C2FieldId(20, 4), _C2FieldId(&((C2TestStruct_A*)0)->unsigned32)); in TEST_F()
544 EXPECT_EQ(_C2FieldId(24, 8), _C2FieldId(&((C2TestStruct_A*)0)->unsigned64)); in TEST_F()
545 EXPECT_EQ(_C2FieldId(32, 4), _C2FieldId(&((C2TestStruct_A*)0)->fp32)); in TEST_F()
546 EXPECT_EQ(_C2FieldId(36, 8), _C2FieldId(&((C2TestStruct_A*)0)->sz)); in TEST_F()
547 EXPECT_EQ(_C2FieldId(60, 1), _C2FieldId(&((C2TestStruct_A*)0)->blob)); in TEST_F()
548 EXPECT_EQ(_C2FieldId(160, 1), _C2FieldId(&((C2TestStruct_A*)0)->string)); in TEST_F()
[all …]
/frameworks/av/media/codec2/vndk/internal/
DC2ParamInternal.h53 inline static uint32_t GetOffset(const _C2FieldId &f) { in GetOffset()
57 inline static uint32_t GetSize(const _C2FieldId &f) { in GetSize()
61 inline static _C2FieldId GetField(const C2FieldDescriptor &fd) { in GetField()
69 inline static _C2FieldId GetField(const C2ParamField &pf) { in GetField()
79 C2ParamField CreateParamField(C2Param::Index index, _C2FieldId field) { in CreateParamField()
/frameworks/av/media/codec2/vndk/include/util/
DC2Debug-param.h33 std::ostream& operator<<(std::ostream& os, const _C2FieldId &i);
DC2InterfaceHelper.h163 FieldHelper(const ParamRef &param, const _C2FieldId &field,
197 _C2FieldId mFieldId;
DC2InterfaceUtils.h1125 const C2Param &param, const _C2FieldId &field,
/frameworks/av/media/codec2/core/include/
DC2Param.h627 struct _C2FieldId { struct
635 inline _C2FieldId(T* offset) in _C2FieldId() function
646 inline _C2FieldId(size_t offset, size_t size) in _C2FieldId() argument
657 inline _C2FieldId(U *, R T::* pm) in _C2FieldId() argument
667 inline _C2FieldId(R T::* pm) in _C2FieldId() function
671 inline bool operator==(const _C2FieldId &other) const {
675 inline bool operator<(const _C2FieldId &other) const {
681 DEFINE_OTHER_COMPARISON_OPERATORS(_C2FieldId) in DEFINE_OTHER_COMPARISON_OPERATORS() argument
689 friend void PrintTo(const _C2FieldId &d, ::std::ostream*); argument
814 _C2FieldId _mFieldId; ///< field identifier
[all …]
/frameworks/av/media/codec2/vndk/util/
DC2InterfaceHelper.cpp117 _C2FieldId(f.offset(), f.size()), in createFieldsAndSupportedValues()
119 mParam, _C2FieldId(f.offset(), f.size()), std::move(fsvPointer))); in createFieldsAndSupportedValues()
127 auto it = mFields.find(_C2FieldId(baseOffs, baseSize)); in findField()
251 std::map<_C2FieldId, std::shared_ptr<FieldHelper>> mFields;
360 C2InterfaceHelper::FieldHelper::FieldHelper(const ParamRef &param, const _C2FieldId &field, in FieldHelper()
DC2Debug.cpp112 static std::string attribFieldId(const _C2FieldId &i) { in attribFieldId()
119 std::ostream& operator<<(std::ostream& os, const _C2FieldId &i) { in operator <<()
DC2InterfaceUtils.cpp37 std::ostream& operator<<(std::ostream& os, const _C2FieldId &i);
1154 C2Param::CoreIndex index, const _C2FieldId &field, uint32_t paramSize, in C2FieldUtilsFieldLocator()
1239 _C2FieldId _mField;
1262 const C2Param &param, const _C2FieldId &field, in C2FieldUtilsFieldLocation()
1271 _C2FieldId _mField;
1285 const C2Param &param, const _C2FieldId &field, in locateField()