Home
last modified time | relevance | path

Searched refs:fx (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/media/libeffects/factory/
DEffectsFactory.c85 effect_entry_t *fx = (effect_entry_t *)self; in Effect_Process() local
87 if (fx->lib == NULL) { in Effect_Process()
91 pthread_mutex_lock(&fx->lib->lock); in Effect_Process()
94 ret = (*fx->subItfe)->process(fx->subItfe, inBuffer, outBuffer); in Effect_Process()
95 pthread_mutex_unlock(&fx->lib->lock); in Effect_Process()
110 effect_entry_t *fx = (effect_entry_t *)self; in Effect_Command() local
112 if (fx->lib == NULL) { in Effect_Command()
116 pthread_mutex_lock(&fx->lib->lock); in Effect_Command()
119 ret = (*fx->subItfe)->command(fx->subItfe, cmdCode, cmdSize, pCmdData, replySize, pReplyData); in Effect_Command()
120 pthread_mutex_unlock(&fx->lib->lock); in Effect_Command()
[all …]
/frameworks/native/opengl/tests/gl_jni/jni/
Dgl_code.cpp31 float fx = centerX - eyeX; in gluLookAt() local
36 float rlf = 1.0f / sqrtf(fx*fx + fy*fy + fz*fz); in gluLookAt()
37 fx *= rlf; in gluLookAt()
50 float sy = fz * upX - fx * upZ; in gluLookAt()
51 float sz = fx * upY - fy * upX; in gluLookAt()
55 float uy = sz * fx - sx * fz; in gluLookAt()
56 float uz = sx * fy - sy * fx; in gluLookAt()
61 m[2] = -fx; in gluLookAt()
/frameworks/native/opengl/tests/tritex/
Dtritex.cpp42 float fx = centerX - eyeX; in gluLookAt() local
47 float rlf = 1.0f / sqrtf(fx*fx + fy*fy + fz*fz); in gluLookAt()
48 fx *= rlf; in gluLookAt()
61 float sy = fz * upX - fx * upZ; in gluLookAt()
62 float sz = fx * upY - fy * upX; in gluLookAt()
66 float uy = sz * fx - sx * fz; in gluLookAt()
67 float uz = sx * fy - sy * fx; in gluLookAt()
72 m[2] = -fx; in gluLookAt()
/frameworks/av/media/libstagefright/
DXINGSeeker.cpp52 float fx; in getOffsetForTime() local
54 fx = 0.0f; in getOffsetForTime()
56 fx = 256.0f; in getOffsetForTime()
70 fx = fa + (fb-fa)*(percent-a); in getOffsetForTime()
73 *pos = (int)((1.0f/256.0f)*fx*mSizeBytes) + mFirstFramePos; in getOffsetForTime()
/frameworks/native/opengl/tests/gl_basic/
Dgl_basic.cpp45 float fx = centerX - eyeX; in gluLookAt() local
50 float rlf = 1.0f / sqrtf(fx*fx + fy*fy + fz*fz); in gluLookAt()
51 fx *= rlf; in gluLookAt()
64 float sy = fz * upX - fx * upZ; in gluLookAt()
65 float sz = fx * upY - fy * upX; in gluLookAt()
69 float uy = sz * fx - sx * fz; in gluLookAt()
70 float uz = sx * fy - sy * fx; in gluLookAt()
75 m[2] = -fx; in gluLookAt()
/frameworks/base/opengl/java/android/opengl/
DMatrix.java705 float fx = centerX - eyeX; in setLookAtM() local
710 float rlf = 1.0f / Matrix.length(fx, fy, fz); in setLookAtM()
711 fx *= rlf; in setLookAtM()
717 float sy = fz * upX - fx * upZ; in setLookAtM()
718 float sz = fx * upY - fy * upX; in setLookAtM()
728 float uy = sz * fx - sx * fz; in setLookAtM()
729 float uz = sx * fy - sy * fx; in setLookAtM()
733 rm[rmOffset + 2] = -fx; in setLookAtM()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.cpp112 sp<AudioEffect> fx = new AudioEffect(NULL, String16("android"), &effect->mUuid, -1, 0, in addInputEffects() local
114 status_t status = fx->initCheck(); in addInputEffects()
122 fx->setParameter(effect->mParams[j]); in addInputEffects()
126 inputDesc->mEffects.add(fx); in addInputEffects()
257 sp<AudioEffect> fx = new AudioEffect(NULL, String16("android"), &effect->mUuid, 0, 0, 0, in addOutputSessionEffects() local
259 status_t status = fx->initCheck(); in addOutputSessionEffects()
268 procDesc->mEffects.add(fx); in addOutputSessionEffects()
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp74 int (* create)(preproc_effect_t *fx);
75 int (* init)(preproc_effect_t *fx);
76 int (* reset)(preproc_effect_t *fx);
77 void (* enable)(preproc_effect_t *fx);
78 void (* disable)(preproc_effect_t *fx);
79 int (* set_parameter)(preproc_effect_t *fx, void *param, void *value);
80 int (* get_parameter)(preproc_effect_t *fx, void *param, uint32_t *size, void *value);
81 int (* set_device)(preproc_effect_t *fx, uint32_t device);
897 preproc_effect_t *fx) in Session_ReleaseEffect() argument
899 ALOGW_IF(Effect_Release(fx) != 0, " Effect_Release() failed for proc ID %d", fx->procId); in Session_ReleaseEffect()
[all …]
/frameworks/base/core/jni/android/graphics/
DMovie.cpp67 jfloat fx, jfloat fy, jlong paintHandle) { in movie_draw() argument
80 c->drawBitmap(b, fx, fy, p); in movie_draw()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBitmapShader_Delegate.java200 private int getColor(float fx, float fy) { in getColor() argument
201 int x = getCoordinate(Math.round(fx), mImage.getWidth(), mTileModeX); in getColor()
/frameworks/support/v4/java/android/support/v4/graphics/
DColorUtils.java446 final double fx = a / 500 + fy;
449 double tmp = Math.pow(fx, 3);
450 final double xr = tmp > XYZ_EPSILON ? tmp : (116 * fx - 16) / XYZ_KAPPA;
/frameworks/base/core/java/com/android/internal/util/
DNotificationColorUtil.java566 final double fx = a / 500 + fy;
569 double tmp = Math.pow(fx, 3);
570 final double xr = tmp > XYZ_EPSILON ? tmp : (116 * fx - 16) / XYZ_KAPPA;
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java2473 int fx; in loadTouchSoundAssets() local
2477 fx = field.getInt(null); in loadTouchSoundAssets()
2488 SOUND_EFFECT_FILES_MAP[fx][0] = i; in loadTouchSoundAssets()