Searched defs:vsize (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/media/jni/audioeffect/
H A Dandroid_media_AudioEffect.cpp144 if (p->psize == 0 || p->vsize == 0) {
149 size = arg1 + p->vsize;
510 jobject thiz, int psize, jbyteArray pJavaParam, int vsize,
528 if (psize == 0 || vsize == 0 || pJavaParam == NULL || pJavaValue == NULL) {
547 p = (effect_param_t *) malloc(sizeof(effect_param_t) + voffset + vsize);
550 memcpy(p->data + voffset, lpValue, vsize);
551 p->vsize = vsize;
622 p->vsize = lpValueSize[0];
628 memcpy(lpValue, p->data + voffset, p->vsize);
509 android_media_AudioEffect_native_setParameter(JNIEnv *env, jobject thiz, int psize, jbyteArray pJavaParam, int vsize, jbyteArray pJavaValue) argument
[all...]
/frameworks/base/include/media/
H A DEffectApi.h642 // psize and vsize represent the actual size of parameter and value.
651 // | vsize | sizeof(int)
660 // ~ value ~ > vsize
667 uint32_t vsize; // Value size member in struct:effect_param_s
/frameworks/base/media/java/android/media/audiofx/
H A DAudioEffect.java1085 // See effect_param_t in EffectApi.h for psize and vsize
1089 int vsize = byteArrayToInt(p, 8);
1091 byte[] value = new byte[vsize];
1093 System.arraycopy(p, vOffset, value, 0, vsize);
1145 int vsize, byte[] value);
1148 int[] vsize, byte[] value);
1144 native_setParameter(int psize, byte[] param, int vsize, byte[] value) argument
1147 native_getParameter(int psize, byte[] param, int[] vsize, byte[] value) argument

Completed in 119 milliseconds