Searched defs:x1 (Results 1 - 25 of 32) sorted by relevance

12

/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/
H A Dpost_pro.h107 Word16 x1; member in struct:__anon557
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/
H A Dpre_proc.h79 Word16 x1; member in struct:__anon571
/frameworks/base/media/libstagefright/codecs/amrwb/src/
H A Dmedian5.cpp120 int16 x1, x2, x3, x4, x5; local
123 x1 = x[-2];
131 if (x2 < x1)
133 tmp = x1;
134 x1 = x2;
137 if (x3 < x1)
139 tmp = x1;
140 x1 = x3;
143 if (x4 < x1)
145 tmp = x1;
[all...]
H A Dhighpass_400hz_at_12k8.cpp150 int16 y2_hi, y2_lo, y1_hi, y1_lo, x0, x1; local
159 x1 = mem[5];
171 x2 = x1;
172 x1 = x0;
175 L_tmp2 = fxp_mac_16by16(x1, -1830, L_tmp2);
197 mem[5] = x1;
H A Dhighpass_50hz_at_12k8.cpp152 int16 y2_hi, y2_lo, y1_hi, y1_lo, x0, x1; local
162 x1 = mem[5];
176 x2 = x1;
177 x1 = x0;
180 L_tmp2 = fxp_mac_16by16(x1, -16212, L_tmp2);
202 mem[5] = x1;
/frameworks/base/graphics/java/android/graphics/
H A DLinearGradient.java24 @param x1 The x-coordinate for the end of the gradient line
32 public LinearGradient(float x0, float y0, float x1, float y1, argument
40 native_instance = nativeCreate1(x0, y0, x1, y1, colors, positions, tile.nativeInt);
46 @param x1 The x-coordinate for the end of the gradient line
52 public LinearGradient(float x0, float y0, float x1, float y1, argument
54 native_instance = nativeCreate2(x0, y0, x1, y1, color0, color1, tile.nativeInt);
58 private static native int nativeCreate1(float x0, float y0, float x1, float y1, argument
60 private static native int nativeCreate2(float x0, float y0, float x1, float y1, argument
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/
H A Dhp400.c64 Word16 y2_hi, y2_lo, y1_hi, y1_lo, x0, x1; local
72 x1 = *mem;
76 x2 = x1;
77 x1 = x0;
85 L_tmp += (y1_hi * a[1] + y2_hi * a[2] + (x0 + x2)* b[0] + x1 * b[1]) << 1;
96 *mem-- = x1;
H A Dhp50.c65 Word16 y2_hi, y2_lo, y1_hi, y1_lo, x0, x1; local
74 x1 = *mem;
78 x2 = x1;
79 x1 = x0;
87 L_tmp += (y1_hi * a[1] + y2_hi * a[2] + (x0 + x2) * b[0] + x1 * b[1]) << 1;
96 *mem-- = x1;
H A Dhp_wsp.c87 Word16 x0, x1, x2, x3; local
98 x1 = mem[7];
104 x2 = x1;
105 x1 = x0;
119 L_tmp += (x1 * b[1])<<1;
142 mem[7] = x1;
H A Dp_med_ol.c174 Word16 x1, x2, x3, x4, x5; local
177 x1 = x[-2];
183 if (x2 < x1)
185 tmp = x1;
186 x1 = x2;
189 if (x3 < x1)
191 tmp = x1;
192 x1 = x3;
195 if (x4 < x1)
197 tmp = x1;
[all...]
/frameworks/base/services/sensorservice/
H A DSecondOrderLowPassFilter.h48 float x1, x2; member in class:android::BiquadFilter
/frameworks/base/media/libstagefright/foundation/
H A Dbase64.cpp106 uint8_t x1 = data[i]; local
110 out->append(encode6Bit(x1 >> 2));
111 out->append(encode6Bit((x1 << 4 | x2 >> 4) & 0x3f));
120 uint8_t x1 = data[i]; local
122 out->append(encode6Bit(x1 >> 2));
123 out->append(encode6Bit((x1 << 4 | x2 >> 4) & 0x3f));
130 uint8_t x1 = data[i]; local
131 out->append(encode6Bit(x1 >> 2));
132 out->append(encode6Bit((x1 << 4) & 0x3f));
/frameworks/base/media/libstagefright/codecs/aacdec/
H A Desc_iquant_scaling.cpp198 x1 = index * SPACING;
201 deltaOneThird = (w2 - w1) * (absX - x1);
451 UInt32 x1; local
556 x1 = index << ORDER;
557 deltaOneThird = (w2 - w1) * (absX - x1);
582 x1 = index << ORDER;
583 deltaOneThird = (w2 - w1) * (absX - x1);
605 x1 = index << ORDER;
606 deltaOneThird = (w2 - w1) * (absX - x1);
629 x1
[all...]
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dget_pred_adv_b_add.cpp867 uint32 x1, x2, x1m, x2m, y1, y2, y1m, y2m; /* new way */ local
895 x1 = *((uint32*)prev); /* load a3 a2 a1 a0 */
900 x1m = (x1 >> 2) & mask; /* zero out last 2 bits */
902 x1 = x1 ^(x1m << 2);
905 x1 += x2;
927 /* now operate on x1m, x1, y1m, y1, x2m, x2 */
931 /* x1, y1, x2 */
934 y2 = x1 >> 8;
938 x1
[all...]
H A Didct_vca.cpp99 int32 x0, x1, x2, x4, x5; local
124 x1 = (181 * (x4 - x5) + 128) >> 8;
133 res = (x0 + x1) >> 14;
144 res2 = (x0 - x1) >> 14;
160 int32 x0, x1, x3, x5, x7;//, x8; local
162 x1 = blk[8];
166 x7 = W7 * x1;
167 x1 = W1 * x1;
170 x5 = (181 * (x1
187 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; local
259 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; local
296 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; local
373 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; local
450 int32 x0, x1, x2, x4, x5, temp; local
507 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8, temp; local
580 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8, temp; local
[all...]
H A Dblock_idct.cpp516 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; local
539 x1 = (int32)blk[12] << 8;
565 x8 = x0 + x1;
566 x0 -= x1;
567 x1 = W6 * (x3 + x2) + 4;
568 x2 = (x1 - (W2 + W6) * x2) >> 3;
569 x3 = (x1 + (W2 - W6) * x3) >> 3;
570 x1 = x4 + x6;
586 res = (x7 + x1) >> 14;
609 res = (x7 - x1) >> 1
627 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8, temp; local
837 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; local
[all...]
/frameworks/base/core/java/android/util/
H A DMathUtils.java90 public static float dist(float x1, float y1, float x2, float y2) { argument
91 final float x = (x2 - x1);
96 public static float dist(float x1, float y1, float z1, float x2, float y2, float z2) { argument
97 final float x = (x2 - x1);
/frameworks/base/core/jni/android/graphics/
H A DShader.cpp81 float x0, float y0, float x1, float y1,
86 pts[1].set(SkFloatToScalar(x1), SkFloatToScalar(y1));
113 float x0, float y0, float x1, float y1,
118 pts[1].set(SkFloatToScalar(x1), SkFloatToScalar(y1));
80 LinearGradient_create1(JNIEnv* env, jobject, float x0, float y0, float x1, float y1, jintArray colorArray, jfloatArray posArray, int tileMode) argument
112 LinearGradient_create2(JNIEnv* env, jobject, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
H A DPath.cpp111 static void quadTo__FFFF(JNIEnv* env, jobject clazz, SkPath* obj, jfloat x1, jfloat y1, jfloat x2, jfloat y2) { argument
112 SkScalar x1_ = SkFloatToScalar(x1);
127 static void cubicTo__FFFFFF(JNIEnv* env, jobject clazz, SkPath* obj, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) { argument
128 SkScalar x1_ = SkFloatToScalar(x1);
137 static void rCubicTo(JNIEnv* env, jobject clazz, SkPath* obj, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) { argument
138 SkScalar x1_ = SkFloatToScalar(x1);
/frameworks/base/media/libeffects/testlibs/
H A DAudioBiquadFilter.cpp154 audio_sample_t x1 = mDelays[0][0]; local
167 acc = mac_coef_sample(b1, x1, acc);
174 x2 = x1;
175 x1 = x0;
178 mDelays[0][0] = x1;
212 audio_sample_t x1 = mDelays[ch][0]; local
220 acc = mac_coef_sample(b1, x1, acc);
227 x2 = x1;
228 x1 = x0;
233 mDelays[ch][0] = x1;
[all...]
/frameworks/base/services/audioflinger/
H A DAudioResampler.cpp64 static inline int32_t Interp(int32_t x0, int32_t x1, uint32_t f) { argument
65 return x0 + (((x1 - x0) * (int32_t)(f >> kPreInterpShift)) >> kNumInterpBits);
410 // r4 x1, i1, i3, Out1
439 " smulwt r4, r4, r6\n" /* (x1-x0)*.. */\
519 // r4 x1, i1, i3, out1
548 " smulwt r4, r4, r6\n" /* (x1-x0)*.. */\
558 " smulwt r12, r12, r6\n" /* (x1-x0)*.. */\
/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,
69 return nativeCreate1(x0, y0, x1, y1, new int[] { color0, color1}, null /*positions*/,
80 * @param x1 The x-coordinate for the end of the gradient line
88 private LinearGradient_Delegate(float x0, float y0, float x1, float y1, argument
91 mJavaPaint = new LinearGradientPaint(x0, y0, x1, y1, mColors, mPositions, tile);
108 public LinearGradientPaint(float x0, float y0, float x1, float y1, int colors[], argument
113 mDx = x1 - x0;
57 nativeCreate1( float x0, float y0, float x1, float y1, int colors[], float positions[], int tileMode) argument
66 nativeCreate2( float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
H A DPath_Delegate.java251 /*package*/ static void native_quadTo(int nPath, float x1, float y1, float x2, float y2) { argument
257 pathDelegate.quadTo(x1, y1, x2, y2);
271 /*package*/ static void native_cubicTo(int nPath, float x1, float y1, argument
278 pathDelegate.cubicTo(x1, y1, x2, y2, x3, y3);
282 /*package*/ static void native_rCubicTo(int nPath, float x1, float y1, argument
289 pathDelegate.rCubicTo(x1, y1, x2, y2, x3, y3);
624 * (x1,y1), and ending at (x2,y2). If no moveTo() call has been made for
627 * @param x1 The x-coordinate of the control point on a quadratic curve
632 private void quadTo(float x1, float y1, float x2, float y2) { argument
633 mPath.quadTo(x1, y
673 cubicTo(float x1, float y1, float x2, float y2, float x3, float y3) argument
[all...]
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfastidct.cpp81 int32 x0, x1, x3, x5, x7;//, x8; local
83 x1 = blk[8];
87 x7 = W7 * x1;
88 x1 = W1 * x1;
91 x5 = (181 * (x1 - x7) + 128) >> 8;
92 x7 = (181 * (x1 + x7) + 128) >> 8;
94 blk[0] = (x0 + x1) >> 8;
98 blk[56] = (x0 - x1) >> 8;
107 int32 x0, x1, x local
142 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; local
185 int32 x1, x3, x5, x7;//, x8; local
235 int32 x1, x3, x5, x7; local
261 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; local
373 int32 x0, x1, x2, x4, x5; local
432 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; local
502 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; local
578 int32 x1, x2, x4, x5; local
691 int32 x1, x3, x5, x7; local
746 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; local
869 int32 x0, x1, x2, x4, x5; local
924 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; local
990 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; local
1063 int32 x1, x2, x4, x5; local
1171 int32 x1, x3, x5, x7; local
1223 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; local
1369 int32 x0, x1, x2, x4, x5; local
1429 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; local
1500 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; local
1577 int32 x1, x2, x4, x5; local
1692 int32 x1, x3, x5, x7; local
1748 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; local
[all...]
H A Dmotion_comp.cpp1126 ULong x1, x2, x1m, x2m, y1, y2, y1m, y2m; /* new way */ local
1151 x1 = *((ULong*)prev); /* load a3 a2 a1 a0 */
1156 x1m = (x1 >> 2) & mask; /* zero out last 2 bits */
1158 x1 = x1 ^(x1m << 2);
1161 x1 += x2;
1183 /* now operate on x1m, x1, y1m, y1, x2m, x2 */
1187 /* x1, y1, x2 */
1190 y2 = x1 >> 8;
1194 x1
[all...]

Completed in 4844 milliseconds

12