• Home
  • Raw
  • Download

Lines Matching refs:count

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