Lines Matching refs:SHADE
849 #define SHADE(f, v) v* f >> 24 macro
866 dst_argb[0] = SHADE(b, b_scale); in ARGBShadeRow_C()
867 dst_argb[1] = SHADE(g, g_scale); in ARGBShadeRow_C()
868 dst_argb[2] = SHADE(r, r_scale); in ARGBShadeRow_C()
869 dst_argb[3] = SHADE(a, a_scale); in ARGBShadeRow_C()
875 #undef SHADE
878 #define SHADE(f, v) v* f >> 16 macro
894 dst_argb[0] = SHADE(b, b_scale); in ARGBMultiplyRow_C()
895 dst_argb[1] = SHADE(g, g_scale); in ARGBMultiplyRow_C()
896 dst_argb[2] = SHADE(r, r_scale); in ARGBMultiplyRow_C()
897 dst_argb[3] = SHADE(a, a_scale); in ARGBMultiplyRow_C()
904 #undef SHADE
906 #define SHADE(f, v) clamp255(v + f) macro
922 dst_argb[0] = SHADE(b, b_add); in ARGBAddRow_C()
923 dst_argb[1] = SHADE(g, g_add); in ARGBAddRow_C()
924 dst_argb[2] = SHADE(r, r_add); in ARGBAddRow_C()
925 dst_argb[3] = SHADE(a, a_add); in ARGBAddRow_C()
931 #undef SHADE
933 #define SHADE(f, v) clamp0(f - v) macro
949 dst_argb[0] = SHADE(b, b_sub); in ARGBSubtractRow_C()
950 dst_argb[1] = SHADE(g, g_sub); in ARGBSubtractRow_C()
951 dst_argb[2] = SHADE(r, r_sub); in ARGBSubtractRow_C()
952 dst_argb[3] = SHADE(a, a_sub); in ARGBSubtractRow_C()
958 #undef SHADE