Searched defs:y1 (Results 1 - 25 of 32) sorted by relevance

12

/frameworks/base/media/libstagefright/codecs/amrwbenc/src/
H A Dg_pitch.c31 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 Dq_gain2.c64 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...]
/frameworks/base/graphics/java/android/graphics/
H A DLinearGradient.java24 @param y1 The y-coordinate for the end of the gradient line
31 public LinearGradient(float x0, float y0, float x1, float y1, argument
39 native_instance = nativeCreate1(x0, y0, x1, y1, colors, positions, tile.nativeInt);
40 native_shader = nativePostCreate1(native_instance, x0, y0, x1, y1, colors, positions,
48 @param y1 The y-coordinate for the end of the gradient line
53 public LinearGradient(float x0, float y0, float x1, float y1, argument
55 native_instance = nativeCreate2(x0, y0, x1, y1, color0, color1, tile.nativeInt);
56 native_shader = nativePostCreate2(native_instance, x0, y0, x1, y1, color0, color1,
60 private native int nativeCreate1(float x0, float y0, float x1, float y1, argument
62 private native int nativeCreate2(float x0, float y0, float x1, float y1, argument
64 nativePostCreate1(int native_shader, float x0, float y0, float x1, float y1, int colors[], float positions[], int tileMode) argument
66 nativePostCreate2(int native_shader, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
[all...]
H A DPath.java263 * (x1,y1), and ending at (x2,y2). If no moveTo() call has been made for
267 * @param y1 The y-coordinate of the control point on a quadratic curve
271 public void quadTo(float x1, float y1, float x2, float y2) { argument
273 native_quadTo(mNativePath, x1, y1, x2, y2);
297 * (x1,y1) and (x2,y2), and ending at (x3,y3). If no moveTo() call has been
301 * @param y1 The y-coordinate of the 1st control point on a cubic curve
307 public void cubicTo(float x1, float y1, float x2, float y2, argument
310 native_cubicTo(mNativePath, x1, y1, x2, y2, x3, y3);
318 public void rCubicTo(float x1, float y1, float x2, float y2, argument
321 native_rCubicTo(mNativePath, x1, y1, x
624 native_quadTo(int nPath, float x1, float y1, float x2, float y2) argument
628 native_cubicTo(int nPath, float x1, float y1, float x2, float y2, float x3, float y3) argument
630 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 Dg_pitch.cpp117 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 Dspstproc.cpp110 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 Dcalc_en.cpp407 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 Dgain_q.cpp392 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 Dcod_amr.cpp831 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/compile/libbcc/runtime/lib/ppc/
H A Dgcc_qdiv.c18 y = src.s.hi, y1 = src.s.lo; local
48 tmp = ((tmp + x1) - y1 * q) / y;
/frameworks/base/services/audioflinger/
H A DAudioResamplerCubic.h43 int32_t a, b, c, y0, y1, y2, y3; member in struct:android::AudioResamplerCubic::__anon1167
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 Dconceal.cpp142 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 Dget_pred_adv_b_add.cpp867 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 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/libs/hwui/
H A DPatch.cpp154 float y1 = 0.0f; local
163 y2 = y1 + floorf(segment * stretchY + 0.5f);
165 y2 = y1 + segment;
168 float vOffset = y1 == y2 ? 0.0f : 0.5 - (0.5 * segment / (y2 - y1));
174 y1 += i * EXPLODE_GAP;
177 generateRow(vertex, y1, y2, v1, v2, stretchX, right - left,
184 y1 = y2;
193 y1 += mYCount * EXPLODE_GAP;
196 generateRow(vertex, y1, y
214 generateRow(TextureVertex*& vertex, float y1, float y2, float v1, float v2, float stretchX, float width, float bitmapWidth, uint32_t& quadCount) argument
264 generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, float y2, float u1, float v1, float u2, float v2, uint32_t& quadCount) argument
[all...]
/frameworks/base/media/libeffects/testlibs/
H A DAudioBiquadFilter.cpp156 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/tools/layoutlib/bridge/src/android/graphics/
H A DLinearGradient_Delegate.java58 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,
70 x0, y0, x1, y1, new int[] { color0, color1}, null /*positions*/,
76 int native_shader, float x0, float y0, float x1, float y1,
84 int native_shader, float x0, float y0, float x1, float y1,
98 * @param y1 The y-coordinate for the end of the gradient line
105 private LinearGradient_Delegate(float x0, float y0, float x1, float y1, argument
108 mJavaPaint = new LinearGradientPaint(x0, y0, x1, y1, mColors, mPositions, tile);
125 public LinearGradientPaint(float x0, float y0, float x1, float y1, in argument
57 nativeCreate1(LinearGradient thisGradient, float x0, float y0, float x1, float y1, int colors[], float positions[], int tileMode) argument
66 nativeCreate2(LinearGradient thisGradient, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
75 nativePostCreate1(LinearGradient thisGradient, int native_shader, float x0, float y0, float x1, float y1, int colors[], float positions[], int tileMode) argument
83 nativePostCreate2(LinearGradient thisGradient, int native_shader, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
[all...]
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);
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/core/jni/android/graphics/
H A DShader.cpp111 float x0, float y0, float x1, float y1,
116 pts[1].set(SkFloatToScalar(x1), SkFloatToScalar(y1));
144 float x0, float y0, float x1, float y1, jintArray colorArray,
152 storedBounds[2] = x1; storedBounds[3] = y1;
186 float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) {
190 storedBounds[2] = x1; storedBounds[3] = y1;
211 float x0, float y0, float x1, float y1,
216 pts[1].set(SkFloatToScalar(x1), SkFloatToScalar(y1));
110 LinearGradient_create1(JNIEnv* env, jobject o, float x0, float y0, float x1, float y1, jintArray colorArray, jfloatArray posArray, int tileMode) argument
143 LinearGradient_postCreate1(JNIEnv* env, jobject o, SkShader* shader, float x0, float y0, float x1, float y1, jintArray colorArray, jfloatArray posArray, int tileMode) argument
185 LinearGradient_postCreate2(JNIEnv* env, jobject o, SkShader* shader, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
210 LinearGradient_create2(JNIEnv* env, jobject o, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
H A DPath.cpp119 static void quadTo__FFFF(JNIEnv* env, jobject clazz, SkPath* obj, jfloat x1, jfloat y1, jfloat x2, jfloat y2) { argument
121 SkScalar y1_ = SkFloatToScalar(y1);
135 static void cubicTo__FFFFFF(JNIEnv* env, jobject clazz, SkPath* obj, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) { argument
137 SkScalar y1_ = SkFloatToScalar(y1);
145 static void rCubicTo(JNIEnv* env, jobject clazz, SkPath* obj, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) { argument
147 SkScalar y1_ = SkFloatToScalar(y1);
/frameworks/base/media/libstagefright/colorconversion/
H A DColorConverter.cpp155 signed y1 = (signed)src_ptr[2 * x + 1] - 16; local
165 signed tmp1 = y1 * 298;
238 signed y1 = (signed)src_y[x] - 16; local
249 signed tmp1 = y1 * 298;
312 signed y1 = (signed)src_y[x] - 16; local
323 signed tmp1 = y1 * 298;
383 signed y1 = (signed)src_y[x] - 16; local
394 signed tmp1 = y1 * 298;
450 signed y1 = (signed)src_y[x] - 16; local
461 signed tmp1 = y1 * 29
[all...]
/frameworks/base/libs/rs/
H A DrsScriptC_LibGL.cpp132 float x1, float y1, float z1, float u1, float v1,
146 //LOGE("%4.2f, %4.2f, %4.2f", x1, y1, z1);
151 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4};
165 float x1, float y1, float z1,
169 rsrDrawQuadTexCoords(rsc, sc, x1, y1, z1, 0, 1,
193 void rsrDrawRect(Context *rsc, Script *sc, float x1, float y1, float x2, float y2, float z) { argument
194 //LOGE("SC_drawRect %f,%f %f,%f %f", x1, y1, x2, y2, z);
195 rsrDrawQuad(rsc, sc, x1, y2, z, x2, y2, z, x2, y1, z, x1, y1, z);
131 rsrDrawQuadTexCoords(Context *rsc, Script *sc, 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
164 rsrDrawQuad(Context *rsc, Script *sc, 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
H A DrsFont.cpp645 void FontState::appendMeshQuad(float x1, float y1, float z1, argument
661 if (x1 > width || y1 < 0.0f || x2 < 0 || y4 > height) {
665 /*LOGE("V0 x: %f y: %f z: %f", x1, y1, z1);
671 (*currentPos++) = y1;
/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
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 DFakeCamera.cpp235 uint8_t y0, y1, u, v; local
247 y1 = y_tab[(temp>>SHIFT1) + ((pixels>>3) & 0x00FC)];
263 tempY[1] = y1;

Completed in 382 milliseconds

12