/frameworks/base/media/libstagefright/codecs/amrwbenc/src/ |
H A D | g_pitch.c | 31 Word16 y1[], /* (i) : filtered adaptive codebook. */
38 /* Compute scalar product <y1[],y1[]> */
40 /* Compute scalar product <xn[],y1[]> */
41 xy = extract_h(Dot_product12_asm(xn, y1, L_subfr, &exp_xy));
42 yy = extract_h(Dot_product12_asm(y1, y1, L_subfr, &exp_yy));
45 /* Compute scalar product <xn[],y1[]> */
46 xy = extract_h(Dot_product12(xn, y1, L_subfr, &exp_xy));
47 yy = extract_h(Dot_product12(y1, y 29 G_pitch( Word16 xn[], Word16 y1[], Word16 g_coeff[], Word16 L_subfr ) argument [all...] |
H A D | q_gain2.c | 64 Word16 y1[], /* (i) Q_xn: Adaptive codebook. */
65 Word16 Q_xn, /* (i) : xn and y1 format */
68 Word16 g_coeff[], /* (i) : Correlations <xn y1> <y1 y1> */
130 * coeff[0] = y1 y1 *
131 * coeff[1] = -2 xn y1 *
134 * coeff[4] = 2 y1 y2 *
136 * Product <y1 y 62 Q_gain2( Word16 xn[], Word16 y1[], Word16 Q_xn, Word16 y2[], Word16 code[], Word16 g_coeff[], Word16 L_subfr, Word16 nbits, Word16 * gain_pit, Word32 * gain_cod, Word16 gp_clip, Word16 * mem ) argument [all...] |
H A D | voAMRWBEnc.c | 191 Word16 y1[L_SUBFR]; /* Filtered adaptive excitation */
local 952 * - find filtered pitch exc. y1[]=exc[] convolved with h1[]) *
964 Convolve_asm(&exc[i_subfr], h1, y1, L_SUBFR);
966 Convolve(&exc[i_subfr], h1, y1, L_SUBFR);
968 gain1 = G_pitch(xn, y1, g_coeff, L_SUBFR);
975 Updt_tar(xn, dn, y1, gain1, L_SUBFR); /* dn used temporary */
1048 Copy(y2, y1, L_SUBFR);
1166 index = Q_gain2(xn, y1, Q_new + shift, y2, code, g_coeff, L_SUBFR, 6,
1171 index = Q_gain2(xn, y1, Q_new + shift, y2, code, g_coeff, L_SUBFR, 7,
1208 L_tmp -= (y1[L_SUBF [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | LinearGradient.java | 25 @param y1 The y-coordinate for the end of the gradient line 32 public LinearGradient(float x0, float y0, float x1, float y1, argument 40 native_instance = nativeCreate1(x0, y0, x1, y1, colors, positions, tile.nativeInt); 47 @param y1 The y-coordinate for the end of the gradient line 52 public LinearGradient(float x0, float y0, float x1, float y1, argument 54 native_instance = nativeCreate2(x0, y0, x1, y1, color0, color1, tile.nativeInt); 58 private static native int nativeCreate1(float x0, float y0, float x1, float y1, argument 60 private static native int nativeCreate2(float x0, float y0, float x1, float y1, argument
|
H A D | Path.java | 230 * (x1,y1), and ending at (x2,y2). If no moveTo() call has been made for 234 * @param y1 The y-coordinate of the control point on a quadratic curve 238 public void quadTo(float x1, float y1, float x2, float y2) { argument 239 native_quadTo(mNativePath, x1, y1, x2, y2); 262 * (x1,y1) and (x2,y2), and ending at (x3,y3). If no moveTo() call has been 266 * @param y1 The y-coordinate of the 1st control point on a cubic curve 272 public void cubicTo(float x1, float y1, float x2, float y2, argument 274 native_cubicTo(mNativePath, x1, y1, x2, y2, x3, y3); 282 public void rCubicTo(float x1, float y1, float x2, float y2, argument 284 native_rCubicTo(mNativePath, x1, y1, x 560 native_quadTo(int nPath, float x1, float y1, float x2, float y2) argument 564 native_cubicTo(int nPath, float x1, float y1, float x2, float y2, float x3, float y3) argument 566 native_rCubicTo(int nPath, float x1, float y1, float x2, float y2, float x3, float y3) argument [all...] |
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | g_pitch.cpp | 117 y1 = pointer to filtered adaptive codebook buffer (Word16) 166 Word16 y1[], // i : Filtered adaptive codebook. 177 // divide "y1[]" by 4 to avoid overflow 184 scaled_y1[i] = shr (y1[i], 2); 187 // Compute scalar product <y1[],y1[]> 194 s = L_mac (s, y1[i], y1[i]); 213 // Compute scalar product <xn[],y1[]> 220 s = L_mac(s, xn[i], y1[ 298 G_pitch( enum Mode mode, Word16 xn[], Word16 y1[], Word16 g_coeff[], Word16 L_subfr, Flag *pOverflow ) argument [all...] |
H A D | spstproc.cpp | 110 y1 -- Word16 Array -- Filtered adaptive exitation 182 Word16 y1[], /* i : Filtered adaptive exitation */ 289 * y1 Q0 Q0 304 L_temp = ((Word32)y1[i] * gain_pit); 172 subframePostProc( Word16 *speech, enum Mode mode, Word16 i_subfr, Word16 gain_pit, Word16 gain_code, Word16 *Aq, Word16 synth[], Word16 xn[], Word16 code[], Word16 y1[], Word16 y2[], Word16 *mem_syn, Word16 *mem_err, Word16 *mem_w0, Word16 *exc, Word16 *sharp, Flag *pOverflow ) argument
|
H A D | calc_en.cpp | 407 y1 = Adaptive codebook, buffer type Word16 409 g_coeff = Correlations <xn y1> <y1 y1> 442 coeff[0] = y1 y1 443 coeff[1] = -2 xn y1 446 coeff[4] = 2 y1 y2 450 Product <y1 y1> an 592 calc_filt_energies( enum Mode mode, Word16 xn[], Word16 xn2[], Word16 y1[], Word16 Y2[], Word16 g_coeff[], Word16 frac_coeff[], Word16 exp_coeff[], Word16 *cod_gain_frac, Word16 *cod_gain_exp, Flag *pOverflow ) argument [all...] |
H A D | gain_q.cpp | 392 y1 -- Word16 array -- Adaptive codebook. 394 g_coeff -- Word16 array -- Correlations <xn y1> <y1 y1> 476 Word16 y1[], /* i : Adaptive codebook. */ 478 Word16 g_coeff[], /* i : Correlations <xn y1> <y1 y1> */ 541 y1, 600 y1, 467 gainQuant( gainQuantState *st, enum Mode mode, Word16 res[], Word16 exc[], Word16 code[], Word16 xn[], Word16 xn2[], Word16 y1[], Word16 Y2[], Word16 g_coeff[], Word16 even_subframe, Word16 gp_limit, Word16 *sf0_gain_pit, Word16 *sf0_gain_cod, Word16 *gain_pit, Word16 *gain_cod, Word16 **anap, Flag *pOverflow ) argument [all...] |
H A D | cod_amr.cpp | 831 Word16 y1[L_SUBFR]; // Filtered adaptive excitation 833 Word16 gCoeff[6]; // Correlations between xn, y1, & y2: 1077 &st->exc[i_subfr], res2, xn, lsp_flag, xn2, y1, 1103 xn, xn2, y1, y2, gCoeff, evenSubfr, gp_limit, 1114 gain_code, Aq, synth, xn, code, y1, y2, st->mem_syn, 1130 gain_code, Aq, synth, xn, code, y1, y2, 1145 Convolve(&st->exc[i_subfr_sf0], h1_sf0, y1, L_SUBFR); 1150 synth, xn_sf0, code_sf0, y1, y2_sf0, 1165 Convolve(&st->exc[i_subfr], st->h1, y1, L_SUBFR); 1168 gain_code, Aq, synth, xn, code, y1, y 1234 Word16 y1[L_SUBFR]; /* Filtered adaptive excitation */ local [all...] |
/frameworks/base/services/sensorservice/ |
H A D | SecondOrderLowPassFilter.h | 49 float y1, y2; member in class:android::BiquadFilter
|
/frameworks/base/services/audioflinger/ |
H A D | AudioResamplerCubic.h | 43 int32_t a, b, c, y0, y1, y2, y3; member in struct:android::AudioResamplerCubic::__anon710 51 return (((((p->a * x >> 14) + p->b) * x >> 14) + p->c) * x >> 14) + p->y1; 54 p->y0 = p->y1; 55 p->y1 = p->y2; 58 p->a = (3 * (p->y1 - p->y2) - p->y0 + p->y3) >> 1; 59 p->b = (p->y2 << 1) + p->y0 - (((5 * p->y1 + p->y3)) >> 1);
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | conceal.cpp | 142 uint8 *y1, *y2, *u1, *u2, *v1, *v2; local 154 y1 = curr->yChan + lumstart; 162 oscl_memcpy(y1, y2, MB_SIZE); 163 y1 += width_Y; 165 oscl_memcpy(y1, y2, MB_SIZE); 166 y1 += width_Y; 168 oscl_memcpy(y1, y2, MB_SIZE); 169 y1 += width_Y; 171 oscl_memcpy(y1, y2, MB_SIZE); 172 y1 [all...] |
H A D | get_pred_adv_b_add.cpp | 867 uint32 x1, x2, x1m, x2m, y1, y2, y1m, y2m; /* new way */ local 897 y1 = *((uint32*)(prev += 4)); /* a7 a6 a5 a4 */ 908 y1m = (y1 >> 2) & mask; /* zero out last 2 bits */ 910 y1 = y1 ^(y1m << 2); 913 y1 += y2; 927 /* now operate on x1m, x1, y1m, y1, x2m, x2 */ 931 /* x1, y1, x2 */ 936 y2 |= (y1 << 24); 945 y2 = y1 >> [all...] |
/frameworks/base/core/java/android/util/ |
H A D | MathUtils.java | 90 public static float dist(float x1, float y1, float x2, float y2) { argument 92 final float y = (y2 - y1); 96 public static float dist(float x1, float y1, float z1, float x2, float y2, float z2) { argument 98 final float y = (y2 - y1);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Shader.cpp | 81 float x0, float y0, float x1, float y1, 86 pts[1].set(SkFloatToScalar(x1), SkFloatToScalar(y1)); 113 float x0, float y0, float x1, float y1, 118 pts[1].set(SkFloatToScalar(x1), SkFloatToScalar(y1)); 80 LinearGradient_create1(JNIEnv* env, jobject, float x0, float y0, float x1, float y1, jintArray colorArray, jfloatArray posArray, int tileMode) argument 112 LinearGradient_create2(JNIEnv* env, jobject, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
|
H A D | Path.cpp | 111 static void quadTo__FFFF(JNIEnv* env, jobject clazz, SkPath* obj, jfloat x1, jfloat y1, jfloat x2, jfloat y2) { argument 113 SkScalar y1_ = SkFloatToScalar(y1); 127 static void cubicTo__FFFFFF(JNIEnv* env, jobject clazz, SkPath* obj, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) { argument 129 SkScalar y1_ = SkFloatToScalar(y1); 137 static void rCubicTo(JNIEnv* env, jobject clazz, SkPath* obj, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) { argument 139 SkScalar y1_ = SkFloatToScalar(y1);
|
/frameworks/base/media/libeffects/testlibs/ |
H A D | AudioBiquadFilter.cpp | 156 audio_sample_t y1 = mDelays[0][2]; local 169 acc = mac_coef_sample(a1, y1, acc); 172 y2 = y1; 173 y1 = y0; 180 mDelays[0][2] = y1; 214 audio_sample_t y1 = mDelays[ch][2]; local 222 acc = mac_coef_sample(a1, y1, acc); 225 y2 = y1; 226 y1 = y0; 235 mDelays[ch][2] = y1; [all...] |
/frameworks/base/media/libstagefright/colorconversion/ |
H A D | ColorConverter.cpp | 104 signed y1 = (signed)src[2 * x + 1] - 16; local 114 signed tmp1 = y1 * 298; 181 signed y1 = (signed)src_y[x] - 16; local 192 signed tmp1 = y1 * 298; 244 signed y1 = (signed)src_y[x] - 16; local 255 signed tmp1 = y1 * 298; 306 signed y1 = (signed)src_y[x] - 16; local 317 signed tmp1 = y1 * 298;
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | LinearGradient_Delegate.java | 58 float x0, float y0, float x1, float y1, 60 LinearGradient_Delegate newDelegate = new LinearGradient_Delegate(x0, y0, x1, y1, 67 float x0, float y0, float x1, float y1, 69 return nativeCreate1(x0, y0, x1, y1, new int[] { color0, color1}, null /*positions*/, 81 * @param y1 The y-coordinate for the end of the gradient line 88 private LinearGradient_Delegate(float x0, float y0, float x1, float y1, argument 91 mJavaPaint = new LinearGradientPaint(x0, y0, x1, y1, mColors, mPositions, tile); 108 public LinearGradientPaint(float x0, float y0, float x1, float y1, int colors[], argument 114 mDy = y1 - y0; 57 nativeCreate1( float x0, float y0, float x1, float y1, int colors[], float positions[], int tileMode) argument 66 nativeCreate2( float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
|
H A D | Path_Delegate.java | 251 /*package*/ static void native_quadTo(int nPath, float x1, float y1, float x2, float y2) { argument 257 pathDelegate.quadTo(x1, y1, x2, y2); 271 /*package*/ static void native_cubicTo(int nPath, float x1, float y1, argument 278 pathDelegate.cubicTo(x1, y1, x2, y2, x3, y3); 282 /*package*/ static void native_rCubicTo(int nPath, float x1, float y1, argument 289 pathDelegate.rCubicTo(x1, y1, x2, y2, x3, y3); 624 * (x1,y1), and ending at (x2,y2). If no moveTo() call has been made for 628 * @param y1 The y-coordinate of the control point on a quadratic curve 632 private void quadTo(float x1, float y1, float x2, float y2) { argument 633 mPath.quadTo(x1, y1, mLast 673 cubicTo(float x1, float y1, float x2, float y2, float x3, float y3) argument [all...] |
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | motion_comp.cpp | 1126 ULong x1, x2, x1m, x2m, y1, y2, y1m, y2m; /* new way */ local 1153 y1 = *((ULong*)(prev += 4)); /* a7 a6 a5 a4 */ 1164 y1m = (y1 >> 2) & mask; /* zero out last 2 bits */ 1166 y1 = y1 ^(y1m << 2); 1169 y1 += y2; 1183 /* now operate on x1m, x1, y1m, y1, x2m, x2 */ 1187 /* x1, y1, x2 */ 1192 y2 |= (y1 << 24); 1201 y2 = y1 >> [all...] |
/frameworks/base/services/camera/libcameraservice/ |
H A D | FakeCamera.cpp | 235 uint8_t y0, y1, u, v; local 247 y1 = y_tab[(temp>>SHIFT1) + ((pixels>>3) & 0x00FC)]; 263 tempY[1] = y1;
|
/frameworks/base/media/libstagefright/codecs/avc/dec/src/ |
H A D | pred_intra.cpp | 923 comp_refy += pitch; /* re-use x1 instead of y1 */ 989 comp_refy += pitch; /* reuse x2 instead of y1 */ 1055 comp_refy += pitch; /* reuse x1 instead of y1 */ 1172 int y0, y1, y2, y3; local 1178 y1 = *comp_refy; 1184 Q0 = (y1 + y2 + 1) >> 1; 1185 Q1 = (y1 + (y2 << 1) + y3 + 2) >> 2; 1186 P0 = ((y0 + y1 + 1) >> 1); 1187 P1 = ((y0 + (y1 << 1) + y2 + 2) >> 2);
|
/frameworks/base/core/jni/android/opengl/ |
H A D | util.cpp | 258 float y1 = y0; local 277 else if (y > y1) { 278 y1 = y; 296 float dy = y1 - y0; 313 static inline float dot3(float x0, float y0, float z0, float x1, float y1, float z1) { argument 314 return x0 * x1 + y0 * y1 + z0 * z1;
|