Searched refs:alpha_config (Results 1 – 1 of 1) sorted by relevance
1662 static void vop2_parse_alpha(struct vop2_alpha_config *alpha_config, in vop2_parse_alpha() argument1665 int src_glb_alpha_en = is_opaque(alpha_config->src_glb_alpha_value) ? 0 : 1; in vop2_parse_alpha()1666 int dst_glb_alpha_en = is_opaque(alpha_config->dst_glb_alpha_value) ? 0 : 1; in vop2_parse_alpha()1667 int src_color_mode = alpha_config->src_premulti_en ? in vop2_parse_alpha()1669 int dst_color_mode = alpha_config->dst_premulti_en ? in vop2_parse_alpha()1677 if (!alpha_config->src_pixel_alpha_en) in vop2_parse_alpha()1679 else if (alpha_config->src_pixel_alpha_en && !src_glb_alpha_en) in vop2_parse_alpha()1696 alpha->src_color_ctrl.bits.glb_alpha = alpha_config->src_glb_alpha_value >> 8; in vop2_parse_alpha()1703 alpha->dst_color_ctrl.bits.glb_alpha = alpha_config->dst_glb_alpha_value >> 8; in vop2_parse_alpha()1713 if (alpha_config->dst_pixel_alpha_en && !dst_glb_alpha_en) in vop2_parse_alpha()[all …]