Home
last modified time | relevance | path

Searched refs:RGB_PIXELSIZE (Results 1 – 25 of 51) sorted by relevance

123

/external/libjpeg-turbo/simd/
Djdcolor-altivec.c43 #undef RGB_PIXELSIZE
45 #define RGB_PIXELSIZE EXT_RGB_PIXELSIZE macro
48 #undef RGB_PIXELSIZE
54 #define RGB_PIXELSIZE EXT_RGBX_PIXELSIZE macro
58 #undef RGB_PIXELSIZE
62 #define RGB_PIXELSIZE EXT_BGR_PIXELSIZE macro
68 #undef RGB_PIXELSIZE
74 #define RGB_PIXELSIZE EXT_BGRX_PIXELSIZE macro
78 #undef RGB_PIXELSIZE
82 #define RGB_PIXELSIZE EXT_XBGR_PIXELSIZE macro
[all …]
Djccolor-altivec.c48 #undef RGB_PIXELSIZE
50 #define RGB_PIXELSIZE EXT_RGB_PIXELSIZE macro
53 #undef RGB_PIXELSIZE
60 #define RGB_PIXELSIZE EXT_RGBX_PIXELSIZE macro
64 #undef RGB_PIXELSIZE
68 #define RGB_PIXELSIZE EXT_BGR_PIXELSIZE macro
75 #undef RGB_PIXELSIZE
82 #define RGB_PIXELSIZE EXT_BGRX_PIXELSIZE macro
86 #undef RGB_PIXELSIZE
90 #define RGB_PIXELSIZE EXT_XBGR_PIXELSIZE macro
[all …]
Djcgray-altivec.c43 #undef RGB_PIXELSIZE
45 #define RGB_PIXELSIZE EXT_RGB_PIXELSIZE macro
48 #undef RGB_PIXELSIZE
55 #define RGB_PIXELSIZE EXT_RGBX_PIXELSIZE macro
59 #undef RGB_PIXELSIZE
63 #define RGB_PIXELSIZE EXT_BGR_PIXELSIZE macro
70 #undef RGB_PIXELSIZE
77 #define RGB_PIXELSIZE EXT_BGRX_PIXELSIZE macro
81 #undef RGB_PIXELSIZE
85 #define RGB_PIXELSIZE EXT_XBGR_PIXELSIZE macro
[all …]
Djdmerge-altivec.c43 #undef RGB_PIXELSIZE
45 #define RGB_PIXELSIZE EXT_RGB_PIXELSIZE macro
49 #undef RGB_PIXELSIZE
56 #define RGB_PIXELSIZE EXT_RGBX_PIXELSIZE macro
61 #undef RGB_PIXELSIZE
66 #define RGB_PIXELSIZE EXT_BGR_PIXELSIZE macro
73 #undef RGB_PIXELSIZE
80 #define RGB_PIXELSIZE EXT_BGRX_PIXELSIZE macro
85 #undef RGB_PIXELSIZE
90 #define RGB_PIXELSIZE EXT_XBGR_PIXELSIZE macro
[all …]
Djcgryext-altivec.c33 int pitch = img_width * RGB_PIXELSIZE, num_cols; in jsimd_rgb_gray_convert_altivec()
36 unsigned char __attribute__((aligned(16))) tmpbuf[RGB_PIXELSIZE * 16]; in jsimd_rgb_gray_convert_altivec()
41 #if __BIG_ENDIAN__ || RGB_PIXELSIZE == 4 in jsimd_rgb_gray_convert_altivec()
44 #if __BIG_ENDIAN__ && RGB_PIXELSIZE == 4 in jsimd_rgb_gray_convert_altivec()
68 num_cols -= RGB_PIXELSIZE * 16, inptr += RGB_PIXELSIZE * 16, in jsimd_rgb_gray_convert_altivec()
78 if (bytes < (RGB_PIXELSIZE + 1) * 16 && (bytes & 15)) { in jsimd_rgb_gray_convert_altivec()
86 memcpy(tmpbuf, inptr, min(num_cols, RGB_PIXELSIZE * 16)); in jsimd_rgb_gray_convert_altivec()
90 #if RGB_PIXELSIZE == 4 in jsimd_rgb_gray_convert_altivec()
102 #if RGB_PIXELSIZE == 4 in jsimd_rgb_gray_convert_altivec()
110 #if RGB_PIXELSIZE == 4 in jsimd_rgb_gray_convert_altivec()
[all …]
Djcgray-sse2.asm53 %undef RGB_PIXELSIZE
57 %define RGB_PIXELSIZE EXT_RGB_PIXELSIZE
64 %undef RGB_PIXELSIZE
68 %define RGB_PIXELSIZE EXT_RGBX_PIXELSIZE
75 %undef RGB_PIXELSIZE
79 %define RGB_PIXELSIZE EXT_BGR_PIXELSIZE
86 %undef RGB_PIXELSIZE
90 %define RGB_PIXELSIZE EXT_BGRX_PIXELSIZE
97 %undef RGB_PIXELSIZE
101 %define RGB_PIXELSIZE EXT_XBGR_PIXELSIZE
[all …]
Djcgray-sse2-64.asm53 %undef RGB_PIXELSIZE
57 %define RGB_PIXELSIZE EXT_RGB_PIXELSIZE
64 %undef RGB_PIXELSIZE
68 %define RGB_PIXELSIZE EXT_RGBX_PIXELSIZE
75 %undef RGB_PIXELSIZE
79 %define RGB_PIXELSIZE EXT_BGR_PIXELSIZE
86 %undef RGB_PIXELSIZE
90 %define RGB_PIXELSIZE EXT_BGRX_PIXELSIZE
97 %undef RGB_PIXELSIZE
101 %define RGB_PIXELSIZE EXT_XBGR_PIXELSIZE
[all …]
Djcgray-mmx.asm54 %undef RGB_PIXELSIZE
58 %define RGB_PIXELSIZE EXT_RGB_PIXELSIZE
65 %undef RGB_PIXELSIZE
69 %define RGB_PIXELSIZE EXT_RGBX_PIXELSIZE
76 %undef RGB_PIXELSIZE
80 %define RGB_PIXELSIZE EXT_BGR_PIXELSIZE
87 %undef RGB_PIXELSIZE
91 %define RGB_PIXELSIZE EXT_BGRX_PIXELSIZE
98 %undef RGB_PIXELSIZE
102 %define RGB_PIXELSIZE EXT_XBGR_PIXELSIZE
[all …]
Djdcolor-mmx.asm58 %undef RGB_PIXELSIZE
62 %define RGB_PIXELSIZE EXT_RGB_PIXELSIZE
69 %undef RGB_PIXELSIZE
73 %define RGB_PIXELSIZE EXT_RGBX_PIXELSIZE
80 %undef RGB_PIXELSIZE
84 %define RGB_PIXELSIZE EXT_BGR_PIXELSIZE
91 %undef RGB_PIXELSIZE
95 %define RGB_PIXELSIZE EXT_BGRX_PIXELSIZE
102 %undef RGB_PIXELSIZE
106 %define RGB_PIXELSIZE EXT_XBGR_PIXELSIZE
[all …]
Djccolor-sse2-64.asm60 %undef RGB_PIXELSIZE
64 %define RGB_PIXELSIZE EXT_RGB_PIXELSIZE
71 %undef RGB_PIXELSIZE
75 %define RGB_PIXELSIZE EXT_RGBX_PIXELSIZE
82 %undef RGB_PIXELSIZE
86 %define RGB_PIXELSIZE EXT_BGR_PIXELSIZE
93 %undef RGB_PIXELSIZE
97 %define RGB_PIXELSIZE EXT_BGRX_PIXELSIZE
104 %undef RGB_PIXELSIZE
108 %define RGB_PIXELSIZE EXT_XBGR_PIXELSIZE
[all …]
Djdcolor-sse2-64.asm58 %undef RGB_PIXELSIZE
62 %define RGB_PIXELSIZE EXT_RGB_PIXELSIZE
69 %undef RGB_PIXELSIZE
73 %define RGB_PIXELSIZE EXT_RGBX_PIXELSIZE
80 %undef RGB_PIXELSIZE
84 %define RGB_PIXELSIZE EXT_BGR_PIXELSIZE
91 %undef RGB_PIXELSIZE
95 %define RGB_PIXELSIZE EXT_BGRX_PIXELSIZE
102 %undef RGB_PIXELSIZE
106 %define RGB_PIXELSIZE EXT_XBGR_PIXELSIZE
[all …]
Djdcolor-sse2.asm58 %undef RGB_PIXELSIZE
62 %define RGB_PIXELSIZE EXT_RGB_PIXELSIZE
69 %undef RGB_PIXELSIZE
73 %define RGB_PIXELSIZE EXT_RGBX_PIXELSIZE
80 %undef RGB_PIXELSIZE
84 %define RGB_PIXELSIZE EXT_BGR_PIXELSIZE
91 %undef RGB_PIXELSIZE
95 %define RGB_PIXELSIZE EXT_BGRX_PIXELSIZE
102 %undef RGB_PIXELSIZE
106 %define RGB_PIXELSIZE EXT_XBGR_PIXELSIZE
[all …]
Djccolor-sse2.asm60 %undef RGB_PIXELSIZE
64 %define RGB_PIXELSIZE EXT_RGB_PIXELSIZE
71 %undef RGB_PIXELSIZE
75 %define RGB_PIXELSIZE EXT_RGBX_PIXELSIZE
82 %undef RGB_PIXELSIZE
86 %define RGB_PIXELSIZE EXT_BGR_PIXELSIZE
93 %undef RGB_PIXELSIZE
97 %define RGB_PIXELSIZE EXT_BGRX_PIXELSIZE
104 %undef RGB_PIXELSIZE
108 %define RGB_PIXELSIZE EXT_XBGR_PIXELSIZE
[all …]
Djdmerge-sse2.asm58 %undef RGB_PIXELSIZE
62 %define RGB_PIXELSIZE EXT_RGB_PIXELSIZE
70 %undef RGB_PIXELSIZE
74 %define RGB_PIXELSIZE EXT_RGBX_PIXELSIZE
82 %undef RGB_PIXELSIZE
86 %define RGB_PIXELSIZE EXT_BGR_PIXELSIZE
94 %undef RGB_PIXELSIZE
98 %define RGB_PIXELSIZE EXT_BGRX_PIXELSIZE
106 %undef RGB_PIXELSIZE
110 %define RGB_PIXELSIZE EXT_XBGR_PIXELSIZE
[all …]
Djdmerge-mmx.asm58 %undef RGB_PIXELSIZE
62 %define RGB_PIXELSIZE EXT_RGB_PIXELSIZE
70 %undef RGB_PIXELSIZE
74 %define RGB_PIXELSIZE EXT_RGBX_PIXELSIZE
82 %undef RGB_PIXELSIZE
86 %define RGB_PIXELSIZE EXT_BGR_PIXELSIZE
94 %undef RGB_PIXELSIZE
98 %define RGB_PIXELSIZE EXT_BGRX_PIXELSIZE
106 %undef RGB_PIXELSIZE
110 %define RGB_PIXELSIZE EXT_XBGR_PIXELSIZE
[all …]
Djdmerge-sse2-64.asm58 %undef RGB_PIXELSIZE
62 %define RGB_PIXELSIZE EXT_RGB_PIXELSIZE
70 %undef RGB_PIXELSIZE
74 %define RGB_PIXELSIZE EXT_RGBX_PIXELSIZE
82 %undef RGB_PIXELSIZE
86 %define RGB_PIXELSIZE EXT_BGR_PIXELSIZE
94 %undef RGB_PIXELSIZE
98 %define RGB_PIXELSIZE EXT_BGRX_PIXELSIZE
106 %undef RGB_PIXELSIZE
110 %define RGB_PIXELSIZE EXT_XBGR_PIXELSIZE
[all …]
Djccolor-mmx.asm61 %undef RGB_PIXELSIZE
65 %define RGB_PIXELSIZE EXT_RGB_PIXELSIZE
72 %undef RGB_PIXELSIZE
76 %define RGB_PIXELSIZE EXT_RGBX_PIXELSIZE
83 %undef RGB_PIXELSIZE
87 %define RGB_PIXELSIZE EXT_BGR_PIXELSIZE
94 %undef RGB_PIXELSIZE
98 %define RGB_PIXELSIZE EXT_BGRX_PIXELSIZE
105 %undef RGB_PIXELSIZE
109 %define RGB_PIXELSIZE EXT_XBGR_PIXELSIZE
[all …]
Djdcolext-altivec.c31 int pitch = out_width * RGB_PIXELSIZE, num_cols; in jsimd_ycc_rgb_convert_altivec()
35 unsigned char __attribute__((aligned(16))) tmpbuf[RGB_PIXELSIZE * 16]; in jsimd_ycc_rgb_convert_altivec()
41 #if RGB_PIXELSIZE == 4 in jsimd_ycc_rgb_convert_altivec()
45 #if RGB_PIXELSIZE == 4 in jsimd_ycc_rgb_convert_altivec()
77 num_cols -= RGB_PIXELSIZE * 16, outptr += RGB_PIXELSIZE * 16, in jsimd_ycc_rgb_convert_altivec()
167 #if RGB_PIXELSIZE == 3 in jsimd_ycc_rgb_convert_altivec()
203 if (bytes < (RGB_PIXELSIZE + 1) * 16 && (bytes & 15)) { in jsimd_ycc_rgb_convert_altivec()
214 #if RGB_PIXELSIZE == 4 in jsimd_ycc_rgb_convert_altivec()
217 memcpy(outptr, tmpbuf, min(num_cols, RGB_PIXELSIZE * 16)); in jsimd_ycc_rgb_convert_altivec()
222 edgeh = vec_ld(min(num_cols - 1, RGB_PIXELSIZE * 16), outptr); in jsimd_ycc_rgb_convert_altivec()
[all …]
Djccolext-altivec.c32 int pitch = img_width * RGB_PIXELSIZE, num_cols; in jsimd_rgb_ycc_convert_altivec()
36 unsigned char __attribute__((aligned(16))) tmpbuf[RGB_PIXELSIZE * 16]; in jsimd_rgb_ycc_convert_altivec()
40 #if __BIG_ENDIAN__ || RGB_PIXELSIZE == 4 in jsimd_rgb_ycc_convert_altivec()
43 #if __BIG_ENDIAN__ && RGB_PIXELSIZE == 4 in jsimd_rgb_ycc_convert_altivec()
73 num_cols -= RGB_PIXELSIZE * 16, inptr += RGB_PIXELSIZE * 16, in jsimd_rgb_ycc_convert_altivec()
83 if (bytes < (RGB_PIXELSIZE + 1) * 16 && (bytes & 15)) { in jsimd_rgb_ycc_convert_altivec()
91 memcpy(tmpbuf, inptr, min(num_cols, RGB_PIXELSIZE * 16)); in jsimd_rgb_ycc_convert_altivec()
95 #if RGB_PIXELSIZE == 4 in jsimd_rgb_ycc_convert_altivec()
107 #if RGB_PIXELSIZE == 4 in jsimd_rgb_ycc_convert_altivec()
115 #if RGB_PIXELSIZE == 4 in jsimd_rgb_ycc_convert_altivec()
[all …]
Djdmrgext-altivec.c32 int pitch = output_width * RGB_PIXELSIZE, num_cols, yloop; in jsimd_h2v1_merged_upsample_altivec()
36 unsigned char __attribute__((aligned(16))) tmpbuf[RGB_PIXELSIZE * 16]; in jsimd_h2v1_merged_upsample_altivec()
42 #if RGB_PIXELSIZE == 4 in jsimd_h2v1_merged_upsample_altivec()
46 #if RGB_PIXELSIZE == 4 in jsimd_h2v1_merged_upsample_altivec()
148 num_cols -= RGB_PIXELSIZE * 16, in jsimd_h2v1_merged_upsample_altivec()
149 outptr += RGB_PIXELSIZE * 16, inptr0 += 16) { in jsimd_h2v1_merged_upsample_altivec()
192 #if RGB_PIXELSIZE == 3 in jsimd_h2v1_merged_upsample_altivec()
228 if (bytes < (RGB_PIXELSIZE + 1) * 16 && (bytes & 15)) { in jsimd_h2v1_merged_upsample_altivec()
239 #if RGB_PIXELSIZE == 4 in jsimd_h2v1_merged_upsample_altivec()
242 memcpy(outptr, tmpbuf, min(num_cols, RGB_PIXELSIZE * 16)); in jsimd_h2v1_merged_upsample_altivec()
[all …]
/external/libvncserver/common/
Dturbojpeg.c302 dst+=RGB_PIXELSIZE; src+=PS; \
315 #if RGB_RED!=0 || RGB_GREEN!=1 || RGB_BLUE!=2 || RGB_PIXELSIZE!=3 in toRGB()
320 #if RGB_RED!=2 || RGB_GREEN!=1 || RGB_BLUE!=0 || RGB_PIXELSIZE!=3 in toRGB()
326 #if RGB_RED!=0 || RGB_GREEN!=1 || RGB_BLUE!=2 || RGB_PIXELSIZE!=4 in toRGB()
332 #if RGB_RED!=2 || RGB_GREEN!=1 || RGB_BLUE!=0 || RGB_PIXELSIZE!=4 in toRGB()
338 #if RGB_RED!=1 || RGB_GREEN!=2 || RGB_BLUE!=3 || RGB_PIXELSIZE!=4 in toRGB()
344 #if RGB_RED!=3 || RGB_GREEN!=2 || RGB_BLUE!=1 || RGB_PIXELSIZE!=4 in toRGB()
363 dst+=PS; src+=RGB_PIXELSIZE; \
375 #if RGB_RED!=0 || RGB_GREEN!=1 || RGB_BLUE!=2 || RGB_PIXELSIZE!=3 in fromRGB()
380 #if RGB_RED!=2 || RGB_GREEN!=1 || RGB_BLUE!=0 || RGB_PIXELSIZE!=3 in fromRGB()
[all …]
/external/libjpeg-turbo/
Djdmerge.c89 #undef RGB_PIXELSIZE
94 #define RGB_PIXELSIZE EXT_RGB_PIXELSIZE macro
101 #undef RGB_PIXELSIZE
109 #define RGB_PIXELSIZE EXT_RGBX_PIXELSIZE macro
117 #undef RGB_PIXELSIZE
124 #define RGB_PIXELSIZE EXT_BGR_PIXELSIZE macro
131 #undef RGB_PIXELSIZE
139 #define RGB_PIXELSIZE EXT_BGRX_PIXELSIZE macro
147 #undef RGB_PIXELSIZE
155 #define RGB_PIXELSIZE EXT_XBGR_PIXELSIZE macro
[all …]
Djccolor.c94 #undef RGB_PIXELSIZE
99 #define RGB_PIXELSIZE EXT_RGB_PIXELSIZE macro
107 #undef RGB_PIXELSIZE
115 #define RGB_PIXELSIZE EXT_RGBX_PIXELSIZE macro
123 #undef RGB_PIXELSIZE
131 #define RGB_PIXELSIZE EXT_BGR_PIXELSIZE macro
139 #undef RGB_PIXELSIZE
147 #define RGB_PIXELSIZE EXT_BGRX_PIXELSIZE macro
155 #undef RGB_PIXELSIZE
163 #define RGB_PIXELSIZE EXT_XBGR_PIXELSIZE macro
[all …]
Djdmrgext.c63 outptr += RGB_PIXELSIZE; in LOCAL()
71 outptr += RGB_PIXELSIZE; in LOCAL()
138 outptr0 += RGB_PIXELSIZE; in LOCAL()
146 outptr0 += RGB_PIXELSIZE; in LOCAL()
154 outptr1 += RGB_PIXELSIZE; in LOCAL()
162 outptr1 += RGB_PIXELSIZE; in LOCAL()
Djdcolor.c99 #undef RGB_PIXELSIZE
104 #define RGB_PIXELSIZE EXT_RGB_PIXELSIZE macro
112 #undef RGB_PIXELSIZE
121 #define RGB_PIXELSIZE EXT_RGBX_PIXELSIZE macro
130 #undef RGB_PIXELSIZE
138 #define RGB_PIXELSIZE EXT_BGR_PIXELSIZE macro
146 #undef RGB_PIXELSIZE
155 #define RGB_PIXELSIZE EXT_BGRX_PIXELSIZE macro
164 #undef RGB_PIXELSIZE
173 #define RGB_PIXELSIZE EXT_XBGR_PIXELSIZE macro
[all …]

123