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

123

/frameworks/av/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/av/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/base/core/java/android/transition/
H A DCircularPropagation.java100 private static double distance(float x1, float y1, float x2, float y2) { argument
102 double y = y2 - y1;
/frameworks/av/services/audioflinger/
H A DAudioResamplerCubic.h43 int32_t a, b, c, y0, y1, y2, y3; member in struct:android::AudioResamplerCubic::__anon800
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/graphics/java/android/graphics/
H A DLinearGradient.java45 @param y1 The y-coordinate for the end of the gradient line
52 public LinearGradient(float x0, float y0, float x1, float y1, int colors[], float positions[], argument
64 mY1 = y1;
68 init(nativeCreate1(x0, y0, x1, y1, colors, positions, tile.nativeInt));
75 @param y1 The y-coordinate for the end of the gradient line
80 public LinearGradient(float x0, float y0, float x1, float y1, int color0, int color1, argument
86 mY1 = y1;
90 init(nativeCreate2(x0, y0, x1, y1, color0, color1, tile.nativeInt));
115 private native long nativeCreate1(float x0, float y0, float x1, float y1, argument
117 private native long nativeCreate2(float x0, float y0, float x1, float y1, argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dconceal.cpp147 uint8 *y1, *y2, *u1, *u2, *v1, *v2; local
159 y1 = curr->yChan + lumstart;
167 oscl_memcpy(y1, y2, MB_SIZE);
168 y1 += width_Y;
170 oscl_memcpy(y1, y2, MB_SIZE);
171 y1 += width_Y;
173 oscl_memcpy(y1, y2, MB_SIZE);
174 y1 += width_Y;
176 oscl_memcpy(y1, y2, MB_SIZE);
177 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/view/animation/
H A DPathInterpolator.java123 float y1 = a.getFloat(R.styleable.PathInterpolator_controlY1, 0);
134 initQuad(x1, y1);
138 initCubic(x1, y1, x2, y2);
150 private void initCubic(float x1, float y1, float x2, float y2) { argument
153 path.cubicTo(x1, y1, x2, y2, 1f, 1f);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DPathInterpolatorBuilder.java50 private void initCubic(float x1, float y1, float x2, float y2) { argument
53 path.cubicTo(x1, y1, x2, y2, 1f, 1f);
/frameworks/av/media/libeffects/testlibs/
H A DAudioBiquadFilter.cpp154 audio_sample_t y1 = mDelays[0][2]; local
167 acc = mac_coef_sample(a1, y1, acc);
170 y2 = y1;
171 y1 = y0;
178 mDelays[0][2] = y1;
212 audio_sample_t y1 = mDelays[ch][2]; local
220 acc = mac_coef_sample(a1, y1, acc);
223 y2 = y1;
224 y1 = y0;
233 mDelays[ch][2] = y1;
[all...]
/frameworks/base/cmds/input/src/com/android/commands/input/
H A DInput.java201 private void sendSwipe(int inputSource, float x1, float y1, float x2, float y2, int duration) { argument
206 injectMotionEvent(inputSource, MotionEvent.ACTION_DOWN, now, x1, y1, 1.0f);
213 lerp(y1, y2, alpha), 1.0f);
295 System.err.println(" swipe <x1> <y1> <x2> <y2> [duration(ms)]"
/frameworks/base/core/java/android/util/
H A DMathUtils.java94 public static float dist(float x1, float y1, float x2, float y2) { argument
96 final float y = (y2 - y1);
100 public static float dist(float x1, float y1, float z1, float x2, float y2, float z2) { argument
102 final float y = (y2 - y1);
/frameworks/base/libs/hwui/
H A DPatch.cpp103 float y1 = 0.0f; local
114 y2 = y1 + floorf(segment * stretchY + 0.5f);
116 y2 = y1 + segment * rescaleY;
119 float vOffset = y1 == y2 ? 0.0f : 0.5 - (0.5 * segment / (y2 - y1));
124 generateRow(xDivs, xCount, vertex, y1, y2, v1, v2, stretchX, rescaleX,
128 y1 = y2;
136 generateRow(xDivs, xCount, vertex, y1, y2, v1, 1.0f, stretchX, rescaleX,
148 float y1, float y2, float v1, float v2, float stretchX, float rescaleX,
172 generateQuad(vertex, x1, y1, x
147 generateRow(const int32_t* xDivs, uint32_t xCount, TextureVertex*& vertex, float y1, float y2, float v1, float v2, float stretchX, float rescaleX, float width, float bitmapWidth, uint32_t& quadCount) argument
187 generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, float y2, float u1, float v1, float u2, float v2, uint32_t& quadCount) argument
[all...]
H A DShadowTessellator.cpp131 double y1 = poly[p1].y; local
134 double a = (x1 * y2 - x2 * y1);
136 sumy += (y1 + y2) * a;
/frameworks/base/services/core/java/com/android/server/power/
H A DWirelessChargerDetector.java312 private static boolean hasMoved(float x1, float y1, float z1, argument
314 final double dotProduct = (x1 * x2) + (y1 * y2) + (z1 * z2);
315 final double mag1 = Math.sqrt((x1 * x1) + (y1 * y1) + (z1 * z1));
327 + ", x1=" + x1 + ", y1=" + y1 + ", z1=" + z1
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dcolorspace.cpp70 int u, v, y1, y2, y3, y4; local
72 y1 = pInY[0];
80 pOutColor[0] = convertYuvToRgba(y1, u, v);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/
H A DQuad.java326 private Quad(float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3) { argument
328 mTopRight = new PointF(x1, y1);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DLinearGradient_Delegate.java60 float x0, float y0, float x1, float y1,
62 LinearGradient_Delegate newDelegate = new LinearGradient_Delegate(x0, y0, x1, y1,
69 float x0, float y0, float x1, float y1,
72 x0, y0, x1, y1, new int[] { color0, color1}, null /*positions*/,
84 * @param y1 The y-coordinate for the end of the gradient line
91 private LinearGradient_Delegate(float x0, float y0, float x1, float y1, argument
94 mJavaPaint = new LinearGradientPaint(x0, y0, x1, y1, mColors, mPositions, tile);
111 public LinearGradientPaint(float x0, float y0, float x1, float y1, int colors[], argument
117 mDy = y1 - y0;
59 nativeCreate1(LinearGradient thisGradient, float x0, float y0, float x1, float y1, int colors[], float positions[], int tileMode) argument
68 nativeCreate2(LinearGradient thisGradient, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicConvolve3x3.cpp87 extern "C" void rsdIntrinsicConvolve3x3_K(void *dst, const void *y0, const void *y1,
198 uint32_t y1 = rsMin((int32_t)info->current.y + 1, (int32_t)(info->dim.y-1)); local
202 const uchar4 *py2 = (const uchar4 *)(pin + stride * y1);
245 uint32_t y1 = rsMin((int32_t)info->current.y + 1, (int32_t)(info->dim.y-1)); local
249 const uchar2 *py2 = (const uchar2 *)(pin + stride * y1);
290 uint32_t y1 = rsMin((int32_t)info->current.y + 1, (int32_t)(info->dim.y-1)); local
294 const uchar *py2 = (const uchar *)(pin + stride * y1);
335 uint32_t y1 = rsMin((int32_t)info->current.y + 1, (int32_t)(info->dim.y-1)); local
339 const float4 *py2 = (const float4 *)(pin + stride * y1);
380 uint32_t y1 local
424 uint32_t y1 = rsMin((int32_t)info->current.y + 1, (int32_t)(info->dim.y-1)); local
[all...]
H A DrsCpuIntrinsicConvolve5x5.cpp345 extern "C" void rsdIntrinsicConvolve5x5_K(void *dst, const void *y0, const void *y1,
361 uint32_t y1 = rsMax((int32_t)info->current.y-1, 0); local
367 const uchar4 *py1 = (const uchar4 *)(pin + stride * y1);
421 uint32_t y1 = rsMax((int32_t)info->current.y-1, 0); local
427 const uchar2 *py1 = (const uchar2 *)(pin + stride * y1);
470 uint32_t y1 = rsMax((int32_t)info->current.y-1, 0); local
476 const uchar *py1 = (const uchar *)(pin + stride * y1);
519 uint32_t y1 = rsMax((int32_t)info->current.y-1, 0); local
525 const float4 *py1 = (const float4 *)(pin + stride * y1);
568 uint32_t y1 local
617 uint32_t y1 = rsMax((int32_t)info->current.y-1, 0); local
[all...]

Completed in 552 milliseconds

123