Home
last modified time | relevance | path

Searched refs:vsize (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/media/jni/audioeffect/
Dandroid_media_AudioEffect.cpp144 if (p->psize == 0 || p->vsize == 0) { in effectCallback()
149 size = arg1 + p->vsize; in effectCallback()
512 jobject thiz, int psize, jbyteArray pJavaParam, int vsize, in android_media_AudioEffect_native_setParameter() argument
530 if (psize == 0 || vsize == 0 || pJavaParam == NULL || pJavaValue == NULL) { in android_media_AudioEffect_native_setParameter()
549 p = (effect_param_t *) malloc(sizeof(effect_param_t) + voffset + vsize); in android_media_AudioEffect_native_setParameter()
552 memcpy(p->data + voffset, lpValue, vsize); in android_media_AudioEffect_native_setParameter()
553 p->vsize = vsize; in android_media_AudioEffect_native_setParameter()
576 jint vsize, jbyteArray pJavaValue) { in android_media_AudioEffect_native_getParameter() argument
593 if (psize == 0 || vsize == 0 || pJavaParam == NULL || pJavaValue == NULL) { in android_media_AudioEffect_native_getParameter()
612 p = (effect_param_t *) malloc(sizeof(effect_param_t) + voffset + vsize); in android_media_AudioEffect_native_getParameter()
[all …]
/frameworks/compile/slang/
Dslang_rs_export_element.cpp42 EI->vsize = _vsize; \ in Init()
79 slangAssert(EI->vsize == 1 && "Element not a primitive class (please " in Create()
92 slangAssert(EI->vsize > 1 && "Element not a vector class (please check " in Create()
103 slangAssert(EI->vsize == EVT->getNumElement() && "Element has unexpected " in Create()
Dslang_rs_export_element.h46 unsigned vsize; member
/frameworks/av/media/libmedia/
DAudioEffect.cpp269 if (param == NULL || param->psize == 0 || param->vsize == 0) { in setParameter()
274 uint32_t psize = ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + param->vsize; in setParameter()
287 if (param == NULL || param->psize == 0 || param->vsize == 0) { in setParameterDeferred()
293 int psize = ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + param->vsize; in setParameterDeferred()
327 if (param == NULL || param->psize == 0 || param->vsize == 0) { in getParameter()
333 …ize = sizeof(effect_param_t) + ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + param->vsize; in getParameter()
DVisualizer.cpp141 p->vsize = sizeof(uint32_t); in setCaptureSize()
170 p->vsize = sizeof(uint32_t); in setScalingMode()
303 p->vsize = sizeof(uint32_t); in initCaptureSize()
/frameworks/wilhelm/src/android/
Dandroid_Effect.cpp200 p->vsize = eq_valueSize(param); in android_eq_getParam()
205 memcpy(pValue, p->data + p->psize, p->vsize); in android_eq_getParam()
226 p->vsize = eq_valueSize(param); in android_eq_setParam()
227 memcpy(p->data + p->psize, pValue, p->vsize); in android_eq_setParam()
571 p->vsize = valueSize; in android_fx_setParam()
572 memcpy(p->data + p->psize, pValue, p->vsize); in android_fx_setParam()
591 p->vsize = valueSize; in android_fx_getParam()
596 memcpy(pValue, p->data + p->psize, p->vsize); in android_fx_getParam()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaTestUtil.java111 String vsize = poList2[3]; in getVsize() local
112 int vsizevalue = Integer.parseInt(vsize); in getVsize()
/frameworks/base/media/java/android/media/audiofx/
DAudioEffect.java1150 int vsize = byteArrayToInt(p, 8); in handleMessage() local
1152 byte[] value = new byte[vsize]; in handleMessage()
1154 System.arraycopy(p, vOffset, value, 0, vsize); in handleMessage()
1206 int vsize, byte[] value); in native_setParameter() argument
1209 int vsize, byte[] value); in native_getParameter() argument
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp434 p->vsize = sizeof(uint32_t); in Visualizer_command()
440 p->vsize = sizeof(uint32_t); in Visualizer_command()
455 if (p->psize != sizeof(uint32_t) || p->vsize != sizeof(uint32_t)) { in Visualizer_command()
/frameworks/av/media/libeffects/downmix/
DEffectDownmix.c436 *(int32_t *)rep->data, rep->vsize); in Downmix_Command()
437 rep->status = Downmix_getParameter(pDownmixer, *(int32_t *)rep->data, &rep->vsize, in Downmix_Command()
439 *replySize = sizeof(effect_param_t) + sizeof(int32_t) + rep->vsize; in Downmix_Command()
451 cmd->vsize, cmd->data + sizeof(int32_t)); in Downmix_Command()
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp2854 (size_t *)&p->vsize, in Effect_command()
2857 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in Effect_command()
2885 (size_t *)&p->vsize, in Effect_command()
2888 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in Effect_command()
2917 &p->vsize, in Effect_command()
2920 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in Effect_command()
2949 (size_t *)&p->vsize, in Effect_command()
2952 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in Effect_command()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
DMediaPlayerPerformance.java338 String vsize = poList2[3]; in getMediaserverVsize() local
339 int vsizevalue = Integer.parseInt(vsize); in getMediaserverVsize()
/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp691 p->status = android::Equalizer_getParameter(pEqualizer, (int32_t *)p->data, &p->vsize, in Equalizer_command()
693 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in Equalizer_command()
DEffectReverb.c347 …GV("Reverb_Command EFFECT_CMD_GET_PARAM param %d, replySize %d",*(int32_t *)rep->data, rep->vsize); in Reverb_Command()
348 rep->status = Reverb_getParameter(pReverb, *(int32_t *)rep->data, &rep->vsize, in Reverb_Command()
350 *replySize = sizeof(effect_param_t) + sizeof(int32_t) + rep->vsize; in Reverb_Command()
361 cmd->vsize, cmd->data + sizeof(int32_t)); in Reverb_Command()
/frameworks/av/services/audioflinger/
DAudioPolicyService.h248 ((origParam->vsize + 3) & ~3); in EffectDesc()
DAudioPolicyService.cpp1151 fx_param->vsize = sizeof(int); in loadEffectParameter()
1175 fx_param->vsize = 0; in loadEffectParameter()
1183 fx_param->vsize += size; in loadEffectParameter()
DAudioMixer.cpp322 param->vsize = sizeof(downmix_type_t); in prepareTrackForDownmix()
323 memcpy(param->data + psizePadded, &downmixType, param->vsize); in prepareTrackForDownmix()
DAudioFlinger.cpp8317 p->vsize = sizeof(uint32_t); in configure()
8907 if (param->psize == 0 || param->vsize == 0) { in command()
8914 param->vsize; in command()
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp2000 (size_t *)&p->vsize, in Reverb_command()
2003 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in Reverb_command()
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp1452 (size_t *)&p->vsize, in PreProcessingFx_Command()
1454 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in PreProcessingFx_Command()