Lines Matching refs:dst_argb

73 void RGB24ToARGBRow_C(const uint8* src_rgb24, uint8* dst_argb, int width) {  in RGB24ToARGBRow_C()  argument
79 dst_argb[0] = b; in RGB24ToARGBRow_C()
80 dst_argb[1] = g; in RGB24ToARGBRow_C()
81 dst_argb[2] = r; in RGB24ToARGBRow_C()
82 dst_argb[3] = 255u; in RGB24ToARGBRow_C()
83 dst_argb += 4; in RGB24ToARGBRow_C()
88 void RAWToARGBRow_C(const uint8* src_raw, uint8* dst_argb, int width) { in RAWToARGBRow_C() argument
94 dst_argb[0] = b; in RAWToARGBRow_C()
95 dst_argb[1] = g; in RAWToARGBRow_C()
96 dst_argb[2] = r; in RAWToARGBRow_C()
97 dst_argb[3] = 255u; in RAWToARGBRow_C()
98 dst_argb += 4; in RAWToARGBRow_C()
117 void RGB565ToARGBRow_C(const uint8* src_rgb565, uint8* dst_argb, int width) { in RGB565ToARGBRow_C() argument
123 dst_argb[0] = (b << 3) | (b >> 2); in RGB565ToARGBRow_C()
124 dst_argb[1] = (g << 2) | (g >> 4); in RGB565ToARGBRow_C()
125 dst_argb[2] = (r << 3) | (r >> 2); in RGB565ToARGBRow_C()
126 dst_argb[3] = 255u; in RGB565ToARGBRow_C()
127 dst_argb += 4; in RGB565ToARGBRow_C()
133 uint8* dst_argb, in ARGB1555ToARGBRow_C() argument
141 dst_argb[0] = (b << 3) | (b >> 2); in ARGB1555ToARGBRow_C()
142 dst_argb[1] = (g << 3) | (g >> 2); in ARGB1555ToARGBRow_C()
143 dst_argb[2] = (r << 3) | (r >> 2); in ARGB1555ToARGBRow_C()
144 dst_argb[3] = -a; in ARGB1555ToARGBRow_C()
145 dst_argb += 4; in ARGB1555ToARGBRow_C()
151 uint8* dst_argb, in ARGB4444ToARGBRow_C() argument
159 dst_argb[0] = (b << 4) | b; in ARGB4444ToARGBRow_C()
160 dst_argb[1] = (g << 4) | g; in ARGB4444ToARGBRow_C()
161 dst_argb[2] = (r << 4) | r; in ARGB4444ToARGBRow_C()
162 dst_argb[3] = (a << 4) | a; in ARGB4444ToARGBRow_C()
163 dst_argb += 4; in ARGB4444ToARGBRow_C()
655 void ARGBGrayRow_C(const uint8* src_argb, uint8* dst_argb, int width) { in ARGBGrayRow_C() argument
659 dst_argb[2] = dst_argb[1] = dst_argb[0] = y; in ARGBGrayRow_C()
660 dst_argb[3] = src_argb[3]; in ARGBGrayRow_C()
661 dst_argb += 4; in ARGBGrayRow_C()
667 void ARGBSepiaRow_C(uint8* dst_argb, int width) { in ARGBSepiaRow_C() argument
670 int b = dst_argb[0]; in ARGBSepiaRow_C()
671 int g = dst_argb[1]; in ARGBSepiaRow_C()
672 int r = dst_argb[2]; in ARGBSepiaRow_C()
677 dst_argb[0] = sb; in ARGBSepiaRow_C()
678 dst_argb[1] = clamp255(sg); in ARGBSepiaRow_C()
679 dst_argb[2] = clamp255(sr); in ARGBSepiaRow_C()
680 dst_argb += 4; in ARGBSepiaRow_C()
687 uint8* dst_argb, in ARGBColorMatrixRow_C() argument
708 dst_argb[0] = Clamp(sb); in ARGBColorMatrixRow_C()
709 dst_argb[1] = Clamp(sg); in ARGBColorMatrixRow_C()
710 dst_argb[2] = Clamp(sr); in ARGBColorMatrixRow_C()
711 dst_argb[3] = Clamp(sa); in ARGBColorMatrixRow_C()
713 dst_argb += 4; in ARGBColorMatrixRow_C()
718 void ARGBColorTableRow_C(uint8* dst_argb, const uint8* table_argb, int width) { in ARGBColorTableRow_C() argument
721 int b = dst_argb[0]; in ARGBColorTableRow_C()
722 int g = dst_argb[1]; in ARGBColorTableRow_C()
723 int r = dst_argb[2]; in ARGBColorTableRow_C()
724 int a = dst_argb[3]; in ARGBColorTableRow_C()
725 dst_argb[0] = table_argb[b * 4 + 0]; in ARGBColorTableRow_C()
726 dst_argb[1] = table_argb[g * 4 + 1]; in ARGBColorTableRow_C()
727 dst_argb[2] = table_argb[r * 4 + 2]; in ARGBColorTableRow_C()
728 dst_argb[3] = table_argb[a * 4 + 3]; in ARGBColorTableRow_C()
729 dst_argb += 4; in ARGBColorTableRow_C()
734 void RGBColorTableRow_C(uint8* dst_argb, const uint8* table_argb, int width) { in RGBColorTableRow_C() argument
737 int b = dst_argb[0]; in RGBColorTableRow_C()
738 int g = dst_argb[1]; in RGBColorTableRow_C()
739 int r = dst_argb[2]; in RGBColorTableRow_C()
740 dst_argb[0] = table_argb[b * 4 + 0]; in RGBColorTableRow_C()
741 dst_argb[1] = table_argb[g * 4 + 1]; in RGBColorTableRow_C()
742 dst_argb[2] = table_argb[r * 4 + 2]; in RGBColorTableRow_C()
743 dst_argb += 4; in RGBColorTableRow_C()
747 void ARGBQuantizeRow_C(uint8* dst_argb, in ARGBQuantizeRow_C() argument
754 int b = dst_argb[0]; in ARGBQuantizeRow_C()
755 int g = dst_argb[1]; in ARGBQuantizeRow_C()
756 int r = dst_argb[2]; in ARGBQuantizeRow_C()
757 dst_argb[0] = (b * scale >> 16) * interval_size + interval_offset; in ARGBQuantizeRow_C()
758 dst_argb[1] = (g * scale >> 16) * interval_size + interval_offset; in ARGBQuantizeRow_C()
759 dst_argb[2] = (r * scale >> 16) * interval_size + interval_offset; in ARGBQuantizeRow_C()
760 dst_argb += 4; in ARGBQuantizeRow_C()
768 uint8* dst_argb, in ARGBShadeRow_C() argument
782 dst_argb[0] = SHADE(b, b_scale); in ARGBShadeRow_C()
783 dst_argb[1] = SHADE(g, g_scale); in ARGBShadeRow_C()
784 dst_argb[2] = SHADE(r, r_scale); in ARGBShadeRow_C()
785 dst_argb[3] = SHADE(a, a_scale); in ARGBShadeRow_C()
787 dst_argb += 4; in ARGBShadeRow_C()
798 uint8* dst_argb, in ARGBMultiplyRow_C() argument
810 dst_argb[0] = SHADE(b, b_scale); in ARGBMultiplyRow_C()
811 dst_argb[1] = SHADE(g, g_scale); in ARGBMultiplyRow_C()
812 dst_argb[2] = SHADE(r, r_scale); in ARGBMultiplyRow_C()
813 dst_argb[3] = SHADE(a, a_scale); in ARGBMultiplyRow_C()
816 dst_argb += 4; in ARGBMultiplyRow_C()
826 uint8* dst_argb, in ARGBAddRow_C() argument
838 dst_argb[0] = SHADE(b, b_add); in ARGBAddRow_C()
839 dst_argb[1] = SHADE(g, g_add); in ARGBAddRow_C()
840 dst_argb[2] = SHADE(r, r_add); in ARGBAddRow_C()
841 dst_argb[3] = SHADE(a, a_add); in ARGBAddRow_C()
844 dst_argb += 4; in ARGBAddRow_C()
853 uint8* dst_argb, in ARGBSubtractRow_C() argument
865 dst_argb[0] = SHADE(b, b_sub); in ARGBSubtractRow_C()
866 dst_argb[1] = SHADE(g, g_sub); in ARGBSubtractRow_C()
867 dst_argb[2] = SHADE(r, r_sub); in ARGBSubtractRow_C()
868 dst_argb[3] = SHADE(a, a_sub); in ARGBSubtractRow_C()
871 dst_argb += 4; in ARGBSubtractRow_C()
920 uint8* dst_argb, in SobelRow_C() argument
927 dst_argb[0] = (uint8)(s); in SobelRow_C()
928 dst_argb[1] = (uint8)(s); in SobelRow_C()
929 dst_argb[2] = (uint8)(s); in SobelRow_C()
930 dst_argb[3] = (uint8)(255u); in SobelRow_C()
931 dst_argb += 4; in SobelRow_C()
950 uint8* dst_argb, in SobelXYRow_C() argument
957 dst_argb[0] = (uint8)(b); in SobelXYRow_C()
958 dst_argb[1] = (uint8)(g); in SobelXYRow_C()
959 dst_argb[2] = (uint8)(r); in SobelXYRow_C()
960 dst_argb[3] = (uint8)(255u); in SobelXYRow_C()
961 dst_argb += 4; in SobelXYRow_C()
965 void J400ToARGBRow_C(const uint8* src_y, uint8* dst_argb, int width) { in J400ToARGBRow_C() argument
970 dst_argb[2] = dst_argb[1] = dst_argb[0] = y; in J400ToARGBRow_C()
971 dst_argb[3] = 255u; in J400ToARGBRow_C()
972 dst_argb += 4; in J400ToARGBRow_C()
1785 void ARGBSetRow_C(uint8* dst_argb, uint32 v32, int width) { in ARGBSetRow_C() argument
1786 uint32* d = (uint32*)(dst_argb); in ARGBSetRow_C()
1894 uint8* dst_argb, in ARGBBlendRow_C() argument
1905 dst_argb[0] = BLEND(fb, bb, a); in ARGBBlendRow_C()
1906 dst_argb[1] = BLEND(fg, bg, a); in ARGBBlendRow_C()
1907 dst_argb[2] = BLEND(fr, br, a); in ARGBBlendRow_C()
1908 dst_argb[3] = 255u; in ARGBBlendRow_C()
1917 dst_argb[4 + 0] = BLEND(fb, bb, a); in ARGBBlendRow_C()
1918 dst_argb[4 + 1] = BLEND(fg, bg, a); in ARGBBlendRow_C()
1919 dst_argb[4 + 2] = BLEND(fr, br, a); in ARGBBlendRow_C()
1920 dst_argb[4 + 3] = 255u; in ARGBBlendRow_C()
1923 dst_argb += 8; in ARGBBlendRow_C()
1934 dst_argb[0] = BLEND(fb, bb, a); in ARGBBlendRow_C()
1935 dst_argb[1] = BLEND(fg, bg, a); in ARGBBlendRow_C()
1936 dst_argb[2] = BLEND(fr, br, a); in ARGBBlendRow_C()
1937 dst_argb[3] = 255u; in ARGBBlendRow_C()
1967 void ARGBAttenuateRow_C(const uint8* src_argb, uint8* dst_argb, int width) { in ARGBAttenuateRow_C() argument
1974 dst_argb[0] = ATTENUATE(b, a); in ARGBAttenuateRow_C()
1975 dst_argb[1] = ATTENUATE(g, a); in ARGBAttenuateRow_C()
1976 dst_argb[2] = ATTENUATE(r, a); in ARGBAttenuateRow_C()
1977 dst_argb[3] = a; in ARGBAttenuateRow_C()
1982 dst_argb[4] = ATTENUATE(b, a); in ARGBAttenuateRow_C()
1983 dst_argb[5] = ATTENUATE(g, a); in ARGBAttenuateRow_C()
1984 dst_argb[6] = ATTENUATE(r, a); in ARGBAttenuateRow_C()
1985 dst_argb[7] = a; in ARGBAttenuateRow_C()
1987 dst_argb += 8; in ARGBAttenuateRow_C()
1995 dst_argb[0] = ATTENUATE(b, a); in ARGBAttenuateRow_C()
1996 dst_argb[1] = ATTENUATE(g, a); in ARGBAttenuateRow_C()
1997 dst_argb[2] = ATTENUATE(r, a); in ARGBAttenuateRow_C()
1998 dst_argb[3] = a; in ARGBAttenuateRow_C()
2050 void ARGBUnattenuateRow_C(const uint8* src_argb, uint8* dst_argb, int width) { in ARGBUnattenuateRow_C() argument
2062 dst_argb[0] = clamp255(b); in ARGBUnattenuateRow_C()
2063 dst_argb[1] = clamp255(g); in ARGBUnattenuateRow_C()
2064 dst_argb[2] = clamp255(r); in ARGBUnattenuateRow_C()
2065 dst_argb[3] = a; in ARGBUnattenuateRow_C()
2067 dst_argb += 4; in ARGBUnattenuateRow_C()
2112 uint8* dst_argb, in ARGBAffineRow_C() argument
2123 *(uint32*)(dst_argb) = in ARGBAffineRow_C()
2125 dst_argb += 4; in ARGBAffineRow_C()
2216 uint8* dst_argb, in ARGBShuffleRow_C() argument
2231 dst_argb[0] = b; in ARGBShuffleRow_C()
2232 dst_argb[1] = g; in ARGBShuffleRow_C()
2233 dst_argb[2] = r; in ARGBShuffleRow_C()
2234 dst_argb[3] = a; in ARGBShuffleRow_C()
2236 dst_argb += 4; in ARGBShuffleRow_C()
2289 uint8* dst_argb, in ARGBPolynomialRow_C() argument
2319 dst_argb[0] = Clamp((int32)(db)); in ARGBPolynomialRow_C()
2320 dst_argb[1] = Clamp((int32)(dg)); in ARGBPolynomialRow_C()
2321 dst_argb[2] = Clamp((int32)(dr)); in ARGBPolynomialRow_C()
2322 dst_argb[3] = Clamp((int32)(da)); in ARGBPolynomialRow_C()
2324 dst_argb += 4; in ARGBPolynomialRow_C()
2348 uint8* dst_argb, in ARGBLumaColorTableRow_C() argument
2363 dst_argb[0] = luma0[src_argb[0]]; in ARGBLumaColorTableRow_C()
2364 dst_argb[1] = luma0[src_argb[1]]; in ARGBLumaColorTableRow_C()
2365 dst_argb[2] = luma0[src_argb[2]]; in ARGBLumaColorTableRow_C()
2366 dst_argb[3] = src_argb[3]; in ARGBLumaColorTableRow_C()
2370 dst_argb[4] = luma1[src_argb[4]]; in ARGBLumaColorTableRow_C()
2371 dst_argb[5] = luma1[src_argb[5]]; in ARGBLumaColorTableRow_C()
2372 dst_argb[6] = luma1[src_argb[6]]; in ARGBLumaColorTableRow_C()
2373 dst_argb[7] = src_argb[7]; in ARGBLumaColorTableRow_C()
2375 dst_argb += 8; in ARGBLumaColorTableRow_C()
2382 dst_argb[0] = luma0[src_argb[0]]; in ARGBLumaColorTableRow_C()
2383 dst_argb[1] = luma0[src_argb[1]]; in ARGBLumaColorTableRow_C()
2384 dst_argb[2] = luma0[src_argb[2]]; in ARGBLumaColorTableRow_C()
2385 dst_argb[3] = src_argb[3]; in ARGBLumaColorTableRow_C()