Searched defs:y1 (Results 1 - 25 of 51) 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.java102 private static float distance(float x1, float y1, float x2, float y2) { argument
104 float 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::__anon738
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.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/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/rs/driver/
H A DrsdPath.cpp47 float y1, yc, y2; member in struct:DrvPathStatic::__anon1493
120 s->y1 = fin[1];
163 vtx[1] = s->y1;
173 vtx[9] = s->y1;
/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);
284 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);
H A DPathParser.java548 float y1,
560 /* Transform (x0, y0) and (x1, y1) into unit space */
564 double x1p = (x1 * cosTheta + y1 * sinTheta) / a;
565 double y1p = (-x1 * sinTheta + y1 * cosTheta) / b;
582 drawArc(p, x0, y0, x1, y1, a * adjust,
544 drawArc(Path p, float x0, float y0, float x1, float y1, float a, float b, float theta, boolean isMoreThanHalf, boolean isPositiveArc) argument
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DPointCloud.java81 public void setY(float y1) { argument
82 y = y1;
/frameworks/base/libs/hwui/
H A DPatch.cpp123 float y1 = 0.0f; local
134 y2 = y1 + floorf(segment * stretchY + 0.5f);
136 y2 = y1 + segment * rescaleY;
139 float vOffset = y1 == y2 ? 0.0f : 0.5 - (0.5 * segment / (y2 - y1));
144 generateRow(xDivs, xCount, vertex, y1, y2, v1, v2, stretchX, rescaleX,
148 y1 = y2;
156 generateRow(xDivs, xCount, vertex, y1, y2, v1, 1.0f, stretchX, rescaleX,
172 float y1, float y2, float v1, float v2, float stretchX, float rescaleX,
196 generateQuad(vertex, x1, y1, x
171 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
211 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/libs/hwui/font/
H A DCacheTexture.h157 inline void addQuad(float x1, float y1, float u1, float v1, argument
164 TextureVertex::set(mesh++, x1, y1, u1, v1);
/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.cpp73 int u, v, y1, y2, y3, y4; local
75 y1 = pInY[0];
83 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.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*/,
82 * @param y1 The y-coordinate for the end of the gradient line
89 private LinearGradient_Delegate(float x0, float y0, float x1, float y1, argument
92 mJavaPaint = new LinearGradientPaint(x0, y0, x1, y1, mColors, mPositions, tile);
109 public LinearGradientPaint(float x0, float y0, float x1, float y1, int colors[], argument
115 mDy = y1 - y0;
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

Completed in 589 milliseconds

123