Searched refs:y2 (Results 1 - 23 of 23) sorted by relevance

/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/
H A Dg_code.h104 Word16 y2[], /* i : filtered innovation vector */
H A Dspstproc.h120 Word16 y2[], /* i : Filtered fixed codebook excitation */
H A Dg_code.cpp103 y2[] = filtered innovation vector
144 Word16 y2[] // in : filtered innovation vector
160 scal_y2[i] = shr (y2[i], 1);
231 Word16 y2[], /* i : filtered innovation vector */
240 Word16 *p_y2 = y2;
282 p_y2 = y2;
229 G_code( Word16 xn2[], Word16 y2[], Flag *pOverflow ) argument
H A Dspstproc.cpp111 y2 -- Word16 Array -- Filtered fixed codebook excitation
183 Word16 y2[], /* i : Filtered fixed codebook excitation */
295 * y2 Q10 Q12
307 L_temp = ((Word32)y2[i] * gain_code);
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 Dcod_amr.cpp832 Word16 y2[L_SUBFR]; // Filtered fixed codebook excitation
833 Word16 gCoeff[6]; // Correlations between xn, y1, & y2:
1097 code, y2, &ana, *usedMode, subfrNr);
1103 xn, xn2, y1, y2, gCoeff, evenSubfr, gp_limit,
1114 gain_code, Aq, synth, xn, code, y1, y2, st->mem_syn,
1123 Copy(y2, y2_sf0, L_SUBFR);
1130 gain_code, Aq, synth, xn, code, y1, y2,
1168 gain_code, Aq, synth, xn, code, y1, y2,
1235 Word16 y2[L_SUBFR]; /* Filtered fixed codebook excitation */ local
1236 Word16 gCoeff[6]; /* Correlations between xn, y1, & y2
[all...]
/frameworks/base/services/audioflinger/
H A DAudioResamplerCubic.h43 int32_t a, b, c, y0, y1, y2, y3; member in struct:android::AudioResamplerCubic::__anon710
55 p->y1 = p->y2;
56 p->y2 = p->y3;
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);
60 p->c = (p->y2 - p->y0) >> 1;
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dconceal.cpp142 uint8 *y1, *y2, *u1, *u2, *v1, *v2; local
157 y2 = prevFrame + lumstart;
162 oscl_memcpy(y1, y2, MB_SIZE);
164 y2 += width_Y;
165 oscl_memcpy(y1, y2, MB_SIZE);
167 y2 += width_Y;
168 oscl_memcpy(y1, y2, MB_SIZE);
170 y2 += width_Y;
171 oscl_memcpy(y1, y2, MB_SIZE);
173 y2
[all...]
H A Dget_pred_adv_b_add.cpp867 uint32 x1, x2, x1m, x2m, y1, y2, y1m, y2m; /* new way */ local
898 y2 = *((uint32*)(prev + width)); /* b7 b6 b5 b4 */
909 y2m = (y2 >> 2) & mask;
911 y2 = y2 ^(y2m << 2);
913 y1 += y2;
915 /* y2m, y2 free */
918 y2 = *((uint32*)(prev + width)); /* b11 b10 b9 b8 */
920 y2m = (y2 >> 2) & mask;
922 y2
[all...]
/frameworks/base/services/sensorservice/
H A DSecondOrderLowPassFilter.cpp55 y1 = y2 = x;
61 float y = (x + x2)*s.a0 + x1*s.a1 - y1*s.b1 - y2*s.b2;
63 y2 = y1;
H A DSecondOrderLowPassFilter.h49 float y1, y2; member in class:android::BiquadFilter
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/
H A Dq_gain2.c66 Word16 y2[], /* (i) Q9 : Filtered innovative vector. */
132 * coeff[2] = y2 y2 *
133 * coeff[3] = -2 xn y2 *
134 * coeff[4] = 2 y1 y2 *
145 /* Compute scalar product <y2[],y2[]> */
147 coeff[2] = extract_h(Dot_product12_asm(y2, y2, L_subfr, &exp));
149 coeff[2] = extract_h(Dot_product12(y2, 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 DvoAMRWBEnc.c192 Word16 y2[L_SUBFR]; /* Filtered adaptive excitation */ local
982 * - find filtered pitch exc. y2[]=exc[] convolved with h1[]) *
1002 Convolve_asm(code, h1, y2, L_SUBFR);
1004 Convolve(code, h1, y2, L_SUBFR);
1007 gain2 = G_pitch(xn, y2, g_coeff2, L_SUBFR);
1015 Updt_tar(xn, xn2, y2, gain2, L_SUBFR);
1048 Copy(y2, y1, L_SUBFR);
1082 ACELP_2t64_fx(dn, cn, h2, code, y2, indice);
1087 ACELP_4t64_fx(dn, cn, h2, code, y2, 20, *ser_size, indice);
1095 ACELP_4t64_fx(dn, cn, h2, code, y2, 3
[all...]
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmotion_comp.cpp1126 ULong x1, x2, x1m, x2m, y1, y2, y1m, y2m; /* new way */ local
1154 y2 = *((ULong*)(prev + lx)); /* b7 b6 b5 b4 */
1165 y2m = (y2 >> 2) & mask;
1167 y2 = y2 ^(y2m << 2);
1169 y1 += y2;
1171 /* y2m, y2 free */
1174 y2 = *((ULong*)(prev + lx)); /* b11 b10 b9 b8 */
1176 y2m = (y2 >> 2) & mask;
1178 y2
[all...]
/frameworks/base/media/libeffects/testlibs/
H A DAudioBiquadFilter.cpp157 audio_sample_t y2 = mDelays[0][3]; local
170 acc = mac_coef_sample(a2, y2, acc);
172 y2 = y1;
181 mDelays[0][3] = y2;
215 audio_sample_t y2 = mDelays[ch][3]; local
223 acc = mac_coef_sample(a2, y2, acc);
225 y2 = y1;
236 mDelays[ch][3] = y2;
/frameworks/base/graphics/java/android/graphics/
H A DPath.java230 * (x1,y1), and ending at (x2,y2). If no moveTo() call has been made for
236 * @param y2 The y-coordinate of the end 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
268 * @param y2 The y-coordinate of the 2nd 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, x2, y2, 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/core/java/android/util/
H A DMathUtils.java90 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/media/libstagefright/colorconversion/
H A DColorConverter.cpp105 signed y2 = (signed)src[2 * x + 3] - 16; local
119 signed tmp2 = y2 * 298;
182 signed y2 = (signed)src_y[x + 1] - 16; local
197 signed tmp2 = y2 * 298;
245 signed y2 = (signed)src_y[x + 1] - 16; local
260 signed tmp2 = y2 * 298;
307 signed y2 = (signed)src_y[x + 1] - 16; local
322 signed tmp2 = y2 * 298;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java251 /*package*/ static void native_quadTo(int nPath, float x1, float y1, float x2, float y2) { argument
257 pathDelegate.quadTo(x1, y1, x2, y2);
272 float x2, float y2, float x3, float y3) {
278 pathDelegate.cubicTo(x1, y1, x2, y2, x3, y3);
283 float x2, float y2, float x3, float y3) {
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
630 * @param y2 The y-coordinate of the end point on a quadratic curve
632 private void quadTo(float x1, float y1, float x2, float y2) { argument
633 mPath.quadTo(x1, y1, mLastX = x2, mLastY = y2);
271 native_cubicTo(int nPath, float x1, float y1, float x2, float y2, float x3, float y3) argument
282 native_rCubicTo(int nPath, float x1, float y1, float x2, float y2, float x3, float y3) argument
673 cubicTo(float x1, float y1, float x2, float y2, float x3, float y3) argument
[all...]
/frameworks/base/libs/rs/
H A DrsScriptC_Lib.cpp388 static float SC_distf2(float x1, float y1, float x2, float y2) argument
391 float y = y2 - y1;
395 static float SC_distf3(float x1, float y1, float z1, float x2, float y2, float z2) argument
398 float y = y2 - y1;
683 float x2, float y2, float z2)
690 float vtx[] = { x1, y1, z1, x2, y2, z2 };
724 float x2, float y2, float z2,
738 //LOGE("%4.2f, %4.2f, %4.2f", x2, y2, z2);
742 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4};
759 float x2, float y2, floa
682 SC_drawLine(float x1, float y1, float z1, float x2, float y2, float z2) argument
722 SC_drawQuadTexCoords(float x1, float y1, float z1, float u1, float v1, float x2, float y2, float z2, float u2, float v2, float x3, float y3, float z3, float u3, float v3, float x4, float y4, float z4, float u4, float v4) argument
758 SC_drawQuad(float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4) argument
829 SC_drawRect(float x1, float y1, float x2, float y2, float z) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DPath.cpp111 static void quadTo__FFFF(JNIEnv* env, jobject clazz, SkPath* obj, jfloat x1, jfloat y1, jfloat x2, jfloat y2) { argument
115 SkScalar y2_ = SkFloatToScalar(y2);
127 static void cubicTo__FFFFFF(JNIEnv* env, jobject clazz, SkPath* obj, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) { argument
131 SkScalar y2_ = SkFloatToScalar(y2);
137 static void rCubicTo(JNIEnv* env, jobject clazz, SkPath* obj, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) { argument
141 SkScalar y2_ = SkFloatToScalar(y2);
/frameworks/base/libs/ui/tests/
H A DInputReader_test.cpp2799 int32_t x1 = 100, y1 = 125, x2 = 300, y2 = 500; local
2802 processPosition(mapper, x2, y2);
2839 toDisplayX(x2), toDisplayY(y2), 1, 0, 0, 0, 0, 0, 0));
2845 x1 += 10; y1 += 15; x2 += 5; y2 -= 10;
2848 processPosition(mapper, x2, y2);
2867 toDisplayX(x2), toDisplayY(y2), 1, 0, 0, 0, 0, 0, 0));
2873 x2 += 15; y2 -= 20;
2874 processPosition(mapper, x2, y2);
2894 toDisplayX(x2), toDisplayY(y2), 1, 0, 0, 0, 0, 0, 0));
2911 toDisplayX(x2), toDisplayY(y2),
3050 int32_t x1 = 100, y1 = 125, x2 = 300, y2 = 500; local
3311 float y2 = toDisplayY(rawY2); local
[all...]
/frameworks/base/media/libstagefright/codecs/avc/dec/src/
H A Dpred_intra.cpp927 comp_refy += pitch; /* re-use x0 instead of y2 */
1002 comp_refy += pitch; /* reuse x0 instead of y2 */
1060 comp_refy += pitch; /* reuse x0 instead of y2 */
1172 int y0, y1, y2, y3; local
1180 y2 = *comp_refy;
1184 Q0 = (y1 + y2 + 1) >> 1;
1185 Q1 = (y1 + (y2 << 1) + y3 + 2) >> 2;
1187 P1 = ((y0 + (y1 << 1) + y2 + 2) >> 2);
1195 D0 = (y2 + 3 * y3 + 2) >> 2;
1196 R0 = (y2
[all...]
/frameworks/base/media/libstagefright/codecs/amrwbenc/inc/
H A Dacelp.h389 Word16 y2[], /* (i) Q9 :Filtered innovative vector. */

Completed in 329 milliseconds