Home
last modified time | relevance | path

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

1234567

/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
DarmVCM4P10_InterpolateLuma_Align_unsafe_s.s48 x1 RN 10 label
90 LDM pSrc, {x0, x1, x2}
96 STM pDst!, {x0, x1, x2} ;// Store aligned output row
101 LDM pSrc, {x0, x1, x2}
108 ORR x0, x0, x1, LSL #24
109 MOV x1, x1, LSR #8
110 ORR x1, x1, x2, LSL #24
112 STM pDst!, {x0, x1, x2} ;// Store aligned output row
117 LDM pSrc, {x0, x1, x2}
124 ORR x0, x0, x1, LSL #16
[all …]
DarmVCM4P10_InterpolateLuma_Copy_unsafe_s.s54 x1 RN 5 label
77 M_LDR x1, [pSrc], srcStep
80 M_STR x1, [pDst], dstStep
87 LDR x1, [pSrc, #4]
92 ORR x0, x0, x1, LSL #24
96 LDR x1, [pSrc, #4]
102 ORR x0, x0, x1, LSL #24
110 LDR x1, [pSrc, #4]
115 ORR x0, x0, x1, LSL #16
121 LDR x1, [pSrc, #4]
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/
DarmVCM4P10_InterpolateLuma_Align_unsafe_s.s48 x1 RN 10 label
90 LDM pSrc, {x0, x1, x2}
96 STM pDst!, {x0, x1, x2} ;// Store aligned output row
101 LDM pSrc, {x0, x1, x2}
108 ORR x0, x0, x1, LSL #24
109 MOV x1, x1, LSR #8
110 ORR x1, x1, x2, LSL #24
112 STM pDst!, {x0, x1, x2} ;// Store aligned output row
117 LDM pSrc, {x0, x1, x2}
124 ORR x0, x0, x1, LSL #16
[all …]
DarmVCM4P10_InterpolateLuma_Copy_unsafe_s.s54 x1 RN 5 label
77 M_LDR x1, [pSrc], srcStep
80 M_STR x1, [pDst], dstStep
87 LDR x1, [pSrc, #4]
92 ORR x0, x0, x1, LSL #24
96 LDR x1, [pSrc, #4]
102 ORR x0, x0, x1, LSL #24
110 LDR x1, [pSrc, #4]
115 ORR x0, x0, x1, LSL #16
121 LDR x1, [pSrc, #4]
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicConvolve3x3.cpp95 uint32_t x1 = rsMax((int32_t)x-1, 0); in ConvolveOneU4() local
98 float4 px = convert_float4(py0[x1]) * coeff[0] + in ConvolveOneU4()
101 convert_float4(py1[x1]) * coeff[3] + in ConvolveOneU4()
104 convert_float4(py2[x1]) * coeff[6] + in ConvolveOneU4()
117 uint32_t x1 = rsMax((int32_t)x-1, 0); in ConvolveOneU2() local
120 float2 px = convert_float2(py0[x1]) * coeff[0] + in ConvolveOneU2()
123 convert_float2(py1[x1]) * coeff[3] + in ConvolveOneU2()
126 convert_float2(py2[x1]) * coeff[6] + in ConvolveOneU2()
138 uint32_t x1 = rsMax((int32_t)x-1, 0); in ConvolveOneU1() local
141 float px = ((float)py0[x1]) * coeff[0] + in ConvolveOneU1()
[all …]
DrsCpuIntrinsicBlend.cpp120 uint32_t x1 = xstart; in kernel() local
127 if (rsdIntrinsicBlend_K(out, in, info->slot, x1, x2) >= 0) in kernel()
133 for (;x1 < x2; x1++, out++) { in kernel()
138 for (;x1 < x2; x1++, out++, in++) { in kernel()
148 if ((x1 + 8) < x2) { in kernel()
149 uint32_t len = (x2 - x1) >> 3; in kernel()
151 x1 += len << 3; in kernel()
157 for (;x1 < x2; x1++, out++, in++) { in kernel()
167 if ((x1 + 8) < x2) { in kernel()
168 uint32_t len = (x2 - x1) >> 3; in kernel()
[all …]
DrsCpuIntrinsicConvolve5x5.cpp94 uint32_t x1 = rsMax((int32_t)x-1, 0); in OneU4() local
100 convert_float4(py0[x1]) * coeff[1] + in OneU4()
106 convert_float4(py1[x1]) * coeff[6] + in OneU4()
112 convert_float4(py2[x1]) * coeff[11] + in OneU4()
118 convert_float4(py3[x1]) * coeff[16] + in OneU4()
124 convert_float4(py4[x1]) * coeff[21] + in OneU4()
137 uint32_t x1 = rsMax((int32_t)x-1, 0); in OneU2() local
143 convert_float2(py0[x1]) * coeff[1] + in OneU2()
149 convert_float2(py1[x1]) * coeff[6] + in OneU2()
155 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…
165 int x1, int x2) { in OneVFU4() argument
166 out += x1; in OneVFU4()
169 int t = (x2 - x1); in OneVFU4()
172 rsdIntrinsicBlurVFU4_K(out, ptrIn, iStride, gPtr, ct, x1, x1 + t); in OneVFU4()
174 x1 += t; in OneVFU4()
179 while(x2 > x1) { in OneVFU4()
191 x1++; in OneVFU4()
[all …]
DrsCpuIntrinsicYuvToRGB.cpp127 uint32_t x1 = xstart; in kernel() local
158 if((x1 & 1) && (x2 > x1)) { in kernel()
159 int cx = (x1 >> 1) * cstep; in kernel()
160 *out = rsYuvToRGBA_uchar4(Y[x1], u[cx], v[cx]); in kernel()
162 x1++; in kernel()
166 if((x2 > x1) && gArchUseSIMD) { in kernel()
167 int32_t len = x2 - x1; in kernel()
169 rsdIntrinsicYuv2_K(info->outPtr[0], Y, u, v, x1, x2); in kernel()
170 x1 += len; in kernel()
178 rsdIntrinsicYuv_K(info->outPtr[0], Y, v, x1, x2); in kernel()
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Didct_vca.cpp99 int32 x0, x1, x2, x4, x5; in idctrow2() local
124 x1 = (181 * (x4 - x5) + 128) >> 8; in idctrow2()
133 res = (x0 + x1) >> 14; in idctrow2()
144 res2 = (x0 - x1) >> 14; in idctrow2()
160 int32 x0, x1, x3, x5, x7;//, x8; in idctcol2() local
162 x1 = blk[8]; in idctcol2()
166 x7 = W7 * x1; in idctcol2()
167 x1 = W1 * x1; in idctcol2()
170 x5 = (181 * (x1 - x7) + 128) >> 8; in idctcol2()
171 x7 = (181 * (x1 + x7) + 128) >> 8; in idctcol2()
[all …]
Dblock_idct.cpp516 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; in idctrow() local
539 x1 = (int32)blk[12] << 8; in idctrow()
565 x8 = x0 + x1; in idctrow()
566 x0 -= x1; in idctrow()
567 x1 = W6 * (x3 + x2) + 4; in idctrow()
568 x2 = (x1 - (W2 + W6) * x2) >> 3; in idctrow()
569 x3 = (x1 + (W2 - W6) * x3) >> 3; in idctrow()
570 x1 = x4 + x6; in idctrow()
586 res = (x7 + x1) >> 14; in idctrow()
609 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/av/media/libstagefright/codecs/amrwb/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/av/media/libstagefright/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/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DHeadsUpAppearInterpolator.java33 float x1 = 250f; in getAppearPath() local
39 float xTot = (x1 + x2 + x3); in getAppearPath()
40 path.cubicTo(x1 * 0.9f / xTot, 0f, in getAppearPath()
41 x1 * 0.8f / xTot, y1 / y3, in getAppearPath()
42 x1 / xTot , y1 / y3); in getAppearPath()
43 path.cubicTo((x1 + x2 * 0.4f) / xTot, y1 / y3, in getAppearPath()
44 (x1 + x2 * 0.2f) / xTot, y2 / y3, in getAppearPath()
45 (x1 + x2) / xTot, y2 / y3); in getAppearPath()
46 path.cubicTo((x1 + x2 + x3 * 0.4f) / xTot, y2 / y3, in getAppearPath()
47 (x1 + x2 + x3 * 0.2f) / xTot, 1f, in getAppearPath()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
DarmVCM4P2_Clip8_s.s49 x1 RN 4 label
62 LDMIA pSrc!,{x0, x1}
66 USAT16 x1, #8, x1 ;// clip two samples to [0,255]
70 STRB x1, [pDst,#2]
71 MOV x1, x1, LSR #16
72 STRB x1, [pDst,#3]
/frameworks/base/libs/hwui/
DPatch.cpp154 float x1 = 0.0f; in generateRow() local
164 x2 = x1 + floorf(segment * stretchX + 0.5f); in generateRow()
166 x2 = x1 + segment * rescaleX; in generateRow()
169 float uOffset = x1 == x2 ? 0.0f : 0.5 - (0.5 * segment / (x2 - x1)); in generateRow()
174 generateQuad(vertex, x1, y1, x2, y2, u1, v1, u2, v2, quadCount); in generateRow()
177 x1 = x2; in generateRow()
185 generateQuad(vertex, x1, y1, x2, y2, u1, v1, 1.0f, v2, quadCount); in generateRow()
189 void Patch::generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, float y2, in generateQuad() argument
194 x1 = MathUtils::max(x1, 0.0f); in generateQuad()
200 if ((mColors[oldQuadCount] == 0) || x1 >= x2 || y1 >= y2) { in generateQuad()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/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/media/libstagefright/foundation/
Dbase64.cpp115 uint8_t x1 = data[i]; in encodeBase64() local
119 out->append(encode6Bit(x1 >> 2)); in encodeBase64()
120 out->append(encode6Bit((x1 << 4 | x2 >> 4) & 0x3f)); in encodeBase64()
129 uint8_t x1 = data[i]; in encodeBase64() local
131 out->append(encode6Bit(x1 >> 2)); in encodeBase64()
132 out->append(encode6Bit((x1 << 4 | x2 >> 4) & 0x3f)); in encodeBase64()
139 uint8_t x1 = data[i]; in encodeBase64() local
140 out->append(encode6Bit(x1 >> 2)); in encodeBase64()
141 out->append(encode6Bit((x1 << 4) & 0x3f)); in encodeBase64()
/frameworks/base/graphics/java/android/graphics/
DLinearGradient.java52 public LinearGradient(float x0, float y0, float x1, float y1, int colors[], float positions[], in LinearGradient() argument
63 mX1 = x1; in LinearGradient()
68 init(nativeCreate1(x0, y0, x1, y1, colors, positions, tile.nativeInt)); in LinearGradient()
80 public LinearGradient(float x0, float y0, float x1, float y1, int color0, int color1, in LinearGradient() argument
85 mX1 = x1; in LinearGradient()
90 init(nativeCreate2(x0, y0, x1, y1, color0, color1, tile.nativeInt)); in LinearGradient()
115 private native long nativeCreate1(float x0, float y0, float x1, float y1, in nativeCreate1() argument
117 private native long nativeCreate2(float x0, float y0, float x1, float y1, in nativeCreate2() argument
/frameworks/av/media/libeffects/loudness/dsp/core/
Ddynamic_range_compression.cpp105 void AdaptiveDynamicRangeCompression::Compress(float *x1, float *x2) { in Compress() argument
107 const float max_abs_x = std::max(std::fabs(*x1), in Compress()
124 *x1 *= compressor_gain_; in Compress()
125 if (*x1 > kFixedPointLimit) { in Compress()
126 *x1 = kFixedPointLimit; in Compress()
128 if (*x1 < -kFixedPointLimit) { in Compress()
129 *x1 = -kFixedPointLimit; in Compress()

1234567