Home
last modified time | relevance | path

Searched refs:valueSize (Results 1 – 8 of 8) sorted by relevance

/hardware/interfaces/audio/effect/all-versions/default/
DEffect.h57 std::function<void(uint32_t valueSize, const void* valueData)>;
112 [&](uint32_t valueSize, const void* valueData) { in getIntegerParam()
113 if (valueSize > sizeof(T)) valueSize = sizeof(T); in getIntegerParam()
114 memcpy(&value, valueData, valueSize); in getIntegerParam()
123 [&](uint32_t valueSize, const void* valueData) { in getParam()
124 if (valueSize > sizeof(T)) valueSize = sizeof(T); in getParam()
125 memcpy(&paramValue, valueData, valueSize); in getParam()
133 [&](uint32_t valueSize, const void* valueData) { in getParam()
134 if (valueSize > sizeof(T)) valueSize = sizeof(T); in getParam()
135 memcpy(&paramValue, valueData, valueSize); in getParam()
[all …]
DVirtualizerEffect.cpp207 [&](uint32_t valueSize, const void* valueData) { in getVirtualSpeakerAngles() argument
208 if (valueSize > halSpeakerAnglesSize) { in getVirtualSpeakerAngles()
209 valueSize = halSpeakerAnglesSize; in getVirtualSpeakerAngles()
210 } else if (valueSize < halSpeakerAnglesSize) { in getVirtualSpeakerAngles()
211 channelCount = valueSize / (sizeof(int32_t) * 3); in getVirtualSpeakerAngles()
DEffect.cpp245 uint32_t valueSize, const void** valueData) { in parameterToHal() argument
247 size_t halParamBufferSize = sizeof(effect_param_t) + valueOffsetFromData + valueSize; in parameterToHal()
251 halParam->vsize = valueSize; in parameterToHal()
256 memcpy(halParam->data + valueOffsetFromData, *valueData, valueSize); in parameterToHal()
478 Result Effect::setParameterImpl(uint32_t paramSize, const void* paramData, uint32_t valueSize, in setParameterImpl() argument
481 parameterToHal(paramSize, paramData, valueSize, &valueData); in setParameterImpl()
657 [&](uint32_t valueSize, const void* valueData) { in getParameter() argument
659 valueSize); in getParameter()
DEqualizerEffect.cpp281 size_t valueSize = sizeof(t_equalizer_settings) + sizeof(int16_t) * numBands; in getAllProperties() local
284 sizeof(paramId), &paramId, valueSize, [&](uint32_t, const void* valueData) { in getAllProperties()
/hardware/google/av/media/eco/
DECOData.cpp77 int32_t valueSize; in readFromParcel() local
78 RETURN_STATUS_IF_ERROR(parcel->readInt32(&valueSize)); in readFromParcel()
79 setInt32(std::string(name), valueSize); in readFromParcel()
/hardware/interfaces/weaver/1.0/
Dtypes.hal29 uint32_t valueSize;
/hardware/interfaces/weaver/1.0/vts/functional/
DVtsHalWeaverV1_0TargetTest.cpp80 EXPECT_GE(config.valueSize, 16u); in TEST_F()
310 std::vector<uint8_t> bigValue(config.valueSize + 1); in TEST_F()
/hardware/google/av/media/sfplugin/
DReflectedParamUpdater.cpp543 size_t valueSize = C2Value::SizeFor((C2Value::type_t)fieldType); in getParams() local
544 if (param->size() < valueSize || param->size() - valueSize < offset) { in getParams()