Home
last modified time | relevance | path

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

1234

/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
DarmVCM4P10_InterpolateLuma_Align_unsafe_s.s34 x1 RN 10 label
76 LDM pSrc, {x0, x1, x2}
82 STM pDst!, {x0, x1, x2} ;// Store aligned output row
87 LDM pSrc, {x0, x1, x2}
94 ORR x0, x0, x1, LSL #24
95 MOV x1, x1, LSR #8
96 ORR x1, x1, x2, LSL #24
98 STM pDst!, {x0, x1, x2} ;// Store aligned output row
103 LDM pSrc, {x0, x1, x2}
110 ORR x0, x0, x1, LSL #16
[all …]
DarmVCM4P10_InterpolateLuma_Copy_unsafe_s.s40 x1 RN 5 label
63 M_LDR x1, [pSrc], srcStep
66 M_STR x1, [pDst], dstStep
73 LDR x1, [pSrc, #4]
78 ORR x0, x0, x1, LSL #24
82 LDR x1, [pSrc, #4]
88 ORR x0, x0, x1, LSL #24
96 LDR x1, [pSrc, #4]
101 ORR x0, x0, x1, LSL #16
107 LDR x1, [pSrc, #4]
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/
DarmVCM4P10_InterpolateLuma_Align_unsafe_s.s34 x1 RN 10 label
76 LDM pSrc, {x0, x1, x2}
82 STM pDst!, {x0, x1, x2} ;// Store aligned output row
87 LDM pSrc, {x0, x1, x2}
94 ORR x0, x0, x1, LSL #24
95 MOV x1, x1, LSR #8
96 ORR x1, x1, x2, LSL #24
98 STM pDst!, {x0, x1, x2} ;// Store aligned output row
103 LDM pSrc, {x0, x1, x2}
110 ORR x0, x0, x1, LSL #16
[all …]
DarmVCM4P10_InterpolateLuma_Copy_unsafe_s.s40 x1 RN 5 label
63 M_LDR x1, [pSrc], srcStep
66 M_STR x1, [pDst], dstStep
73 LDR x1, [pSrc, #4]
78 ORR x0, x0, x1, LSL #24
82 LDR x1, [pSrc, #4]
88 ORR x0, x0, x1, LSL #24
96 LDR x1, [pSrc, #4]
101 ORR x0, x0, x1, LSL #16
107 LDR x1, [pSrc, #4]
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicBlend.cpp114 uint32_t x1 = xstart; in kernel() local
119 for (;x1 < x2; x1++, out++) { in kernel()
124 for (;x1 < x2; x1++, out++, in++) { in kernel()
134 if((x1 + 8) < x2) { in kernel()
135 uint32_t len = (x2 - x1) >> 3; in kernel()
137 x1 += len << 3; in kernel()
143 for (;x1 < x2; x1++, out++, in++) { in kernel()
153 if((x1 + 8) < x2) { in kernel()
154 uint32_t len = (x2 - x1) >> 3; in kernel()
156 x1 += len << 3; in kernel()
[all …]
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 …]
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.cpp150 …insicBlurVFU4_K(void *dst, const void *pin, int stride, const void *gptr, int rct, int x1, int ct);
151 …void rsdIntrinsicBlurHFU4_K(void *dst, const void *pin, const void *gptr, int rct, int x1, int ct);
152 …void rsdIntrinsicBlurHFU1_K(void *dst, const void *pin, const void *gptr, int rct, int x1, int ct);
156 int x1, int x2) { in OneVFU4() argument
160 int t = (x2 - x1); in OneVFU4()
163 rsdIntrinsicBlurVFU4_K(out, ptrIn, iStride, gPtr, ct, x1, x1 + t); in OneVFU4()
165 x1 += t; in OneVFU4()
169 while(x2 > x1) { in OneVFU4()
181 x1++; in OneVFU4()
188 const uchar *ptrIn, int iStride, const float* gPtr, int ct, int x1, int x2) { in OneVFU1() argument
[all …]
DrsCpuIntrinsicYuvToRGB.cpp136 uint32_t x1 = xstart; in kernel() local
165 if((x2 > x1) && gArchUseSIMD) { in kernel()
167 int32_t len = (x2 - x1 - 8) >> 3; in kernel()
171 x1 += len << 3; in kernel()
180 x1 += len << 3; in kernel()
184 x1 += len << 3; in kernel()
193 if(x2 > x1) { in kernel()
195 while(x1 < x2) { in kernel()
196 int cx = (x1 >> 1) * cstep; in kernel()
197 *out = rsYuvToRGBA_uchar4(Y[x1], u[cx], v[cx]); in kernel()
[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/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/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/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 native_instance = nativeCreate1(x0, y0, x1, y1, colors, positions, tile.nativeInt); in LinearGradient()
69 native_shader = nativePostCreate1(native_instance, x0, y0, x1, y1, colors, positions, in LinearGradient()
82 public LinearGradient(float x0, float y0, float x1, float y1, int color0, int color1, in LinearGradient() argument
87 mX1 = x1; in LinearGradient()
92 native_instance = nativeCreate2(x0, y0, x1, y1, color0, color1, tile.nativeInt); in LinearGradient()
93 native_shader = nativePostCreate2(native_instance, x0, y0, x1, y1, color0, color1, in LinearGradient()
119 private native int nativeCreate1(float x0, float y0, float x1, float y1, in nativeCreate1() argument
121 private native int nativeCreate2(float x0, float y0, float x1, float y1, in nativeCreate2() argument
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
DarmVCM4P2_Clip8_s.s35 x1 RN 4 label
48 LDMIA pSrc!,{x0, x1}
52 USAT16 x1, #8, x1 ;// clip two samples to [0,255]
56 STRB x1, [pDst,#2]
57 MOV x1, x1, LSR #16
58 STRB x1, [pDst,#3]
/frameworks/base/libs/hwui/
DPatch.cpp175 float x1 = 0.0f; in generateRow() local
185 x2 = x1 + floorf(segment * stretchX + 0.5f); in generateRow()
187 x2 = x1 + segment * rescaleX; in generateRow()
190 float uOffset = x1 == x2 ? 0.0f : 0.5 - (0.5 * segment / (x2 - x1)); in generateRow()
195 generateQuad(vertex, x1, y1, x2, y2, u1, v1, u2, v2, quadCount); in generateRow()
198 x1 = x2; in generateRow()
206 generateQuad(vertex, x1, y1, x2, y2, u1, v1, 1.0f, v2, quadCount); in generateRow()
210 void Patch::generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, float y2, in generateQuad() argument
215 if (x1 < 0.0f) x1 = 0.0f; in generateQuad()
221 if ((mColors[oldQuadCount] == 0) || x1 >= x2 || y1 >= y2) { in generateQuad()
[all …]
/frameworks/av/media/libstagefright/foundation/
Dbase64.cpp106 uint8_t x1 = data[i]; in encodeBase64() local
110 out->append(encode6Bit(x1 >> 2)); in encodeBase64()
111 out->append(encode6Bit((x1 << 4 | x2 >> 4) & 0x3f)); in encodeBase64()
120 uint8_t x1 = data[i]; in encodeBase64() local
122 out->append(encode6Bit(x1 >> 2)); in encodeBase64()
123 out->append(encode6Bit((x1 << 4 | x2 >> 4) & 0x3f)); in encodeBase64()
130 uint8_t x1 = data[i]; in encodeBase64() local
131 out->append(encode6Bit(x1 >> 2)); in encodeBase64()
132 out->append(encode6Bit((x1 << 4) & 0x3f)); in encodeBase64()
/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/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()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DLinearGradient_Delegate.java58 float x0, float y0, float x1, float y1, in nativeCreate1() argument
60 LinearGradient_Delegate newDelegate = new LinearGradient_Delegate(x0, y0, x1, y1, in nativeCreate1()
67 float x0, float y0, float x1, float y1, in nativeCreate2() argument
70 x0, y0, x1, y1, new int[] { color0, color1}, null /*positions*/, in nativeCreate2()
76 int native_shader, float x0, float y0, float x1, float y1, in nativePostCreate1() argument
84 int native_shader, float x0, float y0, float x1, float y1, in nativePostCreate2() argument
105 private LinearGradient_Delegate(float x0, float y0, float x1, float y1, in LinearGradient_Delegate() argument
108 mJavaPaint = new LinearGradientPaint(x0, y0, x1, y1, mColors, mPositions, tile); in LinearGradient_Delegate()
125 public LinearGradientPaint(float x0, float y0, float x1, float y1, int colors[], in LinearGradientPaint() argument
130 mDx = x1 - x0; in LinearGradientPaint()

1234