Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/core/include/
DC2ParamDef.h133 struct C2_HIDE _C2FlexHelper { struct
140 struct C2_HIDE _C2FlexHelper<S, argument
142 typedef typename _C2FlexHelper<typename S::_FlexMemberType>::FlexType FlexType;
143 enum : uint32_t { FLEX_SIZE = _C2FlexHelper<typename S::_FlexMemberType>::FLEX_SIZE };
148 struct C2_HIDE _C2FlexHelper<S[],
149 typename std::enable_if<std::is_void<typename _C2FlexHelper<S>::FlexType>::value>::type> {
186 FLEX_SIZE = _C2FlexHelper<S>::FLEX_SIZE, ///< size of flexible type
280 template<typename, typename> friend struct _C2FlexHelper; \
286 typedef typename _C2FlexHelper<_FlexMemberType>::FlexType FlexType; \
290 enum : uint32_t { FLEX_SIZE = _C2FlexHelper<_FlexMemberType>::FLEX_SIZE }; \
/frameworks/av/media/codec2/sfplugin/tests/
DReflectedParamUpdater_test.cpp71 static_assert(_C2FlexHelper<C2CompositeStruct>::FLEX_SIZE == 1, "");
/frameworks/av/media/codec2/tests/
DC2Param_test.cpp1721 static_assert(std::is_same<_C2FlexHelper<char>::FlexType, void>::value, "should be void"); in StaticTest()
1722 static_assert(std::is_same<_C2FlexHelper<char[]>::FlexType, char>::value, "should be char"); in StaticTest()
1723 static_assert(std::is_same<_C2FlexHelper<_Flex>::FlexType, char>::value, "should be char"); in StaticTest()
1725 … static_assert(std::is_same<_C2FlexHelper<_BoFlex>::FlexType, char>::value, "should be void"); in StaticTest()