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.h417 inline size_t size() const { return _mSize; } in size()
420 inline operator bool() const { return _mIndex.isValid() && _mSize > 0; }
427 return equals(o) && memcmp(this, &o, _mSize) == 0;
439 if (param->_mSize != len) { in From()
514 inline void invalidate() { _mSize = 0; } in invalidate()
519 if (other._mSize <= _mSize && other._mIndex == _mIndex && _mSize > 0) { in updateFrom()
520 memcpy(this, &other, other._mSize); in updateFrom()
534 if (o == nullptr || o->_mSize < size || (flexSize && ((o->_mSize - size) % flexSize))) {
547 : _mSize(paramSize), in C2Param()
556 : _mSize(paramSize), in C2Param()
[all …]
DC2ParamDef.h712 virtual size_t size() const { return _mSize; }
716 inline constexpr C2ConstMemoryBlock(const T(&init)[N]) : _mData(init), _mSize(N) {}
720 const size_t _mSize;
/frameworks/av/media/codec2/tests/
DC2Param_test.cpp28 *os << "@" << id._mOffset << "+" << id._mSize; in PrintTo()
882 static_assert(offsetof(C2NumberTuning, _mSize) == 0, "bad size"); in StaticTest()
900 static_assert(offsetof(C2NumberPortTuning::input, _mSize) == 0, "bad size"); in StaticTest()
903 static_assert(offsetof(C2NumberPortTuning::output, _mSize) == 0, "bad size"); in StaticTest()
921 static_assert(offsetof(C2NumberStreamTuning::input, _mSize) == 0, "bad size"); in StaticTest()
924 static_assert(offsetof(C2NumberStreamTuning::output, _mSize) == 0, "bad size"); in StaticTest()
947 static_assert(offsetof(C2MySetting, _mSize) == 0, "bad size"); in StaticFromBaseTest()
965 static_assert(offsetof(C2MyPortSetting::input, _mSize) == 0, "bad size"); in StaticFromBaseTest()
968 static_assert(offsetof(C2MyPortSetting::output, _mSize) == 0, "bad size"); in StaticFromBaseTest()
986 static_assert(offsetof(C2MyStreamSetting::input, _mSize) == 0, "bad size"); in StaticFromBaseTest()
[all …]