Searched refs:C2Value (Results 1 – 14 of 14) sorted by relevance
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecConfig.cpp | 59 typedef std::function<C2Value(C2Value)> Mapper; 96 mMapper = [](C2Value v) -> C2Value { in withC2Mappers() 102 return C2Value(); in withC2Mappers() 104 mReverse = [](C2Value v) -> C2Value { in withC2Mappers() 111 return C2Value(); in withC2Mappers() 117 C2Value mapFromMessage(const AMessage::ItemData &item) const { in mapFromMessage() 118 C2Value value; in mapFromMessage() 132 if (value.type() != C2Value::NO_INIT && mMapper) { in mapFromMessage() 139 AMessage::ItemData mapToMessage(C2Value value) const { in mapToMessage() 146 if (value.type() != C2Value::NO_INIT && mReverse) { in mapToMessage() [all …]
|
D | ReflectedParamUpdater.cpp | 45 C2Value c2Value; in debugString() 55 case C2Value::INT32: in debugString() 59 case C2Value::UINT32: in debugString() 63 case C2Value::CNTR32: in debugString() 68 case C2Value::INT64: in debugString() 72 case C2Value::UINT64: in debugString() 76 case C2Value::CNTR64: in debugString() 81 case C2Value::FLOAT: in debugString() 390 C2Value c2Value; in parseMessageAndDoWork() 550 size_t valueSize = C2Value::SizeFor((C2Value::type_t)fieldType); in getParams() [all …]
|
D | ReflectedParamUpdater.h | 57 struct Value : public AData<C2Value, int32_t, int64_t, AString, sp<ABuffer>>::Basic { 60 explicit Value(C2Value i) { set(i); } in Value()
|
D | Codec2InfoBuilder.cpp | 123 for (C2Value::Primitive profile : profileQuery[0].values.values) { in addSupportedProfileLevels() 139 C2Value::Primitive level = levelQuery[0].values.values.back(); in addSupportedProfileLevels() 170 for (C2Value::Primitive v : levelQuery[0].values.values) { in addSupportedProfileLevels()
|
/frameworks/av/media/codec2/core/include/ |
D | C2Param.h | 820 class C2Value { 891 C2Value(T value) : _mType(typeFor<T>()), _mValue(value) { } in C2Value() function 893 C2Value() : _mType(NO_INIT) { } in C2Value() function 934 template<> inline const int32_t &C2Value::Primitive::ref<int32_t>() const { return i32; } 935 template<> inline const int64_t &C2Value::Primitive::ref<int64_t>() const { return i64; } 936 template<> inline const uint32_t &C2Value::Primitive::ref<uint32_t>() const { return u32; } 937 template<> inline const uint64_t &C2Value::Primitive::ref<uint64_t>() const { return u64; } 938 template<> inline const c2_cntr32_t &C2Value::Primitive::ref<c2_cntr32_t>() const { return c32; } 939 template<> inline const c2_cntr64_t &C2Value::Primitive::ref<c2_cntr64_t>() const { return c64; } 940 template<> inline const float &C2Value::Primitive::ref<float>() const { return fp; } [all …]
|
D | C2Enum.h | 46 inline operator C2Value::Primitive() { return (T)_mValue; } in Primitive() 109 std::vector<C2Value::Primitive> { _C2_MAP(_C2_GET_ENUM_VALUE, type, __VA_ARGS__) }, \
|
/frameworks/av/media/codec2/vndk/include/util/ |
D | C2InterfaceUtils.h | 35 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
|
/frameworks/av/media/codec2/vndk/util/ |
D | C2InterfaceUtils.cpp | 170 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() 221 const C2Value::Primitive &v) -> bool { in limitedTo() 228 for (const C2Value::Primitive &v : _mValues) { in limitedTo() 264 [value](const C2Value::Primitive &p) -> bool { in contains() 271 std::vector<C2Value::Primitive> values = _mValues; // make a copy in limitedTo() 273 [&limit](const C2Value::Primitive &v) -> bool { in limitedTo() 282 std::vector<C2Value::Primitive> values = _mValues; // make a copy in limitedTo() [all …]
|
D | C2Debug.cpp | 145 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()
|
/frameworks/av/media/codec2/sfplugin/tests/ |
D | ReflectedParamUpdater_test.cpp | 178 C2Value c2Value; in TEST_F() 324 msg.emplace("composite.i32", C2Value(1314)); in TEST_F()
|
/frameworks/av/media/codec2/tests/ |
D | C2ComponentInterface_test.cpp | 351 auto prim2Value = [](const C2Value::Primitive &prim) -> TField { in getTestValues() 444 for (const C2Value::Primitive &prim : c2FSV.values) { in getTestValues()
|
D | C2Param_test.cpp | 2431 C2Value val; in TEST_F() 2438 EXPECT_EQ(C2Value::NO_INIT, val.type()); in TEST_F() 2451 EXPECT_EQ(C2Value::INT32, val.type()); in TEST_F() 2464 EXPECT_EQ(C2Value::UINT32, val.type()); in TEST_F() 2477 EXPECT_EQ(C2Value::INT64, val.type()); in TEST_F() 2490 EXPECT_EQ(C2Value::UINT64, val.type()); in TEST_F() 2503 EXPECT_EQ(C2Value::FLOAT, val.type()); in TEST_F()
|
/frameworks/av/media/codec2/vndk/ |
D | C2Store.cpp | 157 for (C2Value::Primitive v : fsv.values) { in UseComponentStoreForIonAllocator()
|
/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | types.cpp | 632 C2Value::Primitive(static_cast<uint64_t>(sNamedValue.value))); in objcpy()
|