Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/factory/
DEffectsFactory.c71 effect_entry_t *fx = (effect_entry_t *)self; in Effect_Process() local
73 if (fx->lib == NULL) { in Effect_Process()
77 pthread_mutex_lock(&fx->lib->lock); in Effect_Process()
80 ret = (*fx->subItfe)->process(fx->subItfe, inBuffer, outBuffer); in Effect_Process()
81 pthread_mutex_unlock(&fx->lib->lock); in Effect_Process()
96 effect_entry_t *fx = (effect_entry_t *)self; in Effect_Command() local
98 if (fx->lib == NULL) { in Effect_Command()
102 pthread_mutex_lock(&fx->lib->lock); in Effect_Command()
105 ret = (*fx->subItfe)->command(fx->subItfe, cmdCode, cmdSize, pCmdData, replySize, pReplyData); in Effect_Command()
106 pthread_mutex_unlock(&fx->lib->lock); in Effect_Command()
[all …]
/frameworks/native/opengl/tests/gl_jni/jni/
Dgl_code.cpp36 float fx = centerX - eyeX; in gluLookAt() local
41 float rlf = 1.0f / sqrtf(fx*fx + fy*fy + fz*fz); in gluLookAt()
42 fx *= rlf; in gluLookAt()
55 float sy = fz * upX - fx * upZ; in gluLookAt()
56 float sz = fx * upY - fy * upX; in gluLookAt()
60 float uy = sz * fx - sx * fz; in gluLookAt()
61 float uz = sx * fy - sy * fx; in gluLookAt()
66 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/extractors/mp3/
DXINGSeeker.cpp54 float fx; in getOffsetForTime() local
56 fx = 0.0f; in getOffsetForTime()
58 fx = 256.0f; in getOffsetForTime()
72 fx = fa + (fb-fa)*(percent-a); in getOffsetForTime()
74 fx = percent * 2.56f; in getOffsetForTime()
77 *pos = (int)((1.0f/256.0f)*fx*mSizeBytes) + mFirstFramePos; in getOffsetForTime()
/frameworks/base/libs/hwui/utils/
DColor.cpp150 float fx = fy + (v[1] * 0.002f); in toXyz() local
152 float X = fx > D ? fx * fx * fx : (1.0f / B) * (fx - C); in toXyz()
168 float fx = X > A ? pow(X, 1.0f / 3.0f) : B * X + C; in fromXyz() local
173 float a = 500.0f * (fx - fy); in fromXyz()
/frameworks/native/opengl/tests/gl_basic/
Dgl_basic.cpp47 float fx = centerX - eyeX; in gluLookAt() local
52 float rlf = 1.0f / sqrtf(fx*fx + fy*fy + fz*fz); in gluLookAt()
53 fx *= rlf; in gluLookAt()
66 float sy = fz * upX - fx * upZ; in gluLookAt()
67 float sz = fx * upY - fy * upX; in gluLookAt()
71 float uy = sz * fx - sx * fz; in gluLookAt()
72 float uz = sx * fy - sy * fx; in gluLookAt()
77 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/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);
899 preproc_effect_t *fx) in Session_ReleaseEffect() argument
901 ALOGW_IF(Effect_Release(fx) != 0, " Effect_Release() failed for proc ID %d", fx->procId); in Session_ReleaseEffect()
[all …]
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.cpp121 sp<AudioEffect> fx = new AudioEffect(NULL, String16("android"), &effect->mUuid, -1, 0, in addInputEffects() local
123 status_t status = fx->initCheck(); in addInputEffects()
131 fx->setParameter(effect->mParams[j]); in addInputEffects()
135 sessionDesc->mEffects.add(fx); in addInputEffects()
270 sp<AudioEffect> fx = new AudioEffect(NULL, String16("android"), &effect->mUuid, 0, 0, 0, in addOutputSessionEffects() local
272 status_t status = fx->initCheck(); in addOutputSessionEffects()
281 procDesc->mEffects.add(fx); in addOutputSessionEffects()
/frameworks/base/core/jni/android/graphics/
DMovie.cpp67 jfloat fx, jfloat fy, jlong paintHandle) { in movie_draw() argument
80 c->drawBitmap(*wrapper, fx, fy, p); in movie_draw()
/frameworks/layoutlib/bridge/src/android/graphics/
DBitmapShader_Delegate.java203 private int getColor(float fx, float fy) { in getColor() argument
204 int x = getCoordinate(Math.round(fx), mImage.getWidth(), mTileModeX); in getColor()
/frameworks/base/core/java/com/android/internal/graphics/
DColorUtils.java490 final double fx = a / 500 + fy;
493 double tmp = Math.pow(fx, 3);
494 final double xr = tmp > XYZ_EPSILON ? tmp : (116 * fx - 16) / XYZ_KAPPA;
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java2000 float fx = fy + (v[1] * 0.002f); in toXyz() local
2002 float X = fx > D ? fx * fx * fx : (1.0f / B) * (fx - C); in toXyz()
2019 float fx = X > A ? (float) Math.pow(X, 1.0 / 3.0) : B * X + C; in fromXyz() local
2024 float a = 500.0f * (fx - fy); in fromXyz()
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java860 final double fx = a / 500 + fy;
863 double tmp = Math.pow(fx, 3);
864 final double xr = tmp > XYZ_EPSILON ? tmp : (116 * fx - 16) / XYZ_KAPPA;
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java3441 int fx; in loadTouchSoundAssets() local
3445 fx = field.getInt(null); in loadTouchSoundAssets()
3456 SOUND_EFFECT_FILES_MAP[fx][0] = i; in loadTouchSoundAssets()