Home
last modified time | relevance | path

Searched refs:C2FieldDescriptor (Results 1 – 15 of 15) sorted by relevance

/hardware/google/av/codec2/vndk/internal/
DC2ParamInternal.h23 inline static uint32_t GetOffset(const C2FieldDescriptor &fd) { in GetOffset()
27 inline static void SetOffset(C2FieldDescriptor &fd, uint32_t offset) { in SetOffset()
31 inline static uint32_t GetEndOffset(const C2FieldDescriptor &fd, uint32_t paramSize = 0) {
37 inline static uint32_t GetSize(const C2FieldDescriptor &fd) { in GetSize()
61 inline static _C2FieldId GetField(const C2FieldDescriptor &fd) { in GetField()
91 C2FieldDescriptor &fd, C2FieldDescriptor::NamedValuesType &&namedValues) { in AddNamedValues()
97 std::vector<C2FieldDescriptor> &&fields) { in CreateStructDescriptor()
102 C2FieldDescriptor OffsetFieldDescriptor(const C2FieldDescriptor &fd, size_t offset) { in OffsetFieldDescriptor()
103 return C2FieldDescriptor(fd, offset); in OffsetFieldDescriptor()
/hardware/google/av/media/sfplugin/
DReflectedParamUpdater.cpp150 if (it->type() & C2FieldDescriptor::STRUCT_FLAG) { in addParamStructDesc()
168 case C2FieldDescriptor::INT32: in addParamStructDesc()
169 case C2FieldDescriptor::UINT32: in addParamStructDesc()
170 case C2FieldDescriptor::CNTR32: in addParamStructDesc()
171 case C2FieldDescriptor::INT64: in addParamStructDesc()
172 case C2FieldDescriptor::UINT64: in addParamStructDesc()
173 case C2FieldDescriptor::CNTR64: in addParamStructDesc()
174 case C2FieldDescriptor::FLOAT: in addParamStructDesc()
180 case C2FieldDescriptor::STRING: in addParamStructDesc()
181 case C2FieldDescriptor::BLOB: in addParamStructDesc()
[all …]
DReflectedParamUpdater.h198 std::unique_ptr<C2FieldDescriptor> fieldDesc;
/hardware/google/av/codec2/tests/
DC2SampleComponent_test.cpp33 void PrintTo(const C2FieldDescriptor &fd, ::std::ostream *os) { in PrintTo()
34 using FD=C2FieldDescriptor; in PrintTo()
331 void dumpType(C2FieldDescriptor::type_t type) { in dumpType()
334 case C2FieldDescriptor::BLOB: cout << "blob "; break; in dumpType()
335 case C2FieldDescriptor::FLOAT: cout << "float "; break; in dumpType()
336 case C2FieldDescriptor::INT32: cout << "int32_t "; break; in dumpType()
337 case C2FieldDescriptor::INT64: cout << "int64_t "; break; in dumpType()
338 case C2FieldDescriptor::UINT32: cout << "uint32_t "; break; in dumpType()
339 case C2FieldDescriptor::UINT64: cout << "uint64_t "; break; in dumpType()
340 case C2FieldDescriptor::STRING: cout << "char "; break; in dumpType()
[all …]
DC2Param_test.cpp31 void PrintTo(const C2FieldDescriptor &fd, ::std::ostream *os) { in PrintTo()
32 using FD=C2FieldDescriptor; in PrintTo()
71 typedef C2FieldDescriptor FD;
77 : public ::testing::TestWithParam<std::vector<C2FieldDescriptor>> {
96 const static std::vector<C2FieldDescriptor> _FIELD_LIST;
97 static const std::vector<C2FieldDescriptor> FieldList(); // <= needed for C2FieldDescriptor
105 bool operator==(const C2FieldDescriptor &a, const C2FieldDescriptor &b) {
123 const static std::vector<C2FieldDescriptor> _FIELD_LIST;
124 static const std::vector<C2FieldDescriptor> FieldList();
129 const std::vector<C2FieldDescriptor> C2TestStruct_A::FieldList() { in FieldList()
[all …]
DC2UtilTest.cpp82 C2FieldDescriptor::namedValuesFor(e3); in TEST_F()
/hardware/google/av/codec2/include/
DC2Enum.h75 static C2_HIDE C2FieldDescriptor::NamedValuesType sanitizeEnumValues(
79 C2FieldDescriptor::NamedValuesType namedValues;
88 static C2_HIDE C2FieldDescriptor::NamedValuesType customEnumValues( in customEnumValues()
90 C2FieldDescriptor::NamedValuesType namedValues; in customEnumValues()
107 C2FieldDescriptor::NamedValuesType C2FieldDescriptor::namedValuesFor(const name &r __unused) { \
123 C2FieldDescriptor::NamedValuesType C2FieldDescriptor::namedValuesFor(const name &r __unused) { \
DC2Param.h680 friend struct C2FieldDescriptor;
949 struct C2FieldDescriptor { struct
1002 …inline C2FieldDescriptor(uint32_t type, uint32_t extent, C2String name, size_t offset, size_t size) in C2FieldDescriptor() argument
1005 inline C2FieldDescriptor(const C2FieldDescriptor &) = default;
1008 inline C2FieldDescriptor(const T* offset, const char *name) in C2FieldDescriptor() argument
1026 inline C2FieldDescriptor(S*, T S::* field, const char *name) in C2FieldDescriptor() argument
1043 friend void PrintTo(const C2FieldDescriptor &, ::std::ostream*); argument
1044 friend bool operator==(const C2FieldDescriptor &, const C2FieldDescriptor &);
1052 inline C2FieldDescriptor(const C2FieldDescriptor &desc, size_t offset) in C2FieldDescriptor() argument
1101 struct C2FieldDescriptor::_NamedValuesGetter<B, false> { argument
[all …]
DC2ParamDef.h173 inline static const std::vector<C2FieldDescriptor> FieldList() { return S::FieldList(); }
915 const std::vector<C2FieldDescriptor> C2SimpleValueStruct<T>::FieldList() {
919 const std::vector<C2FieldDescriptor> C2SimpleValueStruct<T[]>::FieldList() {
923 const std::vector<C2FieldDescriptor> C2SimpleArrayStruct<T>::FieldList() {
/hardware/google/av/codec2/vndk/util/
DC2Debug.cpp51 const char *asString(C2FieldDescriptor::type_t i, const char *def) { in asString()
53 case C2FieldDescriptor::BLOB: return "u8"; in asString()
54 case C2FieldDescriptor::CNTR32: return "c32"; in asString()
55 case C2FieldDescriptor::CNTR64: return "c64"; in asString()
56 case C2FieldDescriptor::FLOAT: return "fp"; in asString()
57 case C2FieldDescriptor::INT32: return "i32"; in asString()
58 case C2FieldDescriptor::INT64: return "i64"; in asString()
59 case C2FieldDescriptor::STRING: return "chr"; in asString()
60 case C2FieldDescriptor::UINT32: return "u32"; in asString()
61 case C2FieldDescriptor::UINT64: return "u64"; in asString()
[all …]
DC2InterfaceUtils.cpp705 C2FieldDescriptor field;
719 Impl(const C2FieldDescriptor &field_, std::shared_ptr<Impl> parent_, in Impl()
768 case C2FieldDescriptor::BLOB: in isArithmetic()
769 case C2FieldDescriptor::CNTR32: in isArithmetic()
770 case C2FieldDescriptor::CNTR64: in isArithmetic()
771 case C2FieldDescriptor::FLOAT: in isArithmetic()
772 case C2FieldDescriptor::INT32: in isArithmetic()
773 case C2FieldDescriptor::INT64: in isArithmetic()
774 case C2FieldDescriptor::STRING: in isArithmetic()
775 case C2FieldDescriptor::UINT32: in isArithmetic()
[all …]
DC2InterfaceHelper.cpp53 for (const C2FieldDescriptor &fd : strukt) { in addStructDescriptor()
54 if (fd.type() & C2FieldDescriptor::STRUCT_FLAG) { in addStructDescriptor()
55 C2Param::CoreIndex coreIndex = fd.type() &~ C2FieldDescriptor::STRUCT_FLAG; in addStructDescriptor()
102 case C2FieldDescriptor::INT32: fsv = C2SupportedRange<int32_t>::Any(); break; in createFieldsAndSupportedValues()
103 case C2FieldDescriptor::UINT32: fsv = C2SupportedRange<uint32_t>::Any(); break; in createFieldsAndSupportedValues()
104 case C2FieldDescriptor::INT64: fsv = C2SupportedRange<int64_t>::Any(); break; in createFieldsAndSupportedValues()
105 case C2FieldDescriptor::UINT64: fsv = C2SupportedRange<uint64_t>::Any(); break; in createFieldsAndSupportedValues()
106 case C2FieldDescriptor::FLOAT: fsv = C2SupportedRange<float>::Any(); break; in createFieldsAndSupportedValues()
107 case C2FieldDescriptor::BLOB: fsv = C2SupportedRange<uint8_t>::Any(); break; in createFieldsAndSupportedValues()
108 case C2FieldDescriptor::STRING: fsv = C2SupportedRange<char>::Any(); break; in createFieldsAndSupportedValues()
[all …]
/hardware/google/av/codec2/vndk/include/util/
DC2Debug-param.h28 C2_DECLARE_AS_STRING_AND_DEFINE_STREAM_OUT(C2FieldDescriptor::type_t)
34 std::ostream& operator<<(std::ostream& os, const C2FieldDescriptor &i);
DC2InterfaceUtils.h954 typedef C2FieldDescriptor::type_t type_t; ///< field type
955 typedef C2FieldDescriptor::NamedValuesType NamedValuesType; ///< named values list type
/hardware/google/av/codec2/hidl/1.0/utils/
Dtypes.cpp538 std::vector<C2FieldDescriptor> dFields; in objcpy()
541 C2FieldDescriptor dField = { in objcpy()
547 C2FieldDescriptor::NamedValuesType namedValues; in objcpy()