Searched refs:y1 (Results 1 - 25 of 78) sorted by relevance

1234

/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...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dg_pitch.h105 Word16 y1[], /* i : Filtered adaptive codebook. */
H A Dspstproc.h119 Word16 y1[], /* i : Filtered adaptive exitation */
H A Dcalc_en.h139 * coeff[0] = y1 y1
140 * coeff[1] = -2 xn y1
143 * coeff[4] = 2 y1 y2
148 * Product <y1 y1> and <xn y1> have been computed in G_pitch() and
156 Word16 y1[], /* i : Adaptive codebook, Q0 */
158 Word16 g_coeff[], /* i : Correlations <xn y1> <y1 y
[all...]
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...]
/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 init(nativeCreate1(x0, y0, x1, y1, colors, positions, tile.nativeInt));
75 @param y1 The y-coordinate for the end of the gradient line
80 public LinearGradient(float x0, float y0, float x1, float y1, int color0, int color1, argument
86 mY1 = y1;
90 init(nativeCreate2(x0, y0, x1, y1, color0, color1, tile.nativeInt));
115 private native long nativeCreate1(float x0, float y0, float x1, float y1, argument
117 private native long nativeCreate2(float x0, float y0, float x1, float y1, argument
[all...]
/frameworks/av/services/audioflinger/
H A DAudioResamplerCubic.h43 int32_t a, b, c, y0, y1, y2, y3; member in struct:android::AudioResamplerCubic::__anon735
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/base/libs/hwui/
H A DPatch.cpp123 float y1 = 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;
156 generateRow(xDivs, xCount, vertex, y1, y2, v1, 1.0f, stretchX, rescaleX,
172 float y1, float y2, float v1, float v2, float stretchX, float rescaleX,
196 generateQuad(vertex, x1, y1, x
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 DPatch.h65 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 Dconvolve3x3.rs29 uint32_t y1 = min((int32_t)y+1, gHeight-1);
32 float4 sum = convert_float4(rsGetElementAt_uchar4(gIn, x1, y1)) * gCoeffs[0];
33 sum += convert_float4(rsGetElementAt_uchar4(gIn, x, y1)) * gCoeffs[1];
34 sum += convert_float4(rsGetElementAt_uchar4(gIn, x2, y1)) * gCoeffs[2];
H A Dconvolve5x5.rs34 uint32_t y1 = max((int32_t)y-1, 0);
45 + convert_float4(rsGetElementAt_uchar4(gIn, x0, y1)) * gCoeffs[5]
46 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y1)) * gCoeffs[6]
47 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y1)) * gCoeffs[7]
48 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y1)) * gCoeffs[8]
49 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y1)) * gCoeffs[9]
H A Dgrain.rs47 uint32_t y1 = (y-1) & gHMask;
50 uint p00 = 56 * rsGetElementAt_uchar(gBlendSource, x1, y1);
51 uint p01 = 114 * rsGetElementAt_uchar(gBlendSource, x, y1);
52 uint p02 = 56 * rsGetElementAt_uchar(gBlendSource, x2, y1);
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A Dconvolve3x3.rs29 uint32_t y1 = min((int32_t)y+1, gHeight-1);
32 float4 sum = convert_float4(rsGetElementAt_uchar4(gIn, x1, y1)) * gCoeffs[0];
33 sum += convert_float4(rsGetElementAt_uchar4(gIn, x, y1)) * gCoeffs[1];
34 sum += convert_float4(rsGetElementAt_uchar4(gIn, x2, y1)) * gCoeffs[2];
H A Dconvolve5x5.rs34 uint32_t y1 = max((int32_t)y-1, 0);
45 + convert_float4(rsGetElementAt_uchar4(gIn, x0, y1)) * gCoeffs[5]
46 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y1)) * gCoeffs[6]
47 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y1)) * gCoeffs[7]
48 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y1)) * gCoeffs[8]
49 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y1)) * gCoeffs[9]
H A Dgrain.rs47 uint32_t y1 = (y-1) & gHMask;
50 uint p00 = 56 * rsGetElementAt_uchar(gBlendSource, x1, y1);
51 uint p01 = 114 * rsGetElementAt_uchar(gBlendSource, x, y1);
52 uint p02 = 56 * rsGetElementAt_uchar(gBlendSource, x2, y1);
/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/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A Dip2_convolve3x3.rs28 uint32_t y1 = min((int32_t)y+1, gHeight-1);
31 float4 p00 = convert_float4(rsGetElementAt_uchar4(gIn, x1, y1));
32 float4 p01 = convert_float4(rsGetElementAt_uchar4(gIn, x, y1));
33 float4 p02 = convert_float4(rsGetElementAt_uchar4(gIn, x2, y1));
H A Dconvolve5x5.fs33 uint32_t y1 = max((int32_t)y-1, 0);
44 float4 p1 = convert_float4(rsGetElementAt_uchar4(gIn, x0, y1)) * gCoeffs[5]
45 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y1)) * gCoeffs[6]
46 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y1)) * gCoeffs[7]
47 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y1)) * gCoeffs[8]
48 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y1)) * gCoeffs[9];
H A Dgrain.fs46 uint32_t y1 = (y-1) & gHMask;
49 uint p00 = 56 * rsGetElementAt_uchar(gBlendSource, x1, y1);
50 uint p01 = 114 * rsGetElementAt_uchar(gBlendSource, x, y1);
51 uint p02 = 56 * rsGetElementAt_uchar(gBlendSource, x2, 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/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*/,
82 * @param y1 The y-coordinate for the end of the gradient line
89 private LinearGradient_Delegate(float x0, float y0, float x1, float y1, argument
92 mJavaPaint = new LinearGradientPaint(x0, y0, x1, y1, mColors, mPositions, tile);
109 public LinearGradientPaint(float x0, float y0, float x1, float y1, int colors[], argument
115 mDy = y1 - y0;
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
/frameworks/base/core/java/android/view/animation/
H A DPathInterpolator.java123 float y1 = a.getFloat(R.styleable.PathInterpolator_controlY1, 0);
134 initQuad(x1, y1);
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/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmotion_comp.cpp1126 ULong x1, x2, x1m, x2m, y1, y2, y1m, y2m; /* new way */ local
1153 y1 = *((ULong*)(prev += 4)); /* a7 a6 a5 a4 */
1164 y1m = (y1 >> 2) & mask; /* zero out last 2 bits */
1166 y1 = y1 ^(y1m << 2);
1169 y1 += y2;
1183 /* now operate on x1m, x1, y1m, y1, x2m, x2 */
1187 /* x1, y1, x2 */
1192 y2 |= (y1 << 24);
1201 y2 = y1 >>
[all...]
/frameworks/rs/scriptc/
H A Drs_graphics.rsh242 * @param y1
248 rsgDrawRect(float x1, float y1, float x2, float y2, float z);
255 * @param y1
268 rsgDrawQuad(float x1, float y1, float z1,
279 * @param y1
300 rsgDrawQuadTexCoords(float x1, float y1, float z1, float u1, float v1,
414 float x1, y1, z1, x2, y2, z2;
415 rsgMeshComputeBoundingBox(mesh, &x1, &y1, &z1, &x2, &y2, &z2);
417 bBoxMin->y = y1;

Completed in 377 milliseconds

1234