Searched defs:y2 (Results 1 - 25 of 46) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
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/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/support/transition/src/android/support/transition/
H A DCircularPropagation.java100 private static float distance(float x1, float y1, float x2, float y2) { argument
102 float y = y2 - y1;
/frameworks/av/media/libaudioprocessing/
H A DAudioResamplerCubic.h43 int32_t a, b, c, y0, y1, y2, y3; member in struct:android::AudioResamplerCubic::__anon203
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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNoisyVelocityTracker.java42 public MotionEventCopy(float x2, float y2, long eventTime) { argument
44 this.y = y2;
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dconceal.cpp151 uint8 *y1, *y2, *u1, *u2, *v1, *v2; local
166 y2 = prevFrame + lumstart;
171 oscl_memcpy(y1, y2, MB_SIZE);
173 y2 += width_Y;
174 oscl_memcpy(y1, y2, MB_SIZE);
176 y2 += width_Y;
177 oscl_memcpy(y1, y2, MB_SIZE);
179 y2 += width_Y;
180 oscl_memcpy(y1, y2, MB_SIZE);
182 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/core/java/android/view/animation/
H A DPathInterpolator.java141 float y2 = a.getFloat(R.styleable.PathInterpolator_controlY2, 0);
142 initCubic(x1, y1, x2, y2);
154 private void initCubic(float x1, float y1, float x2, float y2) { argument
157 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/support/graphics/drawable/animated/src/android/support/graphics/drawable/
H A DPathInterpolatorCompat.java114 float y2 = TypedArrayUtils.getNamedFloat(a, parser, "controlY2",
116 initCubic(x1, y1, x2, y2);
128 private void initCubic(float x1, float y1, float x2, float y2) { argument
131 path.cubicTo(x1, y1, x2, y2, 1f, 1f);
/frameworks/av/media/libeffects/testlibs/
H A DAudioBiquadFilter.cpp155 audio_sample_t y2 = mDelays[0][3]; local
168 acc = mac_coef_sample(a2, y2, acc);
170 y2 = y1;
179 mDelays[0][3] = y2;
213 audio_sample_t y2 = mDelays[ch][3]; local
221 acc = mac_coef_sample(a2, y2, acc);
223 y2 = y1;
234 mDelays[ch][3] = y2;
/frameworks/av/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...]
/frameworks/base/cmds/input/src/com/android/commands/input/
H A DInput.java215 private void sendSwipe(int inputSource, float x1, float y1, float x2, float y2, int duration) { argument
227 lerp(y1, y2, alpha), 1.0f);
230 injectMotionEvent(inputSource, MotionEvent.ACTION_UP, now, x2, y2, 0.0f);
233 private void sendDragAndDrop(int inputSource, float x1, float y1, float x2, float y2, argument
252 lerp(y1, y2, alpha), 1.0f);
255 injectMotionEvent(inputSource, MotionEvent.ACTION_UP, now, x2, y2, 0.0f);
334 System.err.println(" swipe <x1> <y1> <x2> <y2> [duration(ms)]"
336 System.err.println(" draganddrop <x1> <y1> <x2> <y2> [duration(ms)]"
/frameworks/base/core/java/android/util/
H A DMathUtils.java93 public static float dist(float x1, float y1, float x2, float y2) { argument
95 final float y = (y2 - y1);
99 public static float dist(float x1, float y1, float z1, float x2, float y2, float z2) { argument
101 final float y = (y2 - y1);
/frameworks/base/libs/hwui/
H A DPatch.cpp104 float y2 = 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;
135 y2 = height;
136 generateRow(xDivs, xCount, vertex, y1, y2, v1, 1.0f, stretchX, rescaleX,
148 float y1, float y2, floa
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.cpp133 double y2 = poly[p2].y; local
134 double a = (x1 * y2 - x2 * y1);
136 sumy += (y1 + y2) * a;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DFlingAnimationUtils.java76 * @param y2 the y value to take for the second point of the bezier spline
79 float y2) {
89 mY2 = y2;
254 float y2 = calculateLinearOutFasterInY2(velAbs);
256 float startGradient = y2 / LINEAR_OUT_FASTER_IN_X2;
257 Interpolator mLinearOutFasterIn = new PathInterpolator(0, 0, LINEAR_OUT_FASTER_IN_X2, y2);
282 * Calculates the y2 control point for a linear-out-faster-in path interpolator depending on the
286 * @return the y2 control point for a cubic bezier path interpolator
78 FlingAnimationUtils(Context ctx, float maxLengthSeconds, float speedUpFactor, float x2, float y2) argument
/frameworks/base/services/core/java/com/android/server/power/
H A DWirelessChargerDetector.java353 float x2, float y2, float z2) {
354 final double dotProduct = (x1 * x2) + (y1 * y2) + (z1 * z2);
356 final double mag2 = Math.sqrt((x2 * x2) + (y2 * y2) + (z2 * z2));
368 + ", x2=" + x2 + ", y2=" + y2 + ", z2=" + z2
352 hasMoved(float x1, float y1, float z1, float x2, float y2, float z2) argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dcolorspace.cpp70 int u, v, y1, y2, y3, y4; local
73 y2 = pInY[1];
81 pOutColor[1] = convertYuvToRgba(y2, 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
329 mBottomLeft = new PointF(x2, y2);
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicConvolve3x3.cpp81 const void *y2, const short *coef, uint32_t count);
192 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); local
193 const uchar4 *py0 = (const uchar4 *)(pin + stride * y2);
239 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); local
240 const uchar2 *py0 = (const uchar2 *)(pin + stride * y2);
284 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); local
285 const uchar *py0 = (const uchar *)(pin + stride * y2);
329 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); local
330 const float4 *py0 = (const float4 *)(pin + stride * y2);
374 uint32_t y2 local
418 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); local
[all...]
H A DrsCpuIntrinsicConvolve5x5.cpp340 const void *y2, const void *y3, const void *y4,
356 uint32_t y2 = info->current.y; local
362 const uchar4 *py2 = (const uchar4 *)(pin + stride * y2);
416 uint32_t y2 = info->current.y; local
422 const uchar2 *py2 = (const uchar2 *)(pin + stride * y2);
465 uint32_t y2 = info->current.y; local
471 const uchar *py2 = (const uchar *)(pin + stride * y2);
514 uint32_t y2 = info->current.y; local
520 const float4 *py2 = (const float4 *)(pin + stride * y2);
563 uint32_t y2 local
612 uint32_t y2 = info->current.y; local
[all...]
/frameworks/av/media/libstagefright/colorconversion/
H A DColorConverter.cpp164 signed y2 = (signed)src_ptr[2 * x + 3] - 16; local
178 signed tmp2 = y2 * 298;
279 signed y2 = (signed)src_y[x + 1] - 16; local
294 signed tmp2 = y2 * 298;
352 signed y2 = (signed)src_y[x + 1] - 16; local
367 signed tmp2 = y2 * 298;
426 signed y2 = (signed)src_y[x + 1] - 16; local
441 signed tmp2 = y2 * 298;
496 signed y2 = (signed)src_y[x + 1] - 16; local
511 signed tmp2 = y2 * 29
[all...]

Completed in 554 milliseconds

12