/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | g_code.h | 104 Word16 y2[], /* i : filtered innovation vector */
|
H A D | spstproc.h | 120 Word16 y2[], /* i : Filtered fixed codebook excitation */
|
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 | 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
|
/frameworks/av/services/audioflinger/ |
H A D | AudioResamplerCubic.h | 43 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/libs/hwui/ |
H A D | Patch.cpp | 124 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 D | Patch.h | 65 float y1, float y2, float v1, float v2, float stretchX, float rescaleX, 67 void generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, float y2,
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | convolve3x3.rs | 30 uint32_t y2 = max((int32_t)y-1, 0); 38 sum += convert_float4(rsGetElementAt_uchar4(gIn, x1, y2)) * gCoeffs[6]; 39 sum += convert_float4(rsGetElementAt_uchar4(gIn, x, y2)) * gCoeffs[7]; 40 sum += convert_float4(rsGetElementAt_uchar4(gIn, x2, y2)) * gCoeffs[8];
|
H A D | convolve5x5.rs | 35 uint32_t y2 = y; 51 + convert_float4(rsGetElementAt_uchar4(gIn, x0, y2)) * gCoeffs[10] 52 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y2)) * gCoeffs[11] 53 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y2)) * gCoeffs[12] 54 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y2)) * gCoeffs[13] 55 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y2)) * gCoeffs[14]
|
H A D | grain.rs | 48 uint32_t y2 = (y+1) & gHMask; 56 uint p20 = 56 * rsGetElementAt_uchar(gBlendSource, x1, y2); 57 uint p21 = 114 * rsGetElementAt_uchar(gBlendSource, x, y2); 58 uint p22 = 56 * rsGetElementAt_uchar(gBlendSource, x2, y2);
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | convolve3x3.rs | 30 uint32_t y2 = max((int32_t)y-1, 0); 38 sum += convert_float4(rsGetElementAt_uchar4(gIn, x1, y2)) * gCoeffs[6]; 39 sum += convert_float4(rsGetElementAt_uchar4(gIn, x, y2)) * gCoeffs[7]; 40 sum += convert_float4(rsGetElementAt_uchar4(gIn, x2, y2)) * gCoeffs[8];
|
H A D | convolve5x5.rs | 35 uint32_t y2 = y; 51 + convert_float4(rsGetElementAt_uchar4(gIn, x0, y2)) * gCoeffs[10] 52 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y2)) * gCoeffs[11] 53 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y2)) * gCoeffs[12] 54 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y2)) * gCoeffs[13] 55 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y2)) * gCoeffs[14]
|
H A D | grain.rs | 48 uint32_t y2 = (y+1) & gHMask; 56 uint p20 = 56 * rsGetElementAt_uchar(gBlendSource, x1, y2); 57 uint p21 = 114 * rsGetElementAt_uchar(gBlendSource, x, y2); 58 uint p22 = 56 * rsGetElementAt_uchar(gBlendSource, x2, y2);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | conceal.cpp | 142 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 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/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | ip2_convolve3x3.rs | 29 uint32_t y2 = max((int32_t)y-1, 0); 37 float4 p20 = convert_float4(rsGetElementAt_uchar4(gIn, x1, y2)); 38 float4 p21 = convert_float4(rsGetElementAt_uchar4(gIn, x, y2)); 39 float4 p22 = convert_float4(rsGetElementAt_uchar4(gIn, x2, y2));
|
H A D | convolve5x5.fs | 34 uint32_t y2 = y; 50 float4 p2 = convert_float4(rsGetElementAt_uchar4(gIn, x0, y2)) * gCoeffs[10] 51 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y2)) * gCoeffs[11] 52 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y2)) * gCoeffs[12] 53 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y2)) * gCoeffs[13] 54 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y2)) * gCoeffs[14];
|
H A D | grain.fs | 47 uint32_t y2 = (y+1) & gHMask; 55 uint p20 = 56 * rsGetElementAt_uchar(gBlendSource, x1, y2); 56 uint p21 = 114 * rsGetElementAt_uchar(gBlendSource, x, y2); 57 uint p22 = 56 * rsGetElementAt_uchar(gBlendSource, x2, y2);
|
/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...] |
/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/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/rs/scriptc/ |
H A D | rs_graphics.rsh | 244 * @param y2 248 rsgDrawRect(float x1, float y1, float x2, float y2, float z); 258 * @param y2 269 float x2, float y2, float z2, 284 * @param y2 301 float x2, float y2, float z2, float u2, float v2, 414 float x1, y1, z1, x2, y2, z2; 415 rsgMeshComputeBoundingBox(mesh, &x1, &y1, &z1, &x2, &y2, &z2); 420 bBoxMax->y = y2;
|
/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/transition/ |
H A D | CircularPropagation.java | 102 private static float distance(float x1, float y1, float x2, float y2) { argument 104 float y = y2 - y1;
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Path.java | 362 * (x1,y1), and ending at (x2,y2). If no moveTo() call has been made for 368 * @param y2 The y-coordinate of the end point on a quadratic curve 370 public void quadTo(float x1, float y1, float x2, float y2) { argument 372 native_quadTo(mNativePath, x1, y1, x2, y2); 396 * (x1,y1) and (x2,y2), and ending at (x3,y3). If no moveTo() call has been 402 * @param y2 The y-coordinate of the 2nd control point on a cubic curve 406 public void cubicTo(float x1, float y1, float x2, float y2, argument 409 native_cubicTo(mNativePath, x1, y1, x2, y2, x3, y3); 417 public void rCubicTo(float x1, float y1, float x2, float y2, argument 420 native_rCubicTo(mNativePath, x1, y1, x2, y2, x 796 native_quadTo(long nPath, float x1, float y1, float x2, float y2) argument 800 native_cubicTo(long nPath, float x1, float y1, float x2, float y2, float x3, float y3) argument 802 native_rCubicTo(long nPath, float x1, float y1, float x2, float y2, float x3, float y3) argument [all...] |