Lines Matching refs:count
15 static void RGBA_to_rgbA_portable(uint32_t* dst, const void* vsrc, int count) { in RGBA_to_rgbA_portable() argument
17 for (int i = 0; i < count; i++) { in RGBA_to_rgbA_portable()
32 static void RGBA_to_bgrA_portable(uint32_t* dst, const void* vsrc, int count) { in RGBA_to_bgrA_portable() argument
34 for (int i = 0; i < count; i++) { in RGBA_to_bgrA_portable()
49 static void RGBA_to_BGRA_portable(uint32_t* dst, const void* vsrc, int count) { in RGBA_to_BGRA_portable() argument
51 for (int i = 0; i < count; i++) { in RGBA_to_BGRA_portable()
63 static void RGB_to_RGB1_portable(uint32_t dst[], const void* vsrc, int count) { in RGB_to_RGB1_portable() argument
65 for (int i = 0; i < count; i++) { in RGB_to_RGB1_portable()
77 static void RGB_to_BGR1_portable(uint32_t dst[], const void* vsrc, int count) { in RGB_to_BGR1_portable() argument
79 for (int i = 0; i < count; i++) { in RGB_to_BGR1_portable()
91 static void gray_to_RGB1_portable(uint32_t dst[], const void* vsrc, int count) { in gray_to_RGB1_portable() argument
93 for (int i = 0; i < count; i++) { in gray_to_RGB1_portable()
101 static void grayA_to_RGBA_portable(uint32_t dst[], const void* vsrc, int count) { in grayA_to_RGBA_portable() argument
103 for (int i = 0; i < count; i++) { in grayA_to_RGBA_portable()
114 static void grayA_to_rgbA_portable(uint32_t dst[], const void* vsrc, int count) { in grayA_to_rgbA_portable() argument
116 for (int i = 0; i < count; i++) { in grayA_to_rgbA_portable()
128 static void inverted_CMYK_to_RGB1_portable(uint32_t* dst, const void* vsrc, int count) { in inverted_CMYK_to_RGB1_portable() argument
130 for (int i = 0; i < count; i++) { in inverted_CMYK_to_RGB1_portable()
146 static void inverted_CMYK_to_BGR1_portable(uint32_t* dst, const void* vsrc, int count) { in inverted_CMYK_to_BGR1_portable() argument
148 for (int i = 0; i < count; i++) { in inverted_CMYK_to_BGR1_portable()
195 static void premul_should_swapRB(uint32_t* dst, const void* vsrc, int count) { in premul_should_swapRB() argument
197 while (count >= 8) { in premul_should_swapRB()
224 count -= 8; in premul_should_swapRB()
229 proc(dst, src, count); in premul_should_swapRB()
232 static void RGBA_to_rgbA(uint32_t* dst, const void* src, int count) { in RGBA_to_rgbA() argument
233 premul_should_swapRB<false>(dst, src, count); in RGBA_to_rgbA()
236 static void RGBA_to_bgrA(uint32_t* dst, const void* src, int count) { in RGBA_to_bgrA() argument
237 premul_should_swapRB<true>(dst, src, count); in RGBA_to_bgrA()
240 static void RGBA_to_BGRA(uint32_t* dst, const void* vsrc, int count) { in RGBA_to_BGRA() argument
242 while (count >= 16) { in RGBA_to_BGRA()
253 count -= 16; in RGBA_to_BGRA()
256 if (count >= 8) { in RGBA_to_BGRA()
267 count -= 8; in RGBA_to_BGRA()
270 RGBA_to_BGRA_portable(dst, src, count); in RGBA_to_BGRA()
274 static void insert_alpha_should_swaprb(uint32_t dst[], const void* vsrc, int count) { in insert_alpha_should_swaprb() argument
276 while (count >= 16) { in insert_alpha_should_swaprb()
296 count -= 16; in insert_alpha_should_swaprb()
299 if (count >= 8) { in insert_alpha_should_swaprb()
319 count -= 8; in insert_alpha_should_swaprb()
324 proc(dst, src, count); in insert_alpha_should_swaprb()
327 static void RGB_to_RGB1(uint32_t dst[], const void* src, int count) { in RGB_to_RGB1() argument
328 insert_alpha_should_swaprb<false>(dst, src, count); in RGB_to_RGB1()
331 static void RGB_to_BGR1(uint32_t dst[], const void* src, int count) { in RGB_to_BGR1() argument
332 insert_alpha_should_swaprb<true>(dst, src, count); in RGB_to_BGR1()
335 static void gray_to_RGB1(uint32_t dst[], const void* vsrc, int count) { in gray_to_RGB1() argument
337 while (count >= 16) { in gray_to_RGB1()
352 count -= 16; in gray_to_RGB1()
355 if (count >= 8) { in gray_to_RGB1()
370 count -= 8; in gray_to_RGB1()
373 gray_to_RGB1_portable(dst, src, count); in gray_to_RGB1()
377 static void expand_grayA(uint32_t dst[], const void* vsrc, int count) { in expand_grayA() argument
379 while (count >= 16) { in expand_grayA()
401 count -= 16; in expand_grayA()
404 if (count >= 8) { in expand_grayA()
424 count -= 8; in expand_grayA()
428 proc(dst, src, count); in expand_grayA()
431 static void grayA_to_RGBA(uint32_t dst[], const void* src, int count) { in grayA_to_RGBA() argument
432 expand_grayA<false>(dst, src, count); in grayA_to_RGBA()
435 static void grayA_to_rgbA(uint32_t dst[], const void* src, int count) { in grayA_to_rgbA() argument
436 expand_grayA<true>(dst, src, count); in grayA_to_rgbA()
441 static void inverted_cmyk_to(uint32_t* dst, const void* vsrc, int count) { in inverted_cmyk_to() argument
443 while (count >= 8) { in inverted_cmyk_to()
472 count -= 8; in inverted_cmyk_to()
476 proc(dst, src, count); in inverted_cmyk_to()
479 static void inverted_CMYK_to_RGB1(uint32_t dst[], const void* src, int count) { in inverted_CMYK_to_RGB1() argument
480 inverted_cmyk_to<kRGB1>(dst, src, count); in inverted_CMYK_to_RGB1()
483 static void inverted_CMYK_to_BGR1(uint32_t dst[], const void* src, int count) { in inverted_CMYK_to_BGR1() argument
484 inverted_cmyk_to<kBGR1>(dst, src, count); in inverted_CMYK_to_BGR1()
500 static void premul_should_swapRB(uint32_t* dst, const void* vsrc, int count) { in premul_should_swapRB() argument
536 while (count >= 8) { in premul_should_swapRB()
547 count -= 8; in premul_should_swapRB()
550 if (count >= 4) { in premul_should_swapRB()
560 count -= 4; in premul_should_swapRB()
565 proc(dst, src, count); in premul_should_swapRB()
568 static void RGBA_to_rgbA(uint32_t* dst, const void* src, int count) { in RGBA_to_rgbA() argument
569 premul_should_swapRB<false>(dst, src, count); in RGBA_to_rgbA()
572 static void RGBA_to_bgrA(uint32_t* dst, const void* src, int count) { in RGBA_to_bgrA() argument
573 premul_should_swapRB<true>(dst, src, count); in RGBA_to_bgrA()
576 static void RGBA_to_BGRA(uint32_t* dst, const void* vsrc, int count) { in RGBA_to_BGRA() argument
580 while (count >= 4) { in RGBA_to_BGRA()
587 count -= 4; in RGBA_to_BGRA()
590 RGBA_to_BGRA_portable(dst, src, count); in RGBA_to_BGRA()
594 static void insert_alpha_should_swaprb(uint32_t dst[], const void* vsrc, int count) { in insert_alpha_should_swaprb() argument
606 while (count >= 6) { in insert_alpha_should_swaprb()
620 count -= 4; in insert_alpha_should_swaprb()
625 proc(dst, src, count); in insert_alpha_should_swaprb()
628 static void RGB_to_RGB1(uint32_t dst[], const void* src, int count) { in RGB_to_RGB1() argument
629 insert_alpha_should_swaprb<false>(dst, src, count); in RGB_to_RGB1()
632 static void RGB_to_BGR1(uint32_t dst[], const void* src, int count) { in RGB_to_BGR1() argument
633 insert_alpha_should_swaprb<true>(dst, src, count); in RGB_to_BGR1()
636 static void gray_to_RGB1(uint32_t dst[], const void* vsrc, int count) { in gray_to_RGB1() argument
640 while (count >= 16) { in gray_to_RGB1()
660 count -= 16; in gray_to_RGB1()
663 gray_to_RGB1_portable(dst, src, count); in gray_to_RGB1()
666 static void grayA_to_RGBA(uint32_t dst[], const void* vsrc, int count) { in grayA_to_RGBA() argument
668 while (count >= 8) { in grayA_to_RGBA()
682 count -= 8; in grayA_to_RGBA()
685 grayA_to_RGBA_portable(dst, src, count); in grayA_to_RGBA()
688 static void grayA_to_rgbA(uint32_t dst[], const void* vsrc, int count) { in grayA_to_rgbA() argument
690 while (count >= 8) { in grayA_to_rgbA()
711 count -= 8; in grayA_to_rgbA()
714 grayA_to_rgbA_portable(dst, src, count); in grayA_to_rgbA()
719 static void inverted_cmyk_to(uint32_t* dst, const void* vsrc, int count) { in inverted_cmyk_to() argument
755 while (count >= 8) { in inverted_cmyk_to()
766 count -= 8; in inverted_cmyk_to()
769 if (count >= 4) { in inverted_cmyk_to()
779 count -= 4; in inverted_cmyk_to()
783 proc(dst, src, count); in inverted_cmyk_to()
786 static void inverted_CMYK_to_RGB1(uint32_t dst[], const void* src, int count) { in inverted_CMYK_to_RGB1() argument
787 inverted_cmyk_to<kRGB1>(dst, src, count); in inverted_CMYK_to_RGB1()
790 static void inverted_CMYK_to_BGR1(uint32_t dst[], const void* src, int count) { in inverted_CMYK_to_BGR1() argument
791 inverted_cmyk_to<kBGR1>(dst, src, count); in inverted_CMYK_to_BGR1()
796 static void RGBA_to_rgbA(uint32_t* dst, const void* src, int count) { in RGBA_to_rgbA() argument
797 RGBA_to_rgbA_portable(dst, src, count); in RGBA_to_rgbA()
800 static void RGBA_to_bgrA(uint32_t* dst, const void* src, int count) { in RGBA_to_bgrA() argument
801 RGBA_to_bgrA_portable(dst, src, count); in RGBA_to_bgrA()
804 static void RGBA_to_BGRA(uint32_t* dst, const void* src, int count) { in RGBA_to_BGRA() argument
805 RGBA_to_BGRA_portable(dst, src, count); in RGBA_to_BGRA()
808 static void RGB_to_RGB1(uint32_t dst[], const void* src, int count) { in RGB_to_RGB1() argument
809 RGB_to_RGB1_portable(dst, src, count); in RGB_to_RGB1()
812 static void RGB_to_BGR1(uint32_t dst[], const void* src, int count) { in RGB_to_BGR1() argument
813 RGB_to_BGR1_portable(dst, src, count); in RGB_to_BGR1()
816 static void gray_to_RGB1(uint32_t dst[], const void* src, int count) { in gray_to_RGB1() argument
817 gray_to_RGB1_portable(dst, src, count); in gray_to_RGB1()
820 static void grayA_to_RGBA(uint32_t dst[], const void* src, int count) { in grayA_to_RGBA() argument
821 grayA_to_RGBA_portable(dst, src, count); in grayA_to_RGBA()
824 static void grayA_to_rgbA(uint32_t dst[], const void* src, int count) { in grayA_to_rgbA() argument
825 grayA_to_rgbA_portable(dst, src, count); in grayA_to_rgbA()
828 static void inverted_CMYK_to_RGB1(uint32_t dst[], const void* src, int count) { in inverted_CMYK_to_RGB1() argument
829 inverted_CMYK_to_RGB1_portable(dst, src, count); in inverted_CMYK_to_RGB1()
832 static void inverted_CMYK_to_BGR1(uint32_t dst[], const void* src, int count) { in inverted_CMYK_to_BGR1() argument
833 inverted_CMYK_to_BGR1_portable(dst, src, count); in inverted_CMYK_to_BGR1()