Searched refs:valueOffsetFromData (Results 1 – 1 of 1) sorted by relevance
404 size_t valueOffsetFromData = alignedSizeIn<uint32_t>(paramSize) * sizeof(uint32_t); in parameterToHal() local405 if (valueOffsetFromData > kMaxSize) { in parameterToHal()406 ALOGE("%s: Aligned parameter size is too big: %zu", __func__, valueOffsetFromData); in parameterToHal()409 if (valueSize > kMaxSize - valueOffsetFromData) { in parameterToHal()411 kMaxSize - valueOffsetFromData); in parameterToHal()415 size_t halParamBufferSize = sizeof(effect_param_t) + valueOffsetFromData + valueSize; in parameterToHal()424 memcpy(halParam->data + valueOffsetFromData, *valueData, valueSize); in parameterToHal()427 *valueData = halParam->data + valueOffsetFromData; in parameterToHal()