Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/core/include/
DC2ParamDef.h105 FLEX_SIZE = 0, enumerator
112 template<typename S, unsigned=S::FLEX_SIZE>
138 enum : uint32_t { FLEX_SIZE = 0 }; enumerator
146 enum : uint32_t { FLEX_SIZE = _C2FlexHelper<typename S::_FlexMemberType>::FLEX_SIZE };
154 enum : uint32_t { FLEX_SIZE = sizeof(S) };
189 FLEX_SIZE = _C2FlexHelper<S>::FLEX_SIZE, ///< size of flexible type
198 if (flexCount <= (MAX_SIZE - size) / S::FLEX_SIZE) {
199 return size + S::FLEX_SIZE * flexCount;
239 other, sizeof(_Type), _Type::PARAM_TYPE, _Type::FLEX_SIZE, \
292 return (sz - sizeof(_Type)) / _Type::FLEX_SIZE; \
[all …]
DC2Config.h2531 memcpy(&syncId, &id[0], c2_min(id.size(), flexCount) * FLEX_SIZE); in C2TunneledModeStruct()
/frameworks/av/media/codec2/tests/
DC2Param_test.cpp283 constexpr static size_t FLEX_SIZE = sizeof(T); member in C2ParamTest_FlexParamFieldList
295 …_EQ(C2FieldDescriptor(this->FlexType, 0, "flex", alignof(TypeParam) /* offset */, this->FLEX_SIZE), in TYPED_TEST()
299 EXPECT_EQ(C2FieldDescriptor(this->FlexType, 0, "flex", 0, this->FLEX_SIZE), in TYPED_TEST()