Home
last modified time | relevance | path

Searched refs:c2_cntr32_t (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/codec2/tests/
DC2_test.cpp80 constexpr c2_cntr32_t c32_a(123); in c2_cntr_static_test()
82 c2_cntr32_t c32_b __unused = c64_a; in c2_cntr_static_test()
88 static_assert(c32_a + c64_a == c2_cntr32_t(-333), "123 + -456 = -333"); in c2_cntr_static_test()
89 static_assert(c32_a + c32_a == c2_cntr32_t(246), "123 + 123 = 246"); in c2_cntr_static_test()
90 static_assert(c64_a + c32_a == c2_cntr32_t(-333), "-456 + 123 = 579"); in c2_cntr_static_test()
92 static_assert(c32_a + 456 == c2_cntr32_t(579), "123 + 456 = 579"); in c2_cntr_static_test()
95 static_assert(c32_a - c64_a == c2_cntr32_t(579), "123 - -456 = 579"); in c2_cntr_static_test()
96 static_assert(c32_a - c32_a == c2_cntr32_t(0), "123 - 123 = 0"); in c2_cntr_static_test()
97 static_assert(c64_a - c32_a == c2_cntr32_t(-579), "-456 - 123 = -579"); in c2_cntr_static_test()
99 static_assert(c32_a - 456 == c2_cntr32_t(-333), "123 - 456 = -333"); in c2_cntr_static_test()
[all …]
/frameworks/av/media/codec2/core/include/
DC2Param.h830 c2_cntr32_t c32; ///< c2_cntr32_t value
839 Primitive(c2_cntr32_t value) : c32(value) { } in Primitive()
938 template<> inline const c2_cntr32_t &C2Value::Primitive::ref<c2_cntr32_t>() const { return c32; }
949 template<> constexpr C2Value::type_t C2Value::TypeFor<c2_cntr32_t, false>() { return CNTR32; }
1078 inline static type_t GetType(c2_cntr32_t*) { return CNTR32; } in GetType()
1131 DEFINE_NO_NAMED_VALUES_FOR(c2_cntr32_t)
DC2.h399 typedef c2_cntr_t<uint32_t> c2_cntr32_t; /** 32-bit counter type */ typedef
/frameworks/av/media/codec2/sfplugin/
DReflectedParamUpdater.cpp65 (void)c2Value.get((c2_cntr32_t*)&uint32Value); in debugString()
408 if ((param->second.find(&c2Value) && c2Value.get((c2_cntr32_t*)&int32Value)) in parseMessageAndDoWork()
561 case C2FieldDescriptor::CNTR32: c2Value = *((c2_cntr32_t *)data); break; in getParams()
DCCodecConfig.cpp1322 || c2Value.get((c2_cntr32_t*)&int32Value)) { in relaxValues()