Home
last modified time | relevance | path

Searched refs:Primitive (Results 1 – 10 of 10) sorted by relevance

/hardware/google/av/codec2/include/
DC2Param.h809 union Primitive { union
820 Primitive(uint64_t value) : u64(value) { } in Primitive() function
821 Primitive(int64_t value) : i64(value) { } in Primitive() function
822 Primitive(c2_cntr64_t value) : c64(value) { } in Primitive() function
823 Primitive(uint32_t value) : u32(value) { } in Primitive() function
824 Primitive(int32_t value) : i32(value) { } in Primitive() function
825 Primitive(c2_cntr32_t value) : c32(value) { } in Primitive() function
826 Primitive(uint8_t value) : u32(value) { } in Primitive() function
827 Primitive(char value) : i32(value) { } in Primitive() function
828 Primitive(float value) : fp(value) { } in Primitive() function
[all …]
DC2Enum.h46 inline operator C2Value::Primitive() { return (T)_mValue; } in Primitive() function
109 std::vector<C2Value::Primitive> { _C2_MAP(_C2_GET_ENUM_VALUE, type, __VA_ARGS__) }, \
/hardware/google/av/codec2/tests/
DC2SampleComponent_test.cpp223 int32_t get(const C2FieldSupportedValues::Primitive &p, int32_t*) { in get()
226 int64_t get(const C2FieldSupportedValues::Primitive &p, int64_t*) { in get()
229 uint32_t get(const C2FieldSupportedValues::Primitive &p, uint32_t*) { in get()
232 uint64_t get(const C2FieldSupportedValues::Primitive &p, uint64_t*) { in get()
235 float get(const C2FieldSupportedValues::Primitive &p, float*) { in get()
242 typename std::underlying_type<E>::type get(const C2FieldSupportedValues::Primitive &p, E*) { in get()
260 const C2FieldSupportedValues::Primitive &p, E*) { in get()
283 for (const C2FieldSupportedValues::Primitive &p : sv.values) { in dumpFSV()
DC2ComponentInterface_test.cpp351 auto prim2Value = [](const C2Value::Primitive &prim) -> TField { in getTestValues()
444 for (const C2Value::Primitive &prim : c2FSV.values) { in getTestValues()
/hardware/google/av/codec2/vndk/include/util/
DC2InterfaceUtils.h35 inline static std::ostream& put(std::ostream &os, const C2Value::Primitive &p) { in put()
43 static std::ostream& put(std::ostream &os, const C2Value::Primitive &p);
49 static std::ostream& put(std::ostream &os, const C2Value::Primitive &p);
352 return C2SupportedFlags(std::initializer_list<C2Value::Primitive>());
438 C2SupportedFlags(std::vector<C2Value::Primitive> &&values)
466 std::vector<C2Value::Primitive> _mValues; ///< the minimum flag set followed by the set of flags
577 C2SupportedValueSet(std::vector<C2Value::Primitive> &&values)
603 std::vector<C2Value::Primitive> _mValues; ///< the supported set of values
/hardware/google/av/codec2/vndk/util/
DC2InterfaceUtils.cpp170 std::vector<C2Value::Primitive> values; in limitedTo()
188 for (const C2Value::Primitive &v : _mValues) { in contains()
204 [](const C2Value::Primitive &p)->T { in flags()
213 std::vector<C2Value::Primitive> values = _mValues; // make a copy in limitedTo()
219 …std::remove_if(values.begin(), values.end(), [&limit, minMask](const C2Value::Primitive &v) -> boo… in limitedTo()
223 for (const C2Value::Primitive &v : _mValues) { in limitedTo()
259 [value](const C2Value::Primitive &p) -> bool { in contains()
266 std::vector<C2Value::Primitive> values = _mValues; // make a copy in limitedTo()
267 std::remove_if(values.begin(), values.end(), [&limit](const C2Value::Primitive &v) -> bool { in limitedTo()
274 std::vector<C2Value::Primitive> values = _mValues; // make a copy in limitedTo()
[all …]
DC2Debug.cpp145 std::ostream& _C2FieldValueHelper<char>::put(std::ostream &os, const C2Value::Primitive &p) { in put()
153 std::ostream& _C2FieldValueHelper<uint8_t>::put(std::ostream &os, const C2Value::Primitive &p) { in put()
/hardware/google/av/media/sfplugin/
DCodec2InfoBuilder.cpp500 for (C2Value::Primitive profile : profileQuery[0].values.values) { in buildMediaCodecList()
514 C2Value::Primitive level = levelQuery[0].values.values.back(); in buildMediaCodecList()
550 for (C2Value::Primitive v : levelQuery[0].values.values) { in buildMediaCodecList()
/hardware/google/av/codec2/vndk/
DC2Store.cpp153 for (C2Value::Primitive v : fsv.values) { in UseComponentStoreForIonAllocator()
/hardware/google/av/codec2/hidl/1.0/utils/
Dtypes.cpp552 C2Value::Primitive(static_cast<uint64_t>(sNamedValue.value))); in objcpy()