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 RGB_to_RGB1_portable(uint32_t dst[], const uint8_t* src, int count) { in RGB_to_RGB1_portable() argument
69 for (int i = 0; i < count; i++) { in RGB_to_RGB1_portable()
81 static void RGB_to_BGR1_portable(uint32_t dst[], const uint8_t* src, int count) { in RGB_to_BGR1_portable() argument
82 for (int i = 0; i < count; i++) { in RGB_to_BGR1_portable()
94 static void gray_to_RGB1_portable(uint32_t dst[], const uint8_t* src, int count) { in gray_to_RGB1_portable() argument
95 for (int i = 0; i < count; i++) { in gray_to_RGB1_portable()
103 static void grayA_to_RGBA_portable(uint32_t dst[], const uint8_t* src, int count) { in grayA_to_RGBA_portable() argument
104 for (int i = 0; i < count; i++) { in grayA_to_RGBA_portable()
115 static void grayA_to_rgbA_portable(uint32_t dst[], const uint8_t* src, 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 uint32_t* src, int count) { in inverted_CMYK_to_RGB1_portable() argument
129 for (int i = 0; i < count; i++) { in inverted_CMYK_to_RGB1_portable()
145 static void inverted_CMYK_to_BGR1_portable(uint32_t* dst, const uint32_t* src, int count) { in inverted_CMYK_to_BGR1_portable() argument
146 for (int i = 0; i < count; i++) { in inverted_CMYK_to_BGR1_portable()
193 static void premul_should_swapRB(uint32_t* dst, const uint32_t* src, int count) { in premul_should_swapRB() argument
194 while (count >= 8) { in premul_should_swapRB()
221 count -= 8; in premul_should_swapRB()
226 proc(dst, src, count); in premul_should_swapRB()
229 /*not static*/ inline void RGBA_to_rgbA(uint32_t* dst, const uint32_t* src, int count) { in RGBA_to_rgbA() argument
230 premul_should_swapRB<false>(dst, src, count); in RGBA_to_rgbA()
233 /*not static*/ inline void RGBA_to_bgrA(uint32_t* dst, const uint32_t* src, int count) { in RGBA_to_bgrA() argument
234 premul_should_swapRB<true>(dst, src, count); in RGBA_to_bgrA()
237 /*not static*/ inline void RGBA_to_BGRA(uint32_t* dst, const uint32_t* src, int count) { in RGBA_to_BGRA() argument
239 while (count >= 16) { in RGBA_to_BGRA()
250 count -= 16; in RGBA_to_BGRA()
253 if (count >= 8) { in RGBA_to_BGRA()
264 count -= 8; in RGBA_to_BGRA()
267 RGBA_to_BGRA_portable(dst, src, count); in RGBA_to_BGRA()
271 static void insert_alpha_should_swaprb(uint32_t dst[], const uint8_t* src, int count) { in insert_alpha_should_swaprb() argument
272 while (count >= 16) { in insert_alpha_should_swaprb()
292 count -= 16; in insert_alpha_should_swaprb()
295 if (count >= 8) { in insert_alpha_should_swaprb()
315 count -= 8; in insert_alpha_should_swaprb()
320 proc(dst, src, count); in insert_alpha_should_swaprb()
323 /*not static*/ inline void RGB_to_RGB1(uint32_t dst[], const uint8_t* src, int count) { in RGB_to_RGB1() argument
324 insert_alpha_should_swaprb<false>(dst, src, count); in RGB_to_RGB1()
327 /*not static*/ inline void RGB_to_BGR1(uint32_t dst[], const uint8_t* src, int count) { in RGB_to_BGR1() argument
328 insert_alpha_should_swaprb<true>(dst, src, count); in RGB_to_BGR1()
331 /*not static*/ inline void gray_to_RGB1(uint32_t dst[], const uint8_t* src, int count) { in gray_to_RGB1() argument
332 while (count >= 16) { in gray_to_RGB1()
347 count -= 16; in gray_to_RGB1()
350 if (count >= 8) { in gray_to_RGB1()
365 count -= 8; in gray_to_RGB1()
368 gray_to_RGB1_portable(dst, src, count); in gray_to_RGB1()
372 static void expand_grayA(uint32_t dst[], const uint8_t* src, int count) { in expand_grayA() argument
373 while (count >= 16) { in expand_grayA()
395 count -= 16; in expand_grayA()
398 if (count >= 8) { in expand_grayA()
418 count -= 8; in expand_grayA()
422 proc(dst, src, count); in expand_grayA()
425 /*not static*/ inline void grayA_to_RGBA(uint32_t dst[], const uint8_t* src, int count) { in grayA_to_RGBA() argument
426 expand_grayA<false>(dst, src, count); in grayA_to_RGBA()
429 /*not static*/ inline void grayA_to_rgbA(uint32_t dst[], const uint8_t* src, int count) { in grayA_to_rgbA() argument
430 expand_grayA<true>(dst, src, count); in grayA_to_rgbA()
435 static void inverted_cmyk_to(uint32_t* dst, const uint32_t* src, int count) { in inverted_cmyk_to() argument
436 while (count >= 8) { in inverted_cmyk_to()
465 count -= 8; in inverted_cmyk_to()
469 proc(dst, src, count); in inverted_cmyk_to()
472 /*not static*/ inline void inverted_CMYK_to_RGB1(uint32_t dst[], const uint32_t* src, int count) { in inverted_CMYK_to_RGB1() argument
473 inverted_cmyk_to<kRGB1>(dst, src, count); in inverted_CMYK_to_RGB1()
476 /*not static*/ inline void inverted_CMYK_to_BGR1(uint32_t dst[], const uint32_t* src, int count) { in inverted_CMYK_to_BGR1() argument
477 inverted_cmyk_to<kBGR1>(dst, src, count); in inverted_CMYK_to_BGR1()
493 static void premul_should_swapRB(uint32_t* dst, const uint32_t* src, int count) { in premul_should_swapRB() argument
528 while (count >= 8) { in premul_should_swapRB()
539 count -= 8; in premul_should_swapRB()
542 if (count >= 4) { in premul_should_swapRB()
552 count -= 4; in premul_should_swapRB()
557 proc(dst, src, count); in premul_should_swapRB()
560 /*not static*/ inline void RGBA_to_rgbA(uint32_t* dst, const uint32_t* src, int count) { in RGBA_to_rgbA() argument
561 premul_should_swapRB<false>(dst, src, count); in RGBA_to_rgbA()
564 /*not static*/ inline void RGBA_to_bgrA(uint32_t* dst, const uint32_t* src, int count) { in RGBA_to_bgrA() argument
565 premul_should_swapRB<true>(dst, src, count); in RGBA_to_bgrA()
568 /*not static*/ inline void RGBA_to_BGRA(uint32_t* dst, const uint32_t* src, int count) { in RGBA_to_BGRA() argument
571 while (count >= 4) { in RGBA_to_BGRA()
578 count -= 4; in RGBA_to_BGRA()
581 RGBA_to_BGRA_portable(dst, src, count); in RGBA_to_BGRA()
585 static void insert_alpha_should_swaprb(uint32_t dst[], const uint8_t* src, int count) { in insert_alpha_should_swaprb() argument
595 while (count >= 6) { in insert_alpha_should_swaprb()
609 count -= 4; in insert_alpha_should_swaprb()
614 proc(dst, src, count); in insert_alpha_should_swaprb()
617 /*not static*/ inline void RGB_to_RGB1(uint32_t dst[], const uint8_t* src, int count) { in RGB_to_RGB1() argument
618 insert_alpha_should_swaprb<false>(dst, src, count); in RGB_to_RGB1()
621 /*not static*/ inline void RGB_to_BGR1(uint32_t dst[], const uint8_t* src, int count) { in RGB_to_BGR1() argument
622 insert_alpha_should_swaprb<true>(dst, src, count); in RGB_to_BGR1()
625 /*not static*/ inline void gray_to_RGB1(uint32_t dst[], const uint8_t* src, int count) { in gray_to_RGB1() argument
627 while (count >= 16) { in gray_to_RGB1()
647 count -= 16; in gray_to_RGB1()
650 gray_to_RGB1_portable(dst, src, count); in gray_to_RGB1()
653 /*not static*/ inline void grayA_to_RGBA(uint32_t dst[], const uint8_t* src, int count) { in grayA_to_RGBA() argument
654 while (count >= 8) { in grayA_to_RGBA()
668 count -= 8; in grayA_to_RGBA()
671 grayA_to_RGBA_portable(dst, src, count); in grayA_to_RGBA()
674 /*not static*/ inline void grayA_to_rgbA(uint32_t dst[], const uint8_t* src, int count) { in grayA_to_rgbA() argument
675 while (count >= 8) { in grayA_to_rgbA()
696 count -= 8; in grayA_to_rgbA()
699 grayA_to_rgbA_portable(dst, src, count); in grayA_to_rgbA()
704 static void inverted_cmyk_to(uint32_t* dst, const uint32_t* src, int count) { in inverted_cmyk_to() argument
738 while (count >= 8) { in inverted_cmyk_to()
749 count -= 8; in inverted_cmyk_to()
752 if (count >= 4) { in inverted_cmyk_to()
762 count -= 4; in inverted_cmyk_to()
766 proc(dst, src, count); in inverted_cmyk_to()
769 /*not static*/ inline void inverted_CMYK_to_RGB1(uint32_t dst[], const uint32_t* src, int count) { in inverted_CMYK_to_RGB1() argument
770 inverted_cmyk_to<kRGB1>(dst, src, count); in inverted_CMYK_to_RGB1()
773 /*not static*/ inline void inverted_CMYK_to_BGR1(uint32_t dst[], const uint32_t* src, int count) { in inverted_CMYK_to_BGR1() argument
774 inverted_cmyk_to<kBGR1>(dst, src, count); in inverted_CMYK_to_BGR1()
779 /*not static*/ inline void RGBA_to_rgbA(uint32_t* dst, const uint32_t* src, int count) { in RGBA_to_rgbA() argument
780 RGBA_to_rgbA_portable(dst, src, count); in RGBA_to_rgbA()
783 /*not static*/ inline void RGBA_to_bgrA(uint32_t* dst, const uint32_t* src, int count) { in RGBA_to_bgrA() argument
784 RGBA_to_bgrA_portable(dst, src, count); in RGBA_to_bgrA()
787 /*not static*/ inline void RGBA_to_BGRA(uint32_t* dst, const uint32_t* src, int count) { in RGBA_to_BGRA() argument
788 RGBA_to_BGRA_portable(dst, src, count); in RGBA_to_BGRA()
791 /*not static*/ inline void RGB_to_RGB1(uint32_t dst[], const uint8_t* src, int count) { in RGB_to_RGB1() argument
792 RGB_to_RGB1_portable(dst, src, count); in RGB_to_RGB1()
795 /*not static*/ inline void RGB_to_BGR1(uint32_t dst[], const uint8_t* src, int count) { in RGB_to_BGR1() argument
796 RGB_to_BGR1_portable(dst, src, count); in RGB_to_BGR1()
799 /*not static*/ inline void gray_to_RGB1(uint32_t dst[], const uint8_t* src, int count) { in gray_to_RGB1() argument
800 gray_to_RGB1_portable(dst, src, count); in gray_to_RGB1()
803 /*not static*/ inline void grayA_to_RGBA(uint32_t dst[], const uint8_t* src, int count) { in grayA_to_RGBA() argument
804 grayA_to_RGBA_portable(dst, src, count); in grayA_to_RGBA()
807 /*not static*/ inline void grayA_to_rgbA(uint32_t dst[], const uint8_t* src, int count) { in grayA_to_rgbA() argument
808 grayA_to_rgbA_portable(dst, src, count); in grayA_to_rgbA()
811 /*not static*/ inline void inverted_CMYK_to_RGB1(uint32_t dst[], const uint32_t* src, int count) { in inverted_CMYK_to_RGB1() argument
812 inverted_CMYK_to_RGB1_portable(dst, src, count); in inverted_CMYK_to_RGB1()
815 /*not static*/ inline void inverted_CMYK_to_BGR1(uint32_t dst[], const uint32_t* src, int count) { in inverted_CMYK_to_BGR1() argument
816 inverted_CMYK_to_BGR1_portable(dst, src, count); in inverted_CMYK_to_BGR1()