Searched defs:y2 (Results 1 - 25 of 42) 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.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
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.cpp142 uint8 *y1, *y2, *u1, *u2, *v1, *v2; local
157 y2 = prevFrame + lumstart;
162 oscl_memcpy(y1, y2, MB_SIZE);
164 y2 += width_Y;
165 oscl_memcpy(y1, y2, MB_SIZE);
167 y2 += width_Y;
168 oscl_memcpy(y1, y2, MB_SIZE);
170 y2 += width_Y;
171 oscl_memcpy(y1, y2, MB_SIZE);
173 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.java137 float y2 = a.getFloat(R.styleable.PathInterpolator_controlY2, 0);
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
126 s->y2 = fin[5];
168 vtx[5] = s->y2;
175 vtx[11] = s->y2;
/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.java201 private void sendSwipe(int inputSource, float x1, float y1, float x2, float y2, int duration) { argument
213 lerp(y1, y2, alpha), 1.0f);
216 injectMotionEvent(inputSource, MotionEvent.ACTION_UP, now, x2, y2, 0.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.java111 public Point(float x2, float y2, float r) { argument
113 y = (float) y2;
/frameworks/base/libs/hwui/
H A DPatch.cpp124 float y2 = 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;
155 y2 = height;
156 generateRow(xDivs, xCount, vertex, y1, y2, v1, 1.0f, stretchX, rescaleX,
172 float y1, float y2, floa
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...]
H A DShadowTessellator.cpp160 double y2 = poly[p2].y; local
161 double a = (x1 * y2 - x2 * y1);
163 sumy += (y1 + y2) * a;
/frameworks/base/libs/hwui/font/
H A DCacheTexture.h158 float x2, float y2, float u2, float v2,
162 TextureVertex::set(mesh++, x2, y2, u2, v2);
157 addQuad(float x1, float y1, float u1, float v1, float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3, float x4, float y4, float u4, float v4) argument
/frameworks/base/services/core/java/com/android/server/power/
H A DWirelessChargerDetector.java313 float x2, float y2, float z2) {
314 final double dotProduct = (x1 * x2) + (y1 * y2) + (z1 * z2);
316 final double mag2 = Math.sqrt((x2 * x2) + (y2 * y2) + (z2 * z2));
328 + ", x2=" + x2 + ", y2=" + y2 + ", z2=" + z2
312 hasMoved(float x1, float y1, float z1, float x2, float y2, float z2) argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dcolorspace.cpp73 int u, v, y1, y2, y3, y4; local
76 y2 = pInY[1];
84 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.cpp88 const void *y2, const short *coef, uint32_t count);
199 uint32_t y2 = rsMax((int32_t)p->y - 1, 0); local
200 const uchar4 *py0 = (const uchar4 *)(pin + stride * y2);
246 uint32_t y2 = rsMax((int32_t)p->y - 1, 0); local
247 const uchar2 *py0 = (const uchar2 *)(pin + stride * y2);
291 uint32_t y2 = rsMax((int32_t)p->y - 1, 0); local
292 const uchar *py0 = (const uchar *)(pin + stride * y2);
336 uint32_t y2 = rsMax((int32_t)p->y - 1, 0); local
337 const float4 *py0 = (const float4 *)(pin + stride * y2);
381 uint32_t y2 local
425 uint32_t y2 = rsMax((int32_t)p->y - 1, 0); local
[all...]
H A DrsCpuIntrinsicConvolve5x5.cpp346 const void *y2, const void *y3, const void *y4,
362 uint32_t y2 = p->y; local
368 const uchar4 *py2 = (const uchar4 *)(pin + stride * y2);
422 uint32_t y2 = p->y; local
428 const uchar2 *py2 = (const uchar2 *)(pin + stride * y2);
471 uint32_t y2 = p->y; local
477 const uchar *py2 = (const uchar *)(pin + stride * y2);
520 uint32_t y2 = p->y; local
526 const float4 *py2 = (const float4 *)(pin + stride * y2);
569 uint32_t y2 local
618 uint32_t y2 = p->y; local
[all...]
/frameworks/av/media/libstagefright/colorconversion/
H A DColorConverter.cpp156 signed y2 = (signed)src_ptr[2 * x + 3] - 16; local
170 signed tmp2 = y2 * 298;
243 signed y2 = (signed)src_y[x + 1] - 16; local
258 signed tmp2 = y2 * 298;
316 signed y2 = (signed)src_y[x + 1] - 16; local
331 signed tmp2 = y2 * 298;
390 signed y2 = (signed)src_y[x + 1] - 16; local
405 signed tmp2 = y2 * 298;
460 signed y2 = (signed)src_y[x + 1] - 16; local
475 signed tmp2 = y2 * 29
[all...]
/frameworks/base/media/mca/filterfw/jni/
H A Djni_shader_program.cpp150 jfloat y2,
155 program->SetSourceRegion(Quad(Point(x0, y0), Point(x1, y1), Point(x2, y2), Point(x3, y3)));
168 jfloat y2,
173 program->SetTargetRegion(Quad(Point(x0, y0), Point(x1, y1), Point(x2, y2), Point(x3, y3)));
143 Java_android_filterfw_core_ShaderProgram_setSourceRegion(JNIEnv* env, jobject thiz, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) argument
161 Java_android_filterfw_core_ShaderProgram_setTargetRegion(JNIEnv* env, jobject thiz, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) argument

Completed in 8952 milliseconds

12