Lines Matching refs:count

23 static void RGBA_to_rgbA_portable(uint32_t* dst, const uint32_t* src, int count) {
24 for (int i = 0; i < count; i++) {
39 static void RGBA_to_bgrA_portable(uint32_t* dst, const uint32_t* src, int count) {
40 for (int i = 0; i < count; i++) {
55 static void RGBA_to_BGRA_portable(uint32_t* dst, const uint32_t* src, int count) {
56 for (int i = 0; i < count; i++) {
68 static void grayA_to_RGBA_portable(uint32_t dst[], const uint8_t* src, int count) {
69 for (int i = 0; i < count; i++) {
80 static void grayA_to_rgbA_portable(uint32_t dst[], const uint8_t* src, int count) {
81 for (int i = 0; i < count; i++) {
93 static void inverted_CMYK_to_RGB1_portable(uint32_t* dst, const uint32_t* src, int count) {
94 for (int i = 0; i < count; i++) {
110 static void inverted_CMYK_to_BGR1_portable(uint32_t* dst, const uint32_t* src, int count) {
111 for (int i = 0; i < count; i++) {
157 static void premul_should_swapRB(bool kSwapRB, uint32_t* dst, const uint32_t* src, int count) {
158 while (count >= 8) {
185 count -= 8;
190 proc(dst, src, count);
193 /*not static*/ inline void RGBA_to_rgbA(uint32_t* dst, const uint32_t* src, int count) {
194 premul_should_swapRB(false, dst, src, count);
197 /*not static*/ inline void RGBA_to_bgrA(uint32_t* dst, const uint32_t* src, int count) {
198 premul_should_swapRB(true, dst, src, count);
201 /*not static*/ inline void RGBA_to_BGRA(uint32_t* dst, const uint32_t* src, int count) {
203 while (count >= 16) {
214 count -= 16;
217 if (count >= 8) {
228 count -= 8;
231 RGBA_to_BGRA_portable(dst, src, count);
234 static void expand_grayA(bool kPremul, uint32_t dst[], const uint8_t* src, int count) {
235 while (count >= 16) {
257 count -= 16;
260 if (count >= 8) {
280 count -= 8;
284 proc(dst, src, count);
287 /*not static*/ inline void grayA_to_RGBA(uint32_t dst[], const uint8_t* src, int count) {
288 expand_grayA(false, dst, src, count);
291 /*not static*/ inline void grayA_to_rgbA(uint32_t dst[], const uint8_t* src, int count) {
292 expand_grayA(true, dst, src, count);
296 static void inverted_cmyk_to(Format format, uint32_t* dst, const uint32_t* src, int count) {
297 while (count >= 8) {
326 count -= 8;
330 proc(dst, src, count);
333 /*not static*/ inline void inverted_CMYK_to_RGB1(uint32_t dst[], const uint32_t* src, int count) {
334 inverted_cmyk_to(kRGB1, dst, src, count);
337 /*not static*/ inline void inverted_CMYK_to_BGR1(uint32_t dst[], const uint32_t* src, int count) {
338 inverted_cmyk_to(kBGR1, dst, src, count);
352 static void premul_should_swapRB(bool kSwapRB, uint32_t* dst, const uint32_t* src, int count) {
394 while (count >= 32) {
405 count -= 32;
408 if (count >= 16) {
418 count -= 16;
423 proc(dst, src, count);
426 /*not static*/ inline void RGBA_to_rgbA(uint32_t* dst, const uint32_t* src, int count) {
427 premul_should_swapRB(false, dst, src, count);
430 /*not static*/ inline void RGBA_to_bgrA(uint32_t* dst, const uint32_t* src, int count) {
431 premul_should_swapRB(true, dst, src, count);
434 /*not static*/ inline void RGBA_to_BGRA(uint32_t* dst, const uint32_t* src, int count) {
441 while (count >= 16) {
448 count -= 16;
451 RGBA_to_BGRA_portable(dst, src, count);
458 /*not static*/ inline void grayA_to_RGBA(uint32_t dst[], const uint8_t* src, int count) {
459 while (count >= 32) {
498 count -= 32;
501 grayA_to_RGBA_portable(dst, src, count);
504 /*not static*/ inline void grayA_to_rgbA(uint32_t dst[], const uint8_t* src, int count) {
505 while (count >= 32) {
535 count -= 32;
538 grayA_to_rgbA_portable(dst, src, count);
542 static void inverted_cmyk_to(Format format, uint32_t* dst, const uint32_t* src, int count) {
583 while (count >= 32) {
594 count -= 32;
597 if (count >= 16) {
607 count -= 16;
611 proc(dst, src, count);
614 /*not static*/ inline void inverted_CMYK_to_RGB1(uint32_t dst[], const uint32_t* src, int count) {
615 inverted_cmyk_to(kRGB1, dst, src, count);
618 /*not static*/ inline void inverted_CMYK_to_BGR1(uint32_t dst[], const uint32_t* src, int count) {
619 inverted_cmyk_to(kBGR1, dst, src, count);
634 static void premul_should_swapRB(bool kSwapRB, uint32_t* dst, const uint32_t* src, int count) {
671 while (count >= 16) {
682 count -= 16;
685 if (count >= 8) {
695 count -= 8;
700 proc(dst, src, count);
703 /*not static*/ inline void RGBA_to_rgbA(uint32_t* dst, const uint32_t* src, int count) {
704 premul_should_swapRB(false, dst, src, count);
707 /*not static*/ inline void RGBA_to_bgrA(uint32_t* dst, const uint32_t* src, int count) {
708 premul_should_swapRB(true, dst, src, count);
711 /*not static*/ inline void RGBA_to_BGRA(uint32_t* dst, const uint32_t* src, int count) {
715 while (count >= 8) {
722 count -= 8;
725 RGBA_to_BGRA_portable(dst, src, count);
728 /*not static*/ inline void grayA_to_RGBA(uint32_t dst[], const uint8_t* src, int count) {
729 while (count >= 16) {
755 count -= 16;
758 grayA_to_RGBA_portable(dst, src, count);
761 /*not static*/ inline void grayA_to_rgbA(uint32_t dst[], const uint8_t* src, int count) {
762 while (count >= 16) {
786 count -= 16;
789 grayA_to_rgbA_portable(dst, src, count);
793 static void inverted_cmyk_to(Format format, uint32_t* dst, const uint32_t* src, int count) {
831 while (count >= 16) {
842 count -= 16;
845 if (count >= 8) {
855 count -= 8;
859 proc(dst, src, count);
862 /*not static*/ inline void inverted_CMYK_to_RGB1(uint32_t dst[], const uint32_t* src, int count) {
863 inverted_cmyk_to(kRGB1, dst, src, count);
866 /*not static*/ inline void inverted_CMYK_to_BGR1(uint32_t dst[], const uint32_t* src, int count) {
867 inverted_cmyk_to(kBGR1, dst, src, count);
882 static void premul_should_swapRB(bool kSwapRB, uint32_t* dst, const uint32_t* src, int count) {
917 while (count >= 8) {
928 count -= 8;
931 if (count >= 4) {
941 count -= 4;
946 proc(dst, src, count);
949 /*not static*/ inline void RGBA_to_rgbA(uint32_t* dst, const uint32_t* src, int count) {
950 premul_should_swapRB(false, dst, src, count);
953 /*not static*/ inline void RGBA_to_bgrA(uint32_t* dst, const uint32_t* src, int count) {
954 premul_should_swapRB(true, dst, src, count);
957 /*not static*/ inline void RGBA_to_BGRA(uint32_t* dst, const uint32_t* src, int count) {
960 while (count >= 4) {
967 count -= 4;
970 RGBA_to_BGRA_portable(dst, src, count);
973 /*not static*/ inline void grayA_to_RGBA(uint32_t dst[], const uint8_t* src, int count) {
974 while (count >= 8) {
988 count -= 8;
991 grayA_to_RGBA_portable(dst, src, count);
994 /*not static*/ inline void grayA_to_rgbA(uint32_t dst[], const uint8_t* src, int count) {
995 while (count >= 8) {
1016 count -= 8;
1019 grayA_to_rgbA_portable(dst, src, count);
1023 static void inverted_cmyk_to(Format format, uint32_t* dst, const uint32_t* src, int count) {
1057 while (count >= 8) {
1068 count -= 8;
1071 if (count >= 4) {
1081 count -= 4;
1085 proc(dst, src, count);
1088 /*not static*/ inline void inverted_CMYK_to_RGB1(uint32_t dst[], const uint32_t* src, int count) {
1089 inverted_cmyk_to(kRGB1, dst, src, count);
1092 /*not static*/ inline void inverted_CMYK_to_BGR1(uint32_t dst[], const uint32_t* src, int count) {
1093 inverted_cmyk_to(kBGR1, dst, src, count);
1098 /*not static*/ inline void RGBA_to_rgbA(uint32_t* dst, const uint32_t* src, int count) {
1099 RGBA_to_rgbA_portable(dst, src, count);
1102 /*not static*/ inline void RGBA_to_bgrA(uint32_t* dst, const uint32_t* src, int count) {
1103 RGBA_to_bgrA_portable(dst, src, count);
1106 /*not static*/ inline void RGBA_to_BGRA(uint32_t* dst, const uint32_t* src, int count) {
1107 RGBA_to_BGRA_portable(dst, src, count);
1110 /*not static*/ inline void grayA_to_RGBA(uint32_t dst[], const uint8_t* src, int count) {
1111 grayA_to_RGBA_portable(dst, src, count);
1114 /*not static*/ inline void grayA_to_rgbA(uint32_t dst[], const uint8_t* src, int count) {
1115 grayA_to_rgbA_portable(dst, src, count);
1118 /*not static*/ inline void inverted_CMYK_to_RGB1(uint32_t dst[], const uint32_t* src, int count) {
1119 inverted_CMYK_to_RGB1_portable(dst, src, count);
1122 /*not static*/ inline void inverted_CMYK_to_BGR1(uint32_t dst[], const uint32_t* src, int count) {
1123 inverted_CMYK_to_BGR1_portable(dst, src, count);
1129 static void gray_to_RGB1_portable(uint32_t dst[], const uint8_t* src, int count) {
1130 for (int i = 0; i < count; i++) {
1138 /*not static*/ inline void gray_to_RGB1(uint32_t dst[], const uint8_t* src, int count) {
1139 while (count >= 16) {
1154 count -= 16;
1156 if (count >= 8) {
1171 count -= 8;
1173 gray_to_RGB1_portable(dst, src, count);
1176 /*not static*/ inline void gray_to_RGB1(uint32_t dst[], const uint8_t* src, int count) {
1178 while (count >= 32) {
1216 count -= 32;
1218 gray_to_RGB1_portable(dst, src, count);
1221 /*not static*/ inline void gray_to_RGB1(uint32_t dst[], const uint8_t* src, int count) {
1223 while (count >= 16) {
1243 count -= 16;
1245 gray_to_RGB1_portable(dst, src, count);
1248 /*not static*/ inline void gray_to_RGB1(uint32_t dst[], const uint8_t* src, int count) {
1249 gray_to_RGB1_portable(dst, src, count);
1254 static void RGB_to_RGB1_portable(uint32_t dst[], const uint8_t* src, int count) {
1255 for (int i = 0; i < count; i++) {
1266 static void RGB_to_BGR1_portable(uint32_t dst[], const uint8_t* src, int count) {
1267 for (int i = 0; i < count; i++) {
1280 uint32_t dst[], const uint8_t* src, int count) {
1281 while (count >= 16) {
1301 count -= 16;
1304 if (count >= 8) {
1324 count -= 8;
1329 proc(dst, src, count);
1332 /*not static*/ inline void RGB_to_RGB1(uint32_t dst[], const uint8_t* src, int count) {
1333 insert_alpha_should_swaprb(false, dst, src, count);
1335 /*not static*/ inline void RGB_to_BGR1(uint32_t dst[], const uint8_t* src, int count) {
1336 insert_alpha_should_swaprb(true, dst, src, count);
1340 uint32_t dst[], const uint8_t* src, int count) {
1350 while (count >= 6) {
1364 count -= 4;
1369 proc(dst, src, count);
1372 /*not static*/ inline void RGB_to_RGB1(uint32_t dst[], const uint8_t* src, int count) {
1373 insert_alpha_should_swaprb(false, dst, src, count);
1375 /*not static*/ inline void RGB_to_BGR1(uint32_t dst[], const uint8_t* src, int count) {
1376 insert_alpha_should_swaprb(true, dst, src, count);
1379 /*not static*/ inline void RGB_to_RGB1(uint32_t dst[], const uint8_t* src, int count) {
1380 RGB_to_RGB1_portable(dst, src, count);
1382 /*not static*/ inline void RGB_to_BGR1(uint32_t dst[], const uint8_t* src, int count) {
1383 RGB_to_BGR1_portable(dst, src, count);