Home
last modified time | relevance | path

Searched refs:x2 (Results 1 – 25 of 230) sorted by relevance

12345678910

/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
DarmVCM4P10_InterpolateLuma_Copy_unsafe_s.s55 x2 RN 8 label
79 M_LDR x2, [pSrc], srcStep
82 M_STR x2, [pDst], dstStep
90 M_LDR x2, [pSrc], srcStep
94 MOV x2, x2, LSR #8
95 ORR x2, x2, x3, LSL #24
98 M_STR x2, [pDst], dstStep
100 M_LDR x2, [pSrc], srcStep
104 MOV x2, x2, LSR #8
105 ORR x2, x2, x3, LSL #24
[all …]
DarmVCM4P10_InterpolateLuma_Align_unsafe_s.s49 x2 RN 11 label
90 LDM pSrc, {x0, x1, x2}
96 STM pDst!, {x0, x1, x2} ;// Store aligned output row
101 LDM pSrc, {x0, x1, x2}
110 ORR x1, x1, x2, LSL #24
111 MOV x2, x2, LSR #8
112 STM pDst!, {x0, x1, x2} ;// Store aligned output row
117 LDM pSrc, {x0, x1, x2}
126 ORR x1, x1, x2, LSL #16
127 MOV x2, x2, LSR #16
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/
DarmVCM4P10_InterpolateLuma_Copy_unsafe_s.s55 x2 RN 8 label
79 M_LDR x2, [pSrc], srcStep
82 M_STR x2, [pDst], dstStep
90 M_LDR x2, [pSrc], srcStep
94 MOV x2, x2, LSR #8
95 ORR x2, x2, x3, LSL #24
98 M_STR x2, [pDst], dstStep
100 M_LDR x2, [pSrc], srcStep
104 MOV x2, x2, LSR #8
105 ORR x2, x2, x3, LSL #24
[all …]
DarmVCM4P10_InterpolateLuma_Align_unsafe_s.s49 x2 RN 11 label
90 LDM pSrc, {x0, x1, x2}
96 STM pDst!, {x0, x1, x2} ;// Store aligned output row
101 LDM pSrc, {x0, x1, x2}
110 ORR x1, x1, x2, LSL #24
111 MOV x2, x2, LSR #8
112 STM pDst!, {x0, x1, x2} ;// Store aligned output row
117 LDM pSrc, {x0, x1, x2}
126 ORR x1, x1, x2, LSL #16
127 MOV x2, x2, LSR #16
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Didct_vca.cpp99 int32 x0, x1, x2, x4, x5; in idctrow2() local
123 x2 = (181 * (x4 + x5) + 128) >> 8; in idctrow2()
130 res2 = (x0 + x2) >> 14; in idctrow2()
147 res = (x0 - x2) >> 14; in idctrow2()
187 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; in idctrow3() local
200 x2 = blk[10]; in idctrow3()
210 x6 = (W6 * x2 + 4) >> 3; in idctrow3()
211 x2 = (W2 * x2 + 4) >> 3; in idctrow3()
212 x8 = x0 - x2; in idctrow3()
213 x0 += x2; in idctrow3()
[all …]
Dblock_idct.cpp516 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; in idctrow() local
541 x2 = blk[14]; in idctrow()
567 x1 = W6 * (x3 + x2) + 4; in idctrow()
568 x2 = (x1 - (W2 + W6) * x2) >> 3; in idctrow()
578 x3 = x0 + x2; in idctrow()
579 x0 -= x2; in idctrow()
580 x2 = (181 * (x4 + x5) + 128) >> 8; in idctrow()
588 res2 = (x3 + x2) >> 14; in idctrow()
606 res = (x3 - x2) >> 14; in idctrow()
627 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8, temp; in idctrow_intra() local
[all …]
Dget_pred_adv_b_add.cpp867 uint32 x1, x2, x1m, x2m, y1, y2, y1m, y2m; /* new way */ in GetPredAdvancedBy1x1() local
896 x2 = *((uint32*)(prev + width)); /* load b3 b2 b1 b0, another line */ in GetPredAdvancedBy1x1()
901 x2m = (x2 >> 2) & mask; in GetPredAdvancedBy1x1()
903 x2 = x2 ^(x2m << 2); in GetPredAdvancedBy1x1()
905 x1 += x2; in GetPredAdvancedBy1x1()
917 x2 = *((uint32*)(prev += 4)); /* a11 a10 a9 a8 */ in GetPredAdvancedBy1x1()
919 x2m = (x2 >> 2) & mask; in GetPredAdvancedBy1x1()
921 x2 = x2 ^(x2m << 2); in GetPredAdvancedBy1x1()
924 x2 += y2; in GetPredAdvancedBy1x1()
947 y2 |= (x2 << 24); in GetPredAdvancedBy1x1()
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dfastidct.cpp107 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; in idct_col3() local
109 x2 = blk[16]; in idct_col3()
114 x6 = W6 * x2; in idct_col3()
115 x2 = W2 * x2; in idct_col3()
116 x8 = x0 - x2; in idct_col3()
117 x0 += x2; in idct_col3()
118 x2 = x8; in idct_col3()
132 blk[24] = (x2 + x3) >> 8; in idct_col3()
136 blk[32] = (x2 - x3) >> 8; in idct_col3()
142 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; in idct_col4() local
[all …]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Dmedian5.cpp120 int16 x1, x2, x3, x4, x5; in median5() local
124 x2 = x[-1]; in median5()
131 if (x2 < x1) in median5()
134 x1 = x2; in median5()
135 x2 = tmp; in median5()
153 if (x3 < x2) in median5()
155 tmp = x2; in median5()
156 x2 = x3; in median5()
159 if (x4 < x2) in median5()
161 tmp = x2; in median5()
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicBlend.cpp121 uint32_t x2 = xend; 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()
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()
176 for (;x1 < x2; x1++, out++, in++) { in kernel()
[all …]
DrsCpuIntrinsicConvolve3x3.cpp96 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)info->dim.x-1); in ConvolveOneU4() local
100 convert_float4(py0[x2]) * coeff[2] + in ConvolveOneU4()
103 convert_float4(py1[x2]) * coeff[5] + in ConvolveOneU4()
106 convert_float4(py2[x2]) * coeff[8]; in ConvolveOneU4()
118 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)info->dim.x-1); in ConvolveOneU2() local
122 convert_float2(py0[x2]) * coeff[2] + in ConvolveOneU2()
125 convert_float2(py1[x2]) * coeff[5] + in ConvolveOneU2()
128 convert_float2(py2[x2]) * coeff[8]; in ConvolveOneU2()
139 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)info->dim.x-1); in ConvolveOneU1() local
143 ((float)py0[x2]) * coeff[2] + in ConvolveOneU1()
[all …]
DrsCpuIntrinsicConvolve5x5.cpp95 uint32_t x2 = x; in OneU4() local
101 convert_float4(py0[x2]) * coeff[2] + in OneU4()
107 convert_float4(py1[x2]) * coeff[7] + in OneU4()
113 convert_float4(py2[x2]) * coeff[12] + in OneU4()
119 convert_float4(py3[x2]) * coeff[17] + in OneU4()
125 convert_float4(py4[x2]) * coeff[22] + in OneU4()
138 uint32_t x2 = x; in OneU2() local
144 convert_float2(py0[x2]) * coeff[2] + in OneU2()
150 convert_float2(py1[x2]) * coeff[7] + in OneU2()
156 convert_float2(py2[x2]) * coeff[12] + in OneU2()
[all …]
DrsCpuIntrinsics_advsimd_ColorMatrix.S443 subs x2, x2, #8
454 subs x2, x2, #8
477 subs x2, x2, #8
494 subs x2, x2, #8
511 subs x2, x2, #8
520 subs x2, x2, #8
528 subs x2, x2, #8
545 subs x2, x2, #8
554 subs x2, x2, #8
562 subs x2, x2, #8
[all …]
DrsCpuIntrinsics_advsimd_Resize.S113 lsl x2, x0, #VECSHIFT
115 add x0, x0, x2
116 udiv x1, x0, x2
117 msub x0, x1, x2, x0
183 sub x8, x2, x3
249 add x2, x2, #(CHUNKSIZE * 2 - 4) << 16
254 lsl x2, x2, #(47 - CHUNKSHIFT)
415 lsr x14, x2, #(63 - CHUNKSHIFT)
417 add x2, x2, x3
419 lsr x15, x2, #(63 - CHUNKSHIFT)
[all …]
DrsCpuIntrinsics_advsimd_YuvToRGB.S168 subs x2, x2, #32
187 subs x2, x2, #32
194 2: adds x2, x2, #32
209 tbz x2, #4, 1f
217 1: tbz x2, #3, 1f
225 1: tbz x2, #2, 1f
233 1: tbz x2, #1, 1f
241 1: tbz x2, #0, 1f
285 tbz x2, #4, 1f
287 1: tbz x2, #3, 1f
[all …]
DrsCpuIntrinsicBlur.cpp165 int x1, int x2) { in OneVFU4() argument
169 int t = (x2 - x1); in OneVFU4()
179 while(x2 > x1) { in OneVFU4()
198 const uchar *ptrIn, int iStride, const float* gPtr, int ct, int x1, int x2) { in OneVFU1() argument
200 int len = x2 - x1; in OneVFU1()
203 while((x2 > x1) && (((uintptr_t)ptrIn) & 0x3)) { in OneVFU1()
221 if (gArchUseSIMD && (x2 > x1)) { in OneVFU1()
222 int t = (x2 - x1) >> 2; in OneVFU1()
297 uint32_t x2 = xend; in kernelU4() local
303 stride, x1, info->current.y, x2 - x1, cp->mIradius, cp->mIp + cp->mIradius); in kernelU4()
[all …]
/frameworks/base/libs/hwui/
DPatch.cpp153 float x2 = 0.0f; in generateRow() local
162 x2 = x1 + floorf(segment * stretchX + 0.5f); in generateRow()
164 x2 = x1 + segment * rescaleX; in generateRow()
167 float uOffset = x1 == x2 ? 0.0f : 0.5 - (0.5 * segment / (x2 - x1)); in generateRow()
172 generateQuad(vertex, x1, y1, x2, y2, u1, v1, u2, v2, quadCount); in generateRow()
175 x1 = x2; in generateRow()
182 x2 = width; in generateRow()
183 generateQuad(vertex, x1, y1, x2, y2, u1, v1, 1.0f, v2, quadCount); in generateRow()
187 void Patch::generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, float y2, in generateQuad() argument
193 x2 = std::max(x2, 0.0f); in generateQuad()
[all …]
/frameworks/av/services/audioflinger/
DAudioResamplerFirGen.h251 inline double Poly3(double A, double B, double C, double x, double x2) {
252 return Poly2(A, B, x) + C * x2;
259 inline double Poly4(double A, double B, double C, double D, double x, double x2) {
260 return Poly2(A, B, x) + Poly2(C, D, x) * x2; // same as poly2(poly2, poly2, x2);
269 double x2 = x * x;
270 return Poly4(A, B, C, D, x, x2) + Poly3(E, F, G, x, x2) * (x2 * x2);
274 double H, double x, double x2, double x4) {
275 return Poly4(A, B, C, D, x, x2) + Poly4(E, F, G, H, x, x2) * x4;
280 double x2 = x * x;
284 double x4 = x2 * x2;
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
DarmVCM4P2_Clip8_s.s50 x2 RN 5 label
64 LDMIA pSrc!,{x2, x3}
74 USAT16 x2, #8, x2 ;// clip two samples to [0,255]
76 STRB x2, [pDst,#4]
77 MOV x2, x2, LSR #16
78 STRB x2, [pDst,#5]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DHeadsUpAppearInterpolator.java34 float x2 = 150f; in getAppearPath() local
39 float xTot = (x1 + x2 + x3); 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/amrwbenc/src/
Dp_med_ol.c174 Word16 x1, x2, x3, x4, x5; in median5() local
178 x2 = x[-1]; in median5()
183 if (x2 < x1) in median5()
186 x1 = x2; in median5()
187 x2 = tmp; in median5()
205 if (x3 < x2) in median5()
207 tmp = x2; in median5()
208 x2 = x3; in median5()
211 if (x4 < x2) in median5()
213 tmp = x2; in median5()
[all …]
Dhp_wsp.c87 Word16 x0, x1, x2, x3; in Hp_wsp() local
99 x2 = mem[8]; in Hp_wsp()
103 x3 = x2; in Hp_wsp()
104 x2 = x1; in Hp_wsp()
120 L_tmp += (x2 * b[2])<<1; in Hp_wsp()
143 mem[8] = x2; in Hp_wsp()
/frameworks/av/media/libeffects/loudness/common/core/
Dmath.h58 const T x2 = x * x; in ExpApproximationViaTaylorExpansionOrder5() local
59 const T x3 = x2 * x; in ExpApproximationViaTaylorExpansionOrder5()
60 const T x4 = x2 * x2; in ExpApproximationViaTaylorExpansionOrder5()
61 const T x5 = x3 * x2; in ExpApproximationViaTaylorExpansionOrder5()
62 return 1.0f + x + 0.5f * x2 + in ExpApproximationViaTaylorExpansionOrder5()
/frameworks/av/media/libeffects/loudness/dsp/core/
Ddynamic_range_compression.cpp105 void AdaptiveDynamicRangeCompression::Compress(float *x1, float *x2) { in Compress() argument
108 std::max(std::fabs(*x2), kMinLogAbsValue)); in Compress()
131 *x2 *= compressor_gain_; in Compress()
132 if (*x2 > kFixedPointLimit) { in Compress()
133 *x2 = kFixedPointLimit; in Compress()
135 if (*x2 < -kFixedPointLimit) { in Compress()
136 *x2 = -kFixedPointLimit; in Compress()
/frameworks/av/media/libstagefright/foundation/
Dbase64.cpp116 uint8_t x2 = data[i + 1]; in encodeBase64() local
120 out->append(encode6Bit((x1 << 4 | x2 >> 4) & 0x3f)); in encodeBase64()
121 out->append(encode6Bit((x2 << 2 | x3 >> 6) & 0x3f)); in encodeBase64()
130 uint8_t x2 = data[i + 1]; in encodeBase64() local
132 out->append(encode6Bit((x1 << 4 | x2 >> 4) & 0x3f)); in encodeBase64()
133 out->append(encode6Bit((x2 << 2) & 0x3f)); in encodeBase64()

12345678910