Searched refs:fp_rb_ratio (Results 1 – 1 of 1) sorted by relevance
91 s64 fp_rb_ratio = drm_fixp_div(drm_int2fixp(65535), drm_int2fixp(31)); in RGB565_to_argb_u16() local100 out_pixel->r = drm_fixp2int_round(drm_fixp_mul(fp_r, fp_rb_ratio)); in RGB565_to_argb_u16()102 out_pixel->b = drm_fixp2int_round(drm_fixp_mul(fp_b, fp_rb_ratio)); in RGB565_to_argb_u16()211 s64 fp_rb_ratio = drm_fixp_div(drm_int2fixp(65535), drm_int2fixp(31)); in argb_u16_to_RGB565() local219 u16 r = drm_fixp2int_round(drm_fixp_div(fp_r, fp_rb_ratio)); in argb_u16_to_RGB565()221 u16 b = drm_fixp2int_round(drm_fixp_div(fp_b, fp_rb_ratio)); in argb_u16_to_RGB565()