Home
last modified time | relevance | path

Searched refs:x1 (Results 1 – 25 of 154) sorted by relevance

1234567

/frameworks/av/media/libaudioclient/tests/
Dtrack_test_input_v1.0_ref.txt6 48000 0x1 0x3 4800 2400 0 0x0 0 1 2
7 24000 0x1 0x3 4800 2400 0 0x0 0 1 2
8 16000 0x1 0x3 4800 2400 0 0x0 0 1 2
9 8000 0x1 0x3 4800 2400 0 0x0 0 1 2
10 44100 0x1 0x3 4410 2205 0 0x0 0 1 2
11 22050 0x1 0x3 4410 2205 0 0x0 0 1 2
12 11025 0x1 0x3 4410 2205 0 0x0 0 1 2
18 48000 0x1 0x1 4800 2400 0 0x0 0 1 2
19 48000 0x1 0x3F 4800 2400 0 0x0 0 1 2
20 48000 0x1 0x63F 4800 2400 0 0x0 0 1 2
[all …]
Drecord_test_input_v1.0_ref.txt6 48000 0x1 0x10 4800 2400 0x0 0 0
7 24000 0x1 0x10 4800 2400 0x0 0 0
8 16000 0x1 0x10 4800 2400 0x0 0 0
9 8000 0x1 0x10 4800 2400 0x0 0 0
10 44100 0x1 0x10 4410 2205 0x0 0 0
11 22050 0x1 0x10 4410 2205 0x0 0 0
12 11025 0x1 0x10 4410 2205 0x0 0 0
18 48000 0x1 0x0C 4800 2400 0x0 0 0
20 48000 0x1 0x10 0 0 0x0 0 0
21 48000 0x1 0x10 48000 0 0x0 0 0
[all …]
Drecord_test_output_v1.0_ref_walleye.txt6 format(0x1), channel mask(0x10), channel count(1), sample rate(48000)
15 format(0x1), channel mask(0x10), channel count(1), sample rate(24000)
24 format(0x1), channel mask(0x10), channel count(1), sample rate(16000)
33 format(0x1), channel mask(0x10), channel count(1), sample rate(8000)
42 format(0x1), channel mask(0x10), channel count(1), sample rate(44100)
51 format(0x1), channel mask(0x10), channel count(1), sample rate(22050)
60 format(0x1), channel mask(0x10), channel count(1), sample rate(11025)
96 format(0x1), channel mask(0xc), channel count(2), sample rate(48000)
105 format(0x1), channel mask(0x10), channel count(1), sample rate(48000)
114 format(0x1), channel mask(0x10), channel count(1), sample rate(48000)
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicConvolve3x3.cpp88 uint32_t x1 = rsMax((int32_t)x-1, 0); in ConvolveOneU4() local
91 float4 px = convert_float4(py0[x1]) * coeff[0] + in ConvolveOneU4()
94 convert_float4(py1[x1]) * coeff[3] + in ConvolveOneU4()
97 convert_float4(py2[x1]) * coeff[6] + in ConvolveOneU4()
110 uint32_t x1 = rsMax((int32_t)x-1, 0); in ConvolveOneU2() local
113 float2 px = convert_float2(py0[x1]) * coeff[0] + in ConvolveOneU2()
116 convert_float2(py1[x1]) * coeff[3] + in ConvolveOneU2()
119 convert_float2(py2[x1]) * coeff[6] + in ConvolveOneU2()
131 uint32_t x1 = rsMax((int32_t)x-1, 0); in ConvolveOneU1() local
134 float px = ((float)py0[x1]) * coeff[0] + in ConvolveOneU1()
[all …]
DrsCpuIntrinsicBlend.cpp118 uint32_t x1 = xstart; in kernel() local
123 if (rsdIntrinsicBlend_K(out, in, info->slot, x1, x2) >= 0) in kernel()
129 for (;x1 < x2; x1++, out++) { in kernel()
134 for (;x1 < x2; x1++, out++, in++) { in kernel()
144 if ((x1 + 8) < x2) { in kernel()
145 uint32_t len = (x2 - x1) >> 3; in kernel()
147 x1 += len << 3; in kernel()
153 for (;x1 < x2; x1++, out++, in++) { in kernel()
163 if ((x1 + 8) < x2) { in kernel()
164 uint32_t len = (x2 - x1) >> 3; in kernel()
[all …]
DrsCpuIntrinsicConvolve5x5.cpp88 uint32_t x1 = rsMax((int32_t)x-1, 0); in OneU4() local
94 convert_float4(py0[x1]) * coeff[1] + in OneU4()
100 convert_float4(py1[x1]) * coeff[6] + in OneU4()
106 convert_float4(py2[x1]) * coeff[11] + in OneU4()
112 convert_float4(py3[x1]) * coeff[16] + in OneU4()
118 convert_float4(py4[x1]) * coeff[21] + in OneU4()
131 uint32_t x1 = rsMax((int32_t)x-1, 0); in OneU2() local
137 convert_float2(py0[x1]) * coeff[1] + in OneU2()
143 convert_float2(py1[x1]) * coeff[6] + in OneU2()
149 convert_float2(py2[x1]) * coeff[11] + in OneU2()
[all …]
DrsCpuIntrinsicBlur.cpp158 …insicBlurVFU4_K(void *dst, const void *pin, int stride, const void *gptr, int rct, int x1, int ct);
159 extern void rsdIntrinsicBlurHFU4_K(void *dst, const void *pin, const void *gptr, int rct, int x1, i…
160 extern void rsdIntrinsicBlurHFU1_K(void *dst, const void *pin, const void *gptr, int rct, int x1, i…
167 int x1, int x2) { in OneVFU4() argument
168 out += x1; in OneVFU4()
171 int t = (x2 - x1); in OneVFU4()
174 rsdIntrinsicBlurVFU4_K(out, ptrIn, iStride, gPtr, ct, x1, x1 + t); in OneVFU4()
176 x1 += t; in OneVFU4()
181 while(x2 > x1) { in OneVFU4()
193 x1++; in OneVFU4()
[all …]
DrsCpuIntrinsicYuvToRGB.cpp121 uint32_t x1 = xstart; in kernel() local
152 if((x1 & 1) && (x2 > x1)) { in kernel()
153 int cx = (x1 >> 1) * cstep; in kernel()
154 *out = rsYuvToRGBA_uchar4(Y[x1], u[cx], v[cx]); in kernel()
156 x1++; in kernel()
160 if((x2 > x1) && gArchUseSIMD) { in kernel()
161 int32_t len = x2 - x1; in kernel()
163 rsdIntrinsicYuv2_K(info->outPtr[0], Y, u, v, x1, x2); in kernel()
164 x1 += len; in kernel()
172 rsdIntrinsicYuv_K(info->outPtr[0], Y, v, x1, x2); in kernel()
[all …]
DrsCpuIntrinsicResize.cpp357 uint32_t x1 = xstart; in kernelU4() local
361 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4.0f) { in kernelU4()
362 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; in kernelU4()
368 int len = x2 - x1; in kernelU4()
383 x1 += len; in kernelU4()
387 while(x1 < x2) { in kernelU4()
389 …float xf = _mm_cvtss_f32(_mm_fmsub_ss(_mm_set1_ps(x1 + 0.5f) , _mm_set1_ps(cp->scaleX) , _mm_set1_… in kernelU4()
391 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; in kernelU4()
395 x1++; in kernelU4()
434 uint32_t x1 = xstart; in kernelU2() local
[all …]
/frameworks/av/media/codecs/m4v_h263/dec/src/
Didct_vca.cpp101 int32 x0, x1, x2, x4, x5; in idctrow2() local
126 x1 = (181 * (x4 - x5) + 128) >> 8; in idctrow2()
135 res = (x0 + x1) >> 14; in idctrow2()
146 res2 = (x0 - x1) >> 14; in idctrow2()
163 int32 x0, x1, x3, x5, x7;//, x8; in idctcol2() local
165 x1 = blk[8]; in idctcol2()
169 x7 = W7 * x1; in idctcol2()
170 x1 = W1 * x1; in idctcol2()
173 x5 = (181 * (x1 - x7) + 128) >> 8; in idctcol2()
174 x7 = (181 * (x1 + x7) + 128) >> 8; in idctcol2()
[all …]
Dblock_idct.cpp517 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; in idctrow() local
540 x1 = (int32)blk[12] << 8; in idctrow()
566 x8 = x0 + x1; in idctrow()
567 x0 -= x1; in idctrow()
568 x1 = W6 * (x3 + x2) + 4; in idctrow()
569 x2 = (x1 - (W2 + W6) * x2) >> 3; in idctrow()
570 x3 = (x1 + (W2 - W6) * x3) >> 3; in idctrow()
571 x1 = x4 + x6; in idctrow()
587 res = (x7 + x1) >> 14; in idctrow()
610 res = (x7 - x1) >> 14; in idctrow()
[all …]
Dget_pred_adv_b_add.cpp867 uint32 x1, x2, x1m, x2m, y1, y2, y1m, y2m; /* new way */ in GetPredAdvancedBy1x1() local
895 x1 = *((uint32*)prev); /* load a3 a2 a1 a0 */ in GetPredAdvancedBy1x1()
900 x1m = (x1 >> 2) & mask; /* zero out last 2 bits */ in GetPredAdvancedBy1x1()
902 x1 = x1 ^(x1m << 2); in GetPredAdvancedBy1x1()
905 x1 += x2; in GetPredAdvancedBy1x1()
934 y2 = x1 >> 8; in GetPredAdvancedBy1x1()
938 x1 += y2; in GetPredAdvancedBy1x1()
939 x1 += rnd2; in GetPredAdvancedBy1x1()
940 x1 &= (mask << 2); in GetPredAdvancedBy1x1()
941 x1m += (x1 >> 2); in GetPredAdvancedBy1x1()
[all …]
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
Dcanny.rscript106 int x1 = x - 2;
108 sum += 2 * rsGetElementAt_uchar(edgeImage, x1++, y1);
109 sum += 4 * rsGetElementAt_uchar(edgeImage, x1++, y1);
110 sum += 5 * rsGetElementAt_uchar(edgeImage, x1++, y1);
111 sum += 4 * rsGetElementAt_uchar(edgeImage, x1++, y1);
112 sum += 2 * rsGetElementAt_uchar(edgeImage, x1++, y1);
113 x1 = x - 2;
115 sum += 4 * rsGetElementAt_uchar(edgeImage, x1++, y1);
116 sum += 9 * rsGetElementAt_uchar(edgeImage, x1++, y1);
117 sum += 12 * rsGetElementAt_uchar(edgeImage, x1++, y1);
[all …]
/frameworks/av/media/codecs/m4v_h263/enc/src/
Dfastidct.cpp81 int32 x0, x1, x3, x5, x7;//, x8; in idct_col2() local
83 x1 = blk[8]; in idct_col2()
87 x7 = W7 * x1; in idct_col2()
88 x1 = W1 * x1; in idct_col2()
91 x5 = (181 * (x1 - x7) + 128) >> 8; in idct_col2()
92 x7 = (181 * (x1 + x7) + 128) >> 8; in idct_col2()
94 blk[0] = (x0 + x1) >> 8; in idct_col2()
98 blk[56] = (x0 - x1) >> 8; in idct_col2()
107 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; in idct_col3() local
110 x1 = blk[8]; in idct_col3()
[all …]
/frameworks/av/media/codecs/amrwb/dec/src/
Dmedian5.cpp120 int16 x1, x2, x3, x4, x5; in median5() local
123 x1 = x[-2]; in median5()
131 if (x2 < x1) in median5()
133 tmp = x1; in median5()
134 x1 = x2; in median5()
137 if (x3 < x1) in median5()
139 tmp = x1; in median5()
140 x1 = x3; in median5()
143 if (x4 < x1) in median5()
145 tmp = x1; in median5()
[all …]
Dhighpass_400hz_at_12k8.cpp150 int16 y2_hi, y2_lo, y1_hi, y1_lo, x0, x1; in highpass_400Hz_at_12k8() local
159 x1 = mem[5]; in highpass_400Hz_at_12k8()
171 x2 = x1; in highpass_400Hz_at_12k8()
172 x1 = x0; in highpass_400Hz_at_12k8()
175 L_tmp2 = fxp_mac_16by16(x1, -1830, L_tmp2); in highpass_400Hz_at_12k8()
197 mem[5] = x1; in highpass_400Hz_at_12k8()
Dhighpass_50hz_at_12k8.cpp152 int16 y2_hi, y2_lo, y1_hi, y1_lo, x0, x1; in highpass_50Hz_at_12k8() local
162 x1 = mem[5]; in highpass_50Hz_at_12k8()
176 x2 = x1; in highpass_50Hz_at_12k8()
177 x1 = x0; in highpass_50Hz_at_12k8()
180 L_tmp2 = fxp_mac_16by16(x1, -16212, L_tmp2); in highpass_50Hz_at_12k8()
202 mem[5] = x1; in highpass_50Hz_at_12k8()
/frameworks/layoutlib/bridge/src/android/view/math/
DMath3DHelper.java23 public final static int min(int x1, int x2, int x3) { in min() argument
24 return (x1 > x2) ? ((x2 > x3) ? x3 : x2) : ((x1 > x3) ? x3 : x1); in min()
27 public final static int max(int x1, int x2, int x3) { in max() argument
28 return (x1 < x2) ? ((x2 < x3) ? x3 : x2) : ((x1 < x3) ? x3 : x1); in max()
/frameworks/base/graphics/java/android/graphics/
DLinearGradient.java69 public LinearGradient(float x0, float y0, float x1, float y1, @NonNull @ColorInt int[] colors, in LinearGradient() argument
71 this(x0, y0, x1, y1, convertColors(colors), positions, tile, in LinearGradient()
92 public LinearGradient(float x0, float y0, float x1, float y1, @NonNull @ColorLong long[] colors, in LinearGradient() argument
94 this(x0, y0, x1, y1, colors.clone(), positions, tile, detectColorSpace(colors)); in LinearGradient()
101 private LinearGradient(float x0, float y0, float x1, float y1, in LinearGradient() argument
111 mX1 = x1; in LinearGradient()
129 public LinearGradient(float x0, float y0, float x1, float y1, in LinearGradient() argument
132 this(x0, y0, x1, y1, Color.pack(color0), Color.pack(color1), tile); in LinearGradient()
149 public LinearGradient(float x0, float y0, float x1, float y1, in LinearGradient() argument
152 this(x0, y0, x1, y1, new long[] {color0, color1}, null, tile); in LinearGradient()
[all …]
/frameworks/av/media/codecs/amrwb/enc/src/
Dp_med_ol.c174 Word16 x1, x2, x3, x4, x5; in median5() local
177 x1 = x[-2]; in median5()
183 if (x2 < x1) in median5()
185 tmp = x1; in median5()
186 x1 = x2; in median5()
189 if (x3 < x1) in median5()
191 tmp = x1; in median5()
192 x1 = x3; in median5()
195 if (x4 < x1) in median5()
197 tmp = x1; in median5()
[all …]
Dhp400.c64 Word16 y2_hi, y2_lo, y1_hi, y1_lo, x0, x1; in HP400_12k8() local
72 x1 = *mem; in HP400_12k8()
76 x2 = x1; in HP400_12k8()
77 x1 = x0; in HP400_12k8()
85 L_tmp += (y1_hi * a[1] + y2_hi * a[2] + (x0 + x2)* b[0] + x1 * b[1]) << 1; in HP400_12k8()
96 *mem-- = x1; in HP400_12k8()
Dhp50.c65 Word16 y2_hi, y2_lo, y1_hi, y1_lo, x0, x1; in HP50_12k8() local
74 x1 = *mem; in HP50_12k8()
78 x2 = x1; in HP50_12k8()
79 x1 = x0; in HP50_12k8()
87 L_tmp += (y1_hi * a[1] + y2_hi * a[2] + (x0 + x2) * b[0] + x1 * b[1]) << 1; in HP50_12k8()
96 *mem-- = x1; in HP50_12k8()
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DBase64.cpp117 uint8_t x1 = data[i]; in encodeBase64() local
121 out->push_back(encode6Bit(x1 >> 2)); in encodeBase64()
122 out->push_back(encode6Bit((x1 << 4 | x2 >> 4) & 0x3f)); in encodeBase64()
131 uint8_t x1 = data[i]; in encodeBase64() local
133 out->push_back(encode6Bit(x1 >> 2)); in encodeBase64()
134 out->push_back(encode6Bit((x1 << 4 | x2 >> 4) & 0x3f)); in encodeBase64()
141 uint8_t x1 = data[i]; in encodeBase64() local
142 out->push_back(encode6Bit(x1 >> 2)); in encodeBase64()
143 out->push_back(encode6Bit((x1 << 4) & 0x3f)); in encodeBase64()
/frameworks/av/media/libstagefright/foundation/
Dbase64.cpp130 uint8_t x1 = data[i]; in encodeBase64() local
134 out->append(encode6Bit(x1 >> 2)); in encodeBase64()
135 out->append(encode6Bit((x1 << 4 | x2 >> 4) & 0x3f)); in encodeBase64()
144 uint8_t x1 = data[i]; in encodeBase64() local
146 out->append(encode6Bit(x1 >> 2)); in encodeBase64()
147 out->append(encode6Bit((x1 << 4 | x2 >> 4) & 0x3f)); in encodeBase64()
154 uint8_t x1 = data[i]; in encodeBase64() local
155 out->append(encode6Bit(x1 >> 2)); in encodeBase64()
156 out->append(encode6Bit((x1 << 4) & 0x3f)); in encodeBase64()
/frameworks/av/media/libeffects/loudness/dsp/core/
Ddynamic_range_compression.cpp104 void AdaptiveDynamicRangeCompression::Compress(float *x1, float *x2) { in Compress() argument
106 const float max_abs_x = std::max(std::fabs(*x1), in Compress()
123 *x1 *= compressor_gain_; in Compress()
124 if (*x1 > kFixedPointLimit) { in Compress()
125 *x1 = kFixedPointLimit; in Compress()
127 if (*x1 < -kFixedPointLimit) { in Compress()
128 *x1 = -kFixedPointLimit; in Compress()

1234567