/frameworks/av/media/codec2/sfplugin/ |
D | CCodecConfig.cpp | 62 void C2ValueToMessageItem(const C2Value &value, AMessage::ItemData &item) { in C2ValueToMessageItem() 90 typedef std::function<C2Value(C2Value)> Mapper; 127 mMapper = [](C2Value v) -> C2Value { in withC2Mappers() 133 return C2Value(); in withC2Mappers() 135 mReverse = [](C2Value v) -> C2Value { in withC2Mappers() 142 return C2Value(); in withC2Mappers() 148 C2Value mapFromMessage(const AMessage::ItemData &item) const { in mapFromMessage() 149 C2Value value; in mapFromMessage() 163 if (value.type() != C2Value::NO_INIT && mMapper) { in mapFromMessage() 170 AMessage::ItemData mapToMessage(C2Value value) const { 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() 406 C2Value c2Value; in parseMessageAndDoWork() 566 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 | 175 for (C2Value::Primitive profile : profileQuery[0].values.values) { in addSupportedProfileLevels() 191 C2Value::Primitive level = levelQuery[0].values.values.back(); in addSupportedProfileLevels() 229 for (C2Value::Primitive v : levelQuery[0].values.values) { in addSupportedProfileLevels() 274 for (C2Value::Primitive value : fsv.values) { in addSupportedColorFormats()
|
D | CCodec.cpp | 3304 for (const C2Value::Primitive &flags : supported.values) { in CalculateMinMaxUsage()
|
/frameworks/av/media/codec2/core/include/ |
D | C2Param.h | 831 class C2Value { 902 C2Value(T value) : _mType(typeFor<T>()), _mValue(value) { } in C2Value() function 904 C2Value() : _mType(NO_INIT) { } in C2Value() function 945 template<> inline const int32_t &C2Value::Primitive::ref<int32_t>() const { return i32; } 946 template<> inline const int64_t &C2Value::Primitive::ref<int64_t>() const { return i64; } 947 template<> inline const uint32_t &C2Value::Primitive::ref<uint32_t>() const { return u32; } 948 template<> inline const uint64_t &C2Value::Primitive::ref<uint64_t>() const { return u64; } 949 template<> inline const c2_cntr32_t &C2Value::Primitive::ref<c2_cntr32_t>() const { return c32; } 950 template<> inline const c2_cntr64_t &C2Value::Primitive::ref<c2_cntr64_t>() const { return c64; } 951 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, name, __VA_ARGS__) }, \
|
/frameworks/av/media/codec2/vndk/include/util/ |
D | C2InterfaceUtils.h | 36 inline static std::ostream& put(std::ostream &os, const C2Value::Primitive &p) { in put() 44 static std::ostream& put(std::ostream &os, const C2Value::Primitive &p); 50 static std::ostream& put(std::ostream &os, const C2Value::Primitive &p); 353 return C2SupportedFlags(std::initializer_list<C2Value::Primitive>()); 439 C2SupportedFlags(std::vector<C2Value::Primitive> &&values) 467 std::vector<C2Value::Primitive> _mValues; ///< the minimum flag set followed by the set of flags 578 C2SupportedValueSet(std::vector<C2Value::Primitive> &&values) 604 std::vector<C2Value::Primitive> _mValues; ///< the supported set of values
|
/frameworks/av/media/codec2/vndk/util/ |
D | C2InterfaceUtils.cpp | 172 std::vector<C2Value::Primitive> values; in limitedTo() 190 for (const C2Value::Primitive &v : _mValues) { in contains() 206 [](const C2Value::Primitive &p)->T { in flags() 215 std::vector<C2Value::Primitive> values = _mValues; // make a copy in limitedTo() 223 const C2Value::Primitive &v) -> bool { in limitedTo() 230 for (const C2Value::Primitive &v : _mValues) { in limitedTo() 266 [value](const C2Value::Primitive &p) -> bool { in contains() 273 std::vector<C2Value::Primitive> values = _mValues; // make a copy in limitedTo() 275 [&limit](const C2Value::Primitive &v) -> bool { in limitedTo() 284 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 | 2450 C2Value val; in TEST_F() 2457 EXPECT_EQ(C2Value::NO_INIT, val.type()); in TEST_F() 2470 EXPECT_EQ(C2Value::INT32, val.type()); in TEST_F() 2483 EXPECT_EQ(C2Value::UINT32, val.type()); in TEST_F() 2496 EXPECT_EQ(C2Value::INT64, val.type()); in TEST_F() 2509 EXPECT_EQ(C2Value::UINT64, val.type()); in TEST_F() 2522 EXPECT_EQ(C2Value::FLOAT, val.type()); in TEST_F()
|
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/video/ |
D | VtsHalMediaC2V1_0TargetVideoEncTest.cpp | 484 for (const C2Value::Primitive& prim : c2FSVWidth.values) { in getMaxMinResolutionSupported() 489 for (const C2Value::Primitive& prim : c2FSVHeight.values) { in getMaxMinResolutionSupported()
|
/frameworks/av/media/codec2/vndk/ |
D | C2Store.cpp | 214 for (C2Value::Primitive v : fsv.values) { in UseComponentStoreForIonAllocator() 270 for (C2Value::Primitive v : fsv.values) { in UseComponentStoreForDmaBufAllocator()
|
/frameworks/av/media/codec2/hal/common/include/codec2/common/ |
D | ParamTypes.h | 619 C2Value::Primitive(static_cast<uint64_t>(sNamedValue.value))); in objcpy()
|
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/audio/ |
D | VtsHalMediaC2V1_0TargetAudioEncTest.cpp | 262 for (const C2Value::Primitive& prim : c2FSV.values) { in getChannelCount()
|
D | VtsHalMediaC2V1_0TargetAudioDecTest.cpp | 325 for (const C2Value::Primitive& prim : supportedValues.values) { in configureLargeFrameParams()
|