/frameworks/av/media/libeffects/testlibs/ |
H A D | AudioBiquadFilter.cpp | 155 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/amrnb/enc/src/ |
H A D | cod_amr.cpp | 832 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...] |
H A D | g_code.cpp | 103 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 D | g_code.h | 104 Word16 y2[], /* i : filtered innovation vector */
|
H A D | spstproc.cpp | 111 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 D | spstproc.h | 120 Word16 y2[], /* i : Filtered fixed codebook excitation */
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
H A D | acelp.h | 389 Word16 y2[], /* (i) Q9 :Filtered innovative vector. */
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | q_gain2.c | 66 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...] |
H A D | voAMRWBEnc.c | 194 Word16 y2[L_SUBFR]; /* Filtered adaptive excitation */ local 986 * - find filtered pitch exc. y2[]=exc[] convolved with h1[]) * 1006 Convolve_asm(code, h1, y2, L_SUBFR); 1008 Convolve(code, h1, y2, L_SUBFR); 1011 gain2 = G_pitch(xn, y2, g_coeff2, L_SUBFR); 1019 Updt_tar(xn, xn2, y2, gain2, L_SUBFR); 1052 Copy(y2, y1, L_SUBFR); 1086 ACELP_2t64_fx(dn, cn, h2, code, y2, indice); 1091 ACELP_4t64_fx(dn, cn, h2, code, y2, 20, *ser_size, indice); 1099 ACELP_4t64_fx(dn, cn, h2, code, y2, 3 [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | conceal.cpp | 147 uint8 *y1, *y2, *u1, *u2, *v1, *v2; local 162 y2 = prevFrame + lumstart; 167 oscl_memcpy(y1, y2, MB_SIZE); 169 y2 += width_Y; 170 oscl_memcpy(y1, y2, MB_SIZE); 172 y2 += width_Y; 173 oscl_memcpy(y1, y2, MB_SIZE); 175 y2 += width_Y; 176 oscl_memcpy(y1, y2, MB_SIZE); 178 y2 [all...] |
H A D | get_pred_adv_b_add.cpp | 867 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/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | motion_comp.cpp | 1126 ULong x1, x2, x1m, x2m, y1, y2, y1m, y2m; /* new way */ local 1154 y2 = *((ULong*)(prev + lx)); /* b7 b6 b5 b4 */ 1165 y2m = (y2 >> 2) & mask; 1167 y2 = y2 ^(y2m << 2); 1169 y1 += y2; 1171 /* y2m, y2 free */ 1174 y2 = *((ULong*)(prev + lx)); /* b11 b10 b9 b8 */ 1176 y2m = (y2 >> 2) & mask; 1178 y2 [all...] |
/frameworks/av/media/libstagefright/colorconversion/ |
H A D | ColorConverter.cpp | 156 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/av/services/audioflinger/ |
H A D | AudioResamplerCubic.h | 43 int32_t a, b, c, y0, y1, y2, y3; member in struct:android::AudioResamplerCubic::__anon794 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/cmds/input/src/com/android/commands/input/ |
H A D | Input.java | 201 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); 295 System.err.println(" swipe <x1> <y1> <x2> <y2> [duration(ms)]"
|
/frameworks/base/core/java/android/transition/ |
H A D | CircularPropagation.java | 100 private static double distance(float x1, float y1, float x2, float y2) { argument 102 double y = y2 - y1;
|
/frameworks/base/core/java/android/util/ |
H A D | MathUtils.java | 94 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/android/view/ |
H A D | ViewGroup.java | 3367 private static void fillRect(Canvas canvas, Paint paint, int x1, int y1, int x2, int y2) { argument 3368 if (x1 != x2 && y1 != y2) { 3372 if (y1 > y2) { 3373 int tmp = y1; y1 = y2; y2 = tmp; 3375 canvas.drawRect(x1, y1, x2, y2, paint); 3393 private static void drawRectCorners(Canvas canvas, int x1, int y1, int x2, int y2, Paint paint, argument 3396 drawCorner(canvas, paint, x1, y2, lineLength, -lineLength, lineWidth); 3398 drawCorner(canvas, paint, x2, y2, -lineLength, -lineLength, lineWidth); 3402 int x2, int y2, in 3401 fillDifference(Canvas canvas, int x2, int y2, int x3, int y3, int dx1, int dy1, int dx2, int dy2, Paint paint) argument 7929 drawRect(Canvas canvas, Paint paint, int x1, int y1, int x2, int y2) argument [all...] |
/frameworks/base/core/java/android/view/animation/ |
H A D | PathInterpolator.java | 137 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/base/core/java/android/widget/ |
H A D | GridLayout.java | 882 private void drawLine(Canvas graphics, int x1, int y1, int x2, int y2, Paint paint) { argument 885 graphics.drawLine(width - x1, y1, width - x2, y2, paint); 887 graphics.drawLine(x1, y1, x2, y2, paint); 1138 int y2 = vLocations[rowSpan.max]; 1141 int cellHeight = y2 - y1;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Path.cpp | 133 static void quadTo__FFFF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat x1, jfloat y1, jfloat x2, jfloat y2) { argument 135 obj->quadTo(x1, y1, x2, y2); 143 static void cubicTo__FFFFFF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) { argument 145 obj->cubicTo(x1, y1, x2, y2, x3, y3); 148 static void rCubicTo(JNIEnv* env, jobject clazz, jlong objHandle, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) { argument 150 obj->rCubicTo(x1, y1, x2, y2, x3, y3);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Path.java | 377 * (x1,y1), and ending at (x2,y2). If no moveTo() call has been made for 383 * @param y2 The y-coordinate of the end point on a quadratic curve 385 public void quadTo(float x1, float y1, float x2, float y2) { argument 387 native_quadTo(mNativePath, x1, y1, x2, y2); 411 * (x1,y1) and (x2,y2), and ending at (x3,y3). If no moveTo() call has been 417 * @param y2 The y-coordinate of the 2nd control point on a cubic curve 421 public void cubicTo(float x1, float y1, float x2, float y2, argument 424 native_cubicTo(mNativePath, x1, y1, x2, y2, x3, y3); 432 public void rCubicTo(float x1, float y1, float x2, float y2, argument 435 native_rCubicTo(mNativePath, x1, y1, x2, y2, x 820 native_quadTo(long nPath, float x1, float y1, float x2, float y2) argument 824 native_cubicTo(long nPath, float x1, float y1, float x2, float y2, float x3, float y3) argument 826 native_rCubicTo(long nPath, float x1, float y1, float x2, float y2, float x3, float y3) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.cpp | 504 float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3, 511 mCurrentCacheTexture->addQuad(x1, y1, u1, v1, x2, y2, u2, v2, 516 float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3, 524 appendMeshQuadNoClip(x1, y1, u1, v1, x2, y2, u2, v2, x3, y3, u3, v3, x4, y4, u4, v4, texture); 539 float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3, 542 appendMeshQuadNoClip(x1, y1, u1, v1, x2, y2, u2, v2, x3, y3, u3, v3, x4, y4, u4, v4, texture); 546 mBounds->top = std::min(mBounds->top, std::min(y1, std::min(y2, std::min(y3, y4)))); 548 mBounds->bottom = std::max(mBounds->bottom, std::max(y1, std::max(y2, std::max(y3, y4)))); 503 appendMeshQuadNoClip(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, CacheTexture* texture) argument 515 appendMeshQuad(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, CacheTexture* texture) argument 538 appendRotatedMeshQuad(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, CacheTexture* texture) argument
|
H A D | FontRenderer.h | 160 float x2, float y2, float u2, float v2, 164 float x2, float y2, float u2, float v2, 168 float x2, float y2, float u2, float v2,
|
H A D | Patch.cpp | 104 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...] |