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

12

/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/av/services/audioflinger/
H A DAudioResamplerCubic.h43 int32_t a, b, c, y0, y1, y2, y3; member in struct:android::AudioResamplerCubic::__anon966
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/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/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 native_instance = nativeCreate1(x0, y0, x1, y1, colors, positions, tile.nativeInt);
69 native_shader = nativePostCreate1(native_instance, x0, y0, x1, y1, colors, positions,
77 @param y1 The y-coordinate for the end of the gradient line
82 public LinearGradient(float x0, float y0, float x1, float y1, int color0, int color1, argument
88 mY1 = y1;
92 native_instance = nativeCreate2(x0, y0, x1, y1, color0, color1, tile.nativeInt);
93 native_shader = nativePostCreate2(native_instance, x0, y0, x1, y1, color
119 nativeCreate1(float x0, float y0, float x1, float y1, int colors[], float positions[], int tileMode) argument
121 nativeCreate2(float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
123 nativePostCreate1(int native_shader, float x0, float y0, float x1, float y1, int colors[], float positions[], int tileMode) argument
125 nativePostCreate2(int native_shader, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
[all...]
/frameworks/rs/driver/
H A DrsdPath.cpp47 float y1, yc, y2; member in struct:DrvPathStatic::__anon1615
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);
/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.cpp122 float y1 = 0.0f; local
133 y2 = y1 + floorf(segment * stretchY + 0.5f);
135 y2 = y1 + segment * rescaleY;
138 float vOffset = y1 == y2 ? 0.0f : 0.5 - (0.5 * segment / (y2 - y1));
143 generateRow(xDivs, xCount, vertex, y1, y2, v1, v2, stretchX, rescaleX,
147 y1 = y2;
155 generateRow(xDivs, xCount, vertex, y1, y2, v1, 1.0f, stretchX, rescaleX,
171 float y1, float y2, float v1, float v2, float stretchX, float rescaleX,
195 generateQuad(vertex, x1, y1, x
170 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
210 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/services/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*/,
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...]
/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)p->y + 1, (int32_t)(p->dimY-1)); local
202 const uchar4 *py2 = (const uchar4 *)(pin + stride * y1);
245 uint32_t y1 = rsMin((int32_t)p->y + 1, (int32_t)(p->dimY-1)); local
249 const uchar2 *py2 = (const uchar2 *)(pin + stride * y1);
290 uint32_t y1 = rsMin((int32_t)p->y + 1, (int32_t)(p->dimY-1)); local
294 const uchar *py2 = (const uchar *)(pin + stride * y1);
335 uint32_t y1 = rsMin((int32_t)p->y + 1, (int32_t)(p->dimY-1)); local
339 const float4 *py2 = (const float4 *)(pin + stride * y1);
380 uint32_t y1 local
424 uint32_t y1 = rsMin((int32_t)p->y + 1, (int32_t)(p->dimY-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)p->y-1, 0); local
367 const uchar4 *py1 = (const uchar4 *)(pin + stride * y1);
410 uint32_t y1 = rsMax((int32_t)p->y-1, 0); local
416 const uchar2 *py1 = (const uchar2 *)(pin + stride * y1);
459 uint32_t y1 = rsMax((int32_t)p->y-1, 0); local
465 const uchar *py1 = (const uchar *)(pin + stride * y1);
508 uint32_t y1 = rsMax((int32_t)p->y-1, 0); local
514 const float4 *py1 = (const float4 *)(pin + stride * y1);
557 uint32_t y1 local
606 uint32_t y1 = rsMax((int32_t)p->y-1, 0); local
[all...]
/frameworks/av/media/libstagefright/colorconversion/
H A DColorConverter.cpp155 signed y1 = (signed)src_ptr[2 * x + 1] - 16; local
165 signed tmp1 = y1 * 298;
242 signed y1 = (signed)src_y[x] - 16; local
253 signed tmp1 = y1 * 298;
315 signed y1 = (signed)src_y[x] - 16; local
326 signed tmp1 = y1 * 298;
389 signed y1 = (signed)src_y[x] - 16; local
400 signed tmp1 = y1 * 298;
459 signed y1 = (signed)src_y[x] - 16; local
470 signed tmp1 = y1 * 29
[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);

Completed in 1388 milliseconds

12