Home
last modified time | relevance | path

Searched refs:_mSize (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/codec2/vndk/internal/
DC2ParamInternal.h32 uint32_t endOffset = fd._mFieldId._mOffset + fd._mExtent * fd._mFieldId._mSize;
38 return fd._mFieldId._mSize; in GetSize()
50 return pf._mFieldId._mSize; in GetSize()
58 return f._mSize; in GetSize()
80 return C2ParamField(index, field._mOffset, field._mSize); in CreateParamField()
86 param->_mSize = newSize; in TrimParam()
/frameworks/av/media/codec2/core/include/
DC2Param.h418 inline size_t size() const { return _mSize; } in size()
421 inline operator bool() const { return _mIndex.isValid() && _mSize > 0; }
428 return equals(o) && memcmp(this, &o, _mSize) == 0;
442 if (param->_mSize != len) { in From()
519 _mSize = c2_min(size, _mSize); in setSize()
525 inline void invalidate() { _mSize = 0; } in invalidate()
530 if (other._mSize <= _mSize && other._mIndex == _mIndex && _mSize > 0) { in updateFrom()
531 memcpy(this, &other, other._mSize); in updateFrom()
545 if (o == nullptr || o->_mSize < size || (flexSize && ((o->_mSize - size) % flexSize))) {
558 : _mSize(paramSize), in C2Param()
[all …]
DC2ParamDef.h748 virtual size_t size() const { return _mSize; }
752 inline constexpr C2ConstMemoryBlock(const T(&init)[N]) : _mData(init), _mSize(N) {}
756 const size_t _mSize;
/frameworks/av/media/codec2/tests/
DC2Param_test.cpp28 *os << "@" << id._mOffset << "+" << id._mSize; in PrintTo()
890 static_assert(offsetof(C2NumberTuning, _mSize) == 0, "bad size"); in StaticTest()
908 static_assert(offsetof(C2NumberPortTuning::input, _mSize) == 0, "bad size"); in StaticTest()
911 static_assert(offsetof(C2NumberPortTuning::output, _mSize) == 0, "bad size"); in StaticTest()
929 static_assert(offsetof(C2NumberStreamTuning::input, _mSize) == 0, "bad size"); in StaticTest()
932 static_assert(offsetof(C2NumberStreamTuning::output, _mSize) == 0, "bad size"); in StaticTest()
955 static_assert(offsetof(C2MySetting, _mSize) == 0, "bad size"); in StaticFromBaseTest()
973 static_assert(offsetof(C2MyPortSetting::input, _mSize) == 0, "bad size"); in StaticFromBaseTest()
976 static_assert(offsetof(C2MyPortSetting::output, _mSize) == 0, "bad size"); in StaticFromBaseTest()
994 static_assert(offsetof(C2MyStreamSetting::input, _mSize) == 0, "bad size"); in StaticFromBaseTest()
[all …]