Home
last modified time | relevance | path

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

/hardware/google/av/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()
/hardware/google/av/codec2/include/
DC2Param.h412 inline size_t size() const { return _mSize; } in size()
415 inline operator bool() const { return _mIndex.isValid() && _mSize > 0; }
422 return equals(o) && memcmp(this, &o, _mSize) == 0;
434 if (param->_mSize != len) { in From()
500 inline void invalidate() { _mSize = 0; } in invalidate()
505 if (other._mSize <= _mSize && other._mIndex == _mIndex && _mSize > 0) { in updateFrom()
506 memcpy(this, &other, other._mSize); in updateFrom()
520 if (o == nullptr || o->_mSize < size || (flexSize && ((o->_mSize - size) % flexSize))) {
533 : _mSize(paramSize), in C2Param()
542 : _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;
/hardware/google/av/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 …]