Lines Matching refs:dst_argb
22 void BGRAToARGBRow_C(const uint8* src_bgra, uint8* dst_argb, int width) { in BGRAToARGBRow_C() argument
29 dst_argb[0] = b; in BGRAToARGBRow_C()
30 dst_argb[1] = g; in BGRAToARGBRow_C()
31 dst_argb[2] = r; in BGRAToARGBRow_C()
32 dst_argb[3] = a; in BGRAToARGBRow_C()
33 dst_argb += 4; in BGRAToARGBRow_C()
38 void ABGRToARGBRow_C(const uint8* src_abgr, uint8* dst_argb, int width) { in ABGRToARGBRow_C() argument
45 dst_argb[0] = b; in ABGRToARGBRow_C()
46 dst_argb[1] = g; in ABGRToARGBRow_C()
47 dst_argb[2] = r; in ABGRToARGBRow_C()
48 dst_argb[3] = a; in ABGRToARGBRow_C()
49 dst_argb += 4; in ABGRToARGBRow_C()
54 void RGBAToARGBRow_C(const uint8* src_abgr, uint8* dst_argb, int width) { in RGBAToARGBRow_C() argument
61 dst_argb[0] = b; in RGBAToARGBRow_C()
62 dst_argb[1] = g; in RGBAToARGBRow_C()
63 dst_argb[2] = r; in RGBAToARGBRow_C()
64 dst_argb[3] = a; in RGBAToARGBRow_C()
65 dst_argb += 4; in RGBAToARGBRow_C()
70 void RGB24ToARGBRow_C(const uint8* src_rgb24, uint8* dst_argb, int width) { in RGB24ToARGBRow_C() argument
75 dst_argb[0] = b; in RGB24ToARGBRow_C()
76 dst_argb[1] = g; in RGB24ToARGBRow_C()
77 dst_argb[2] = r; in RGB24ToARGBRow_C()
78 dst_argb[3] = 255u; in RGB24ToARGBRow_C()
79 dst_argb += 4; in RGB24ToARGBRow_C()
84 void RAWToARGBRow_C(const uint8* src_raw, uint8* dst_argb, int width) { in RAWToARGBRow_C() argument
89 dst_argb[0] = b; in RAWToARGBRow_C()
90 dst_argb[1] = g; in RAWToARGBRow_C()
91 dst_argb[2] = r; in RAWToARGBRow_C()
92 dst_argb[3] = 255u; in RAWToARGBRow_C()
93 dst_argb += 4; in RAWToARGBRow_C()
98 void RGB565ToARGBRow_C(const uint8* src_rgb, uint8* dst_argb, int width) { in RGB565ToARGBRow_C() argument
103 dst_argb[0] = (b << 3) | (b >> 2); in RGB565ToARGBRow_C()
104 dst_argb[1] = (g << 2) | (g >> 4); in RGB565ToARGBRow_C()
105 dst_argb[2] = (r << 3) | (r >> 2); in RGB565ToARGBRow_C()
106 dst_argb[3] = 255u; in RGB565ToARGBRow_C()
107 dst_argb += 4; in RGB565ToARGBRow_C()
112 void ARGB1555ToARGBRow_C(const uint8* src_rgb, uint8* dst_argb, int width) { in ARGB1555ToARGBRow_C() argument
118 dst_argb[0] = (b << 3) | (b >> 2); in ARGB1555ToARGBRow_C()
119 dst_argb[1] = (g << 3) | (g >> 2); in ARGB1555ToARGBRow_C()
120 dst_argb[2] = (r << 3) | (r >> 2); in ARGB1555ToARGBRow_C()
121 dst_argb[3] = -a; in ARGB1555ToARGBRow_C()
122 dst_argb += 4; in ARGB1555ToARGBRow_C()
127 void ARGB4444ToARGBRow_C(const uint8* src_rgb, uint8* dst_argb, int width) { in ARGB4444ToARGBRow_C() argument
133 dst_argb[0] = (b << 4) | b; in ARGB4444ToARGBRow_C()
134 dst_argb[1] = (g << 4) | g; in ARGB4444ToARGBRow_C()
135 dst_argb[2] = (r << 4) | r; in ARGB4444ToARGBRow_C()
136 dst_argb[3] = (a << 4) | a; in ARGB4444ToARGBRow_C()
137 dst_argb += 4; in ARGB4444ToARGBRow_C()
314 void ARGBGrayRow_C(const uint8* src_argb, uint8* dst_argb, int width) { in ARGBGrayRow_C() argument
317 dst_argb[2] = dst_argb[1] = dst_argb[0] = y; in ARGBGrayRow_C()
318 dst_argb[3] = src_argb[3]; in ARGBGrayRow_C()
319 dst_argb += 4; in ARGBGrayRow_C()
325 void ARGBSepiaRow_C(uint8* dst_argb, int width) { in ARGBSepiaRow_C() argument
327 int b = dst_argb[0]; in ARGBSepiaRow_C()
328 int g = dst_argb[1]; in ARGBSepiaRow_C()
329 int r = dst_argb[2]; in ARGBSepiaRow_C()
340 dst_argb[0] = sb; in ARGBSepiaRow_C()
341 dst_argb[1] = sg; in ARGBSepiaRow_C()
342 dst_argb[2] = sr; in ARGBSepiaRow_C()
343 dst_argb += 4; in ARGBSepiaRow_C()
348 void ARGBColorMatrixRow_C(uint8* dst_argb, const int8* matrix_argb, int width) { in ARGBColorMatrixRow_C() argument
350 int b = dst_argb[0]; in ARGBColorMatrixRow_C()
351 int g = dst_argb[1]; in ARGBColorMatrixRow_C()
352 int r = dst_argb[2]; in ARGBColorMatrixRow_C()
353 int a = dst_argb[3]; in ARGBColorMatrixRow_C()
378 dst_argb[0] = sb; in ARGBColorMatrixRow_C()
379 dst_argb[1] = sg; in ARGBColorMatrixRow_C()
380 dst_argb[2] = sr; in ARGBColorMatrixRow_C()
381 dst_argb += 4; in ARGBColorMatrixRow_C()
386 void ARGBColorTableRow_C(uint8* dst_argb, const uint8* table_argb, int width) { in ARGBColorTableRow_C() argument
388 int b = dst_argb[0]; in ARGBColorTableRow_C()
389 int g = dst_argb[1]; in ARGBColorTableRow_C()
390 int r = dst_argb[2]; in ARGBColorTableRow_C()
391 int a = dst_argb[3]; in ARGBColorTableRow_C()
392 dst_argb[0] = table_argb[b * 4 + 0]; in ARGBColorTableRow_C()
393 dst_argb[1] = table_argb[g * 4 + 1]; in ARGBColorTableRow_C()
394 dst_argb[2] = table_argb[r * 4 + 2]; in ARGBColorTableRow_C()
395 dst_argb[3] = table_argb[a * 4 + 3]; in ARGBColorTableRow_C()
396 dst_argb += 4; in ARGBColorTableRow_C()
400 void ARGBQuantizeRow_C(uint8* dst_argb, int scale, int interval_size, in ARGBQuantizeRow_C() argument
403 int b = dst_argb[0]; in ARGBQuantizeRow_C()
404 int g = dst_argb[1]; in ARGBQuantizeRow_C()
405 int r = dst_argb[2]; in ARGBQuantizeRow_C()
406 dst_argb[0] = (b * scale >> 16) * interval_size + interval_offset; in ARGBQuantizeRow_C()
407 dst_argb[1] = (g * scale >> 16) * interval_size + interval_offset; in ARGBQuantizeRow_C()
408 dst_argb[2] = (r * scale >> 16) * interval_size + interval_offset; in ARGBQuantizeRow_C()
409 dst_argb += 4; in ARGBQuantizeRow_C()
413 void I400ToARGBRow_C(const uint8* src_y, uint8* dst_argb, int width) { in I400ToARGBRow_C() argument
417 dst_argb[2] = dst_argb[1] = dst_argb[0] = y; in I400ToARGBRow_C()
418 dst_argb[3] = 255u; in I400ToARGBRow_C()
419 dst_argb += 4; in I400ToARGBRow_C()
830 uint8* dst_argb, int width) { in ARGBBlendRow_C() argument
839 dst_argb[0] = BLEND(fb, bb, a); in ARGBBlendRow_C()
840 dst_argb[1] = BLEND(fg, bg, a); in ARGBBlendRow_C()
841 dst_argb[2] = BLEND(fr, br, a); in ARGBBlendRow_C()
842 dst_argb[3] = 255u; in ARGBBlendRow_C()
851 dst_argb[4 + 0] = BLEND(fb, bb, a); in ARGBBlendRow_C()
852 dst_argb[4 + 1] = BLEND(fg, bg, a); in ARGBBlendRow_C()
853 dst_argb[4 + 2] = BLEND(fr, br, a); in ARGBBlendRow_C()
854 dst_argb[4 + 3] = 255u; in ARGBBlendRow_C()
857 dst_argb += 8; in ARGBBlendRow_C()
868 dst_argb[0] = BLEND(fb, bb, a); in ARGBBlendRow_C()
869 dst_argb[1] = BLEND(fg, bg, a); in ARGBBlendRow_C()
870 dst_argb[2] = BLEND(fr, br, a); in ARGBBlendRow_C()
871 dst_argb[3] = 255u; in ARGBBlendRow_C()
879 void ARGBAttenuateRow_C(const uint8* src_argb, uint8* dst_argb, int width) { in ARGBAttenuateRow_C() argument
885 dst_argb[0] = ATTENUATE(b, a); in ARGBAttenuateRow_C()
886 dst_argb[1] = ATTENUATE(g, a); in ARGBAttenuateRow_C()
887 dst_argb[2] = ATTENUATE(r, a); in ARGBAttenuateRow_C()
888 dst_argb[3] = a; in ARGBAttenuateRow_C()
893 dst_argb[4] = ATTENUATE(b, a); in ARGBAttenuateRow_C()
894 dst_argb[5] = ATTENUATE(g, a); in ARGBAttenuateRow_C()
895 dst_argb[6] = ATTENUATE(r, a); in ARGBAttenuateRow_C()
896 dst_argb[7] = a; in ARGBAttenuateRow_C()
898 dst_argb += 8; in ARGBAttenuateRow_C()
906 dst_argb[0] = ATTENUATE(b, a); in ARGBAttenuateRow_C()
907 dst_argb[1] = ATTENUATE(g, a); in ARGBAttenuateRow_C()
908 dst_argb[2] = ATTENUATE(r, a); in ARGBAttenuateRow_C()
909 dst_argb[3] = a; in ARGBAttenuateRow_C()
956 void ARGBUnattenuateRow_C(const uint8* src_argb, uint8* dst_argb, int width) { in ARGBUnattenuateRow_C() argument
978 dst_argb[0] = b; in ARGBUnattenuateRow_C()
979 dst_argb[1] = g; in ARGBUnattenuateRow_C()
980 dst_argb[2] = r; in ARGBUnattenuateRow_C()
981 dst_argb[3] = a; in ARGBUnattenuateRow_C()
983 dst_argb += 4; in ARGBUnattenuateRow_C()
1177 void ARGBShadeRow_C(const uint8* src_argb, uint8* dst_argb, int width, in ARGBShadeRow_C() argument
1189 dst_argb[0] = SHADE(b, b_scale); in ARGBShadeRow_C()
1190 dst_argb[1] = SHADE(g, g_scale); in ARGBShadeRow_C()
1191 dst_argb[2] = SHADE(r, r_scale); in ARGBShadeRow_C()
1192 dst_argb[3] = SHADE(a, a_scale); in ARGBShadeRow_C()
1194 dst_argb += 4; in ARGBShadeRow_C()
1203 uint8* dst_argb, const float* uv_dudv, int width) { in ARGBAffineRow_C() argument
1211 *reinterpret_cast<uint32*>(dst_argb) = in ARGBAffineRow_C()
1214 dst_argb += 4; in ARGBAffineRow_C()