Home
last modified time | relevance | path

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

/frameworks/base/media/jni/audioeffect/
Dandroid_media_AudioEffect.cpp539 int voffset; in android_media_AudioEffect_native_setParameter() local
566 voffset = ((psize - 1) / sizeof(int) + 1) * sizeof(int); in android_media_AudioEffect_native_setParameter()
567 p = (effect_param_t *) malloc(sizeof(effect_param_t) + voffset + vsize); in android_media_AudioEffect_native_setParameter()
570 memcpy(p->data + voffset, lpValue, vsize); in android_media_AudioEffect_native_setParameter()
600 int voffset; in android_media_AudioEffect_native_getParameter() local
627 voffset = ((psize - 1) / sizeof(int) + 1) * sizeof(int); in android_media_AudioEffect_native_getParameter()
628 p = (effect_param_t *) malloc(sizeof(effect_param_t) + voffset + vsize); in android_media_AudioEffect_native_getParameter()
637 memcpy(lpValue, p->data + voffset, p->vsize); in android_media_AudioEffect_native_getParameter()
/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp674 int voffset = ((p->psize - 1) / sizeof(int32_t) + 1) * sizeof(int32_t); in Equalizer_command() local
676 p->data + voffset); in Equalizer_command()
677 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in Equalizer_command()
680 *(int32_t *)((char *)pReplyData + sizeof(effect_param_t) + voffset), in Equalizer_command()
681 … *(int32_t *)((char *)pReplyData + sizeof(effect_param_t) + voffset + sizeof(int32_t))); in Equalizer_command()
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp3188 uint32_t voffset = paddedParamSize; in Effect_command() local
3191 p->data + voffset); in Effect_command()
3201 &p->vsize, p->data + voffset); in Effect_command()
3213 p->data + voffset); in Effect_command()
3225 &p->vsize, p->data + voffset); in Effect_command()
3233 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in Effect_command()
3255 const uint32_t voffset = computeParamVOffset(p); in Effect_command() local
3265 pContext, p->psize, (void*)p->data, p->vsize, p->data + voffset); in Effect_command()
3287 const uint32_t voffset = computeParamVOffset(p); in Effect_command() local
3297 pContext, p->psize, (void*)p->data, p->vsize, p->data + voffset); in Effect_command()
[all …]
/frameworks/av/media/libeffects/dynamicsproc/
DEffectDynamicsProcessing.cpp522 uint32_t voffset = computeParamVOffset(p); in DP_command() local
528 p->data + voffset); in DP_command()
529 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in DP_command()
544 const uint32_t voffset = computeParamVOffset(p); in DP_command() local
550 p->data + voffset); in DP_command()
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp1848 int voffset = ((p->psize - 1) / sizeof(int32_t) + 1) * sizeof(int32_t); in Reverb_command() local
1851 p->data + voffset); in Reverb_command()
1853 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in Reverb_command()
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp1197 int voffset = ((p->psize - 1) / sizeof(int32_t) + 1) * sizeof(int32_t); in PreProcessingFx_Command() local
1201 effect->ops->get_parameter(effect, p->data, &p->vsize, p->data + voffset); in PreProcessingFx_Command()
1202 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in PreProcessingFx_Command()