Home
last modified time | relevance | path

Searched refs:_C2FlexHelper (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/codec2/core/include/
DC2ParamDef.h136 struct C2_HIDE _C2FlexHelper { struct
143 struct C2_HIDE _C2FlexHelper<S, argument
145 typedef typename _C2FlexHelper<typename S::_FlexMemberType>::FlexType FlexType;
146 enum : uint32_t { FLEX_SIZE = _C2FlexHelper<typename S::_FlexMemberType>::FLEX_SIZE };
151 struct C2_HIDE _C2FlexHelper<S[],
152 typename std::enable_if<std::is_void<typename _C2FlexHelper<S>::FlexType>::value>::type> {
189 FLEX_SIZE = _C2FlexHelper<S>::FLEX_SIZE, ///< size of flexible type
308 template<typename, typename> friend struct _C2FlexHelper; \
314 typedef typename _C2FlexHelper<_FlexMemberType>::FlexType FlexType; \
318 enum : uint32_t { FLEX_SIZE = _C2FlexHelper<_FlexMemberType>::FLEX_SIZE }; \
/frameworks/av/media/codec2/tests/
DC2Param_test.cpp1729 static_assert(std::is_same<_C2FlexHelper<char>::FlexType, void>::value, "should be void"); in StaticTest()
1730 static_assert(std::is_same<_C2FlexHelper<char[]>::FlexType, char>::value, "should be char"); in StaticTest()
1731 static_assert(std::is_same<_C2FlexHelper<_Flex>::FlexType, char>::value, "should be char"); in StaticTest()
1733 … static_assert(std::is_same<_C2FlexHelper<_BoFlex>::FlexType, char>::value, "should be void"); in StaticTest()