Home
last modified time | relevance | path

Searched refs:paramSize (Results 1 – 6 of 6) sorted by relevance

/hardware/google/av/codec2/vndk/internal/
DC2ParamInternal.h31 inline static uint32_t GetEndOffset(const C2FieldDescriptor &fd, uint32_t paramSize = 0) {
34 return fd._mExtent ? endOffset : std::max(endOffset, paramSize);
/hardware/interfaces/audio/effect/all-versions/default/
DEffect.h150 Result getParameterImpl(uint32_t paramSize, const void* paramData, uint32_t valueSize, in getParameterImpl()
152 return getParameterImpl(paramSize, paramData, valueSize, valueSize, onSuccess); in getParameterImpl()
154 Result getParameterImpl(uint32_t paramSize, const void* paramData, uint32_t requestValueSize,
156 Result setParameterImpl(uint32_t paramSize, const void* paramData, uint32_t valueSize,
201 static std::vector<uint8_t> parameterToHal(uint32_t paramSize, const void* paramData,
DEffect.cpp246 std::vector<uint8_t> Effect::parameterToHal(uint32_t paramSize, const void* paramData, in parameterToHal() argument
248 size_t valueOffsetFromData = alignedSizeIn<uint32_t>(paramSize) * sizeof(uint32_t); in parameterToHal()
252 halParam->psize = paramSize; in parameterToHal()
254 memcpy(halParam->data, paramData, paramSize); in parameterToHal()
318 Result Effect::getParameterImpl(uint32_t paramSize, const void* paramData, in getParameterImpl() argument
324 parameterToHal(paramSize, paramData, requestValueSize, nullptr); in getParameterImpl()
327 parameterToHal(paramSize, paramData, replyValueSize, &valueData); in getParameterImpl()
480 Result Effect::setParameterImpl(uint32_t paramSize, const void* paramData, uint32_t valueSize, in setParameterImpl() argument
483 parameterToHal(paramSize, paramData, valueSize, &valueData); in setParameterImpl()
/hardware/google/av/codec2/include/
DC2Param.h532 inline C2Param(uint32_t paramSize, Index paramIndex) in C2Param()
533 : _mSize(paramSize), in C2Param()
535 if (paramSize > sizeof(C2Param)) { in C2Param()
536 memset(this + 1, 0, paramSize - sizeof(C2Param)); in C2Param()
541 inline C2Param(uint32_t paramSize, Index paramIndex, unsigned stream) in C2Param()
542 : _mSize(paramSize), in C2Param()
544 if (paramSize > sizeof(C2Param)) { in C2Param()
545 memset(this + 1, 0, paramSize - sizeof(C2Param)); in C2Param()
/hardware/google/av/codec2/vndk/util/
DC2InterfaceUtils.cpp906 uint32_t paramSize, in C2FieldUtilsFieldsIteratorHelper()
909 mParamSize(paramSize), in C2FieldUtilsFieldsIteratorHelper()
1154 C2Param::CoreIndex index, const _C2FieldId &field, uint32_t paramSize, in C2FieldUtilsFieldLocator()
1156 : C2FieldUtilsFieldsIteratorHelper(reflector, paramSize), in C2FieldUtilsFieldLocator()
/hardware/google/av/codec2/hidl/1.0/utils/
Dtypes.cpp1462 size_t paramSize = std::min(p->size(), size - ix); in _createParamsBlob() local
1465 reinterpret_cast<const uint8_t*>(&*p) + paramSize, in _createParamsBlob()
1467 ix += paramSize; in _createParamsBlob()