/linux/drivers/gpu/drm/ |
A D | drm_fourcc.c | 231 .hsub = 2, .vsub = 2, .is_yuv = true }, in __drm_format_info() 237 .hsub = 2, .vsub = 2, .is_yuv = true }, in __drm_format_info() 240 .hsub = 2, .vsub = 2, .is_yuv = true}, in __drm_format_info() 246 .hsub = 2, .vsub = 2, .is_yuv = true}, in __drm_format_info() 250 .vsub = 1, .is_yuv = true }, in __drm_format_info() 253 .is_yuv = true }, in __drm_format_info() 256 .is_yuv = true }, in __drm_format_info() 259 .is_yuv = true }, in __drm_format_info() 263 .vsub = 2, .is_yuv = true }, in __drm_format_info() 267 .vsub = 0, .is_yuv = true }, in __drm_format_info() [all …]
|
/linux/include/drm/ |
A D | drm_fourcc.h | 140 bool is_yuv; member 154 return info->is_yuv && info->num_planes == 1; in drm_format_info_is_yuv_packed() 168 return info->is_yuv && info->num_planes == 2; in drm_format_info_is_yuv_semiplanar() 182 return info->is_yuv && info->num_planes == 3; in drm_format_info_is_yuv_planar() 197 return info->is_yuv && info->hsub == 4 && info->vsub == 4; in drm_format_info_is_yuv_sampling_410() 212 return info->is_yuv && info->hsub == 4 && info->vsub == 1; in drm_format_info_is_yuv_sampling_411() 227 return info->is_yuv && info->hsub == 2 && info->vsub == 2; in drm_format_info_is_yuv_sampling_420() 242 return info->is_yuv && info->hsub == 2 && info->vsub == 1; in drm_format_info_is_yuv_sampling_422() 257 return info->is_yuv && info->hsub == 1 && info->vsub == 1; in drm_format_info_is_yuv_sampling_444()
|
/linux/drivers/gpu/drm/msm/disp/ |
A D | mdp_kms.h | 89 bool is_yuv; member 92 #define MDP_FORMAT_IS_YUV(mdp_format) ((mdp_format)->is_yuv)
|
A D | mdp_format.c | 76 .is_yuv = yuv, \
|
/linux/drivers/gpu/drm/imx/dcss/ |
A D | dcss-plane.c | 109 if (!format->is_yuv && linear_format) in dcss_plane_can_rotate() 112 else if (!format->is_yuv && in dcss_plane_can_rotate() 117 else if (format->is_yuv && linear_format && in dcss_plane_can_rotate() 222 if (!format->is_yuv || in dcss_plane_atomic_set_base()
|
A D | dcss-scaler.c | 738 if (format->is_yuv) in dcss_scaler_set_rgb10_order() 796 if (format->is_yuv) { in dcss_scaler_setup() 821 if (format->is_yuv) in dcss_scaler_setup()
|
A D | dcss-dpr.c | 463 if (!format->is_yuv) { in dcss_dpr_setup_components() 514 dcss_dpr_yuv_en(ch, format->is_yuv); in dcss_dpr_format_set()
|
/linux/drivers/gpu/drm/rockchip/ |
A D | rockchip_drm_vop.c | 355 bool is_yuv = false; in scl_vop_cal_scl_fac() local 363 if (info->is_yuv) in scl_vop_cal_scl_fac() 364 is_yuv = true; in scl_vop_cal_scl_fac() 376 if (is_yuv) { in scl_vop_cal_scl_fac() 388 if (is_yuv) { in scl_vop_cal_scl_fac() 434 if (is_yuv) { in scl_vop_cal_scl_fac() 822 if (fb->format->is_yuv && ((new_plane_state->src.x1 >> 16) % 2)) { in vop_plane_atomic_check() 827 if (fb->format->is_yuv && new_plane_state->rotation & DRM_MODE_REFLECT_Y) { in vop_plane_atomic_check() 903 int is_yuv = fb->format->is_yuv; in vop_plane_atomic_update() local 962 VOP_WIN_YUV2YUV_SET(vop, win_yuv2yuv, y2r_en, is_yuv); in vop_plane_atomic_update() [all …]
|
A D | rockchip_drm_vop.h | 391 static inline int scl_vop_cal_lb_mode(int width, bool is_yuv) in scl_vop_cal_lb_mode() argument 395 if (is_yuv) { in scl_vop_cal_lb_mode()
|
/linux/drivers/gpu/drm/vc4/ |
A D | vc4_plane.c | 388 vc4_state->is_yuv = true; in vc4_plane_setup_clipping_and_scaling() 409 vc4_state->is_yuv = false; in vc4_plane_setup_clipping_and_scaling() 469 if (!vc4_state->is_yuv) { in vc4_lbm_size() 973 if (vc4_state->is_yuv) { in vc4_plane_mode_set() 1182 vc4_state->is_yuv = new_vc4_state->is_yuv; in vc4_plane_atomic_async_update()
|
A D | vc4_drv.h | 392 bool is_yuv; member
|
/linux/drivers/gpu/drm/arm/ |
A D | malidp_planes.c | 219 if (!(info->is_yuv) != !!(modifier & AFBC_FORMAT_MOD_YTR)) { in malidp_format_mod_supported() 221 info->is_yuv ? "disallowed" : "mandatory", in malidp_format_mod_supported() 222 info->is_yuv ? "YUV" : "RGB"); in malidp_format_mod_supported() 227 if (!info->is_yuv) { in malidp_format_mod_supported()
|
A D | malidp_mw.c | 175 if (fb->format->is_yuv) in malidp_mw_encoder_atomic_check()
|
/linux/drivers/gpu/drm/i915/display/ |
A D | intel_sprite.c | 154 if (!fb->format->is_yuv) in chv_update_csc() 202 if (fb->format->is_yuv && in vlv_update_clrc() 407 if (!fb->format->is_yuv) in vlv_update_gamma() 985 if (!fb->format->is_yuv) in g4x_sprite_min_cdclk() 1119 if (!fb->format->is_yuv) in g4x_update_gamma() 1149 if (!fb->format->is_yuv) in ilk_update_gamma()
|
A D | intel_atomic.c | 341 plane_state->hw.fb->format->is_yuv && in intel_atomic_setup_scaler()
|
A D | skl_universal_plane.c | 967 if (fb->format->is_yuv && !icl_is_hdr_plane(dev_priv, plane->id)) { in glk_plane_color_ctl() 982 } else if (fb->format->is_yuv) { in glk_plane_color_ctl() 1111 if (fb->format->is_yuv && icl_is_hdr_plane(dev_priv, plane_id)) in skl_program_plane()
|
/linux/drivers/gpu/drm/sun4i/ |
A D | sun4i_backend.c | 290 if (fb->format->is_yuv) in sun4i_backend_update_layer_formats() 363 if (fb->format->is_yuv) in sun4i_backend_update_layer_buffer() 523 if (fb->format->is_yuv) { in sun4i_backend_atomic_check()
|
A D | sun4i_frontend.c | 251 if (!format->is_yuv) in sun4i_frontend_drm_format_to_input_fmt() 466 if (format->is_yuv) { in sun4i_frontend_update_formats()
|
A D | sun8i_vi_layer.c | 246 if (!format->is_yuv) in sun8i_vi_layer_get_csc_mode() 292 if (!fmt->is_yuv) in sun8i_vi_layer_update_formats()
|
A D | sun8i_ui_layer.c | 206 if (ret || fmt->is_yuv) { in sun8i_ui_layer_update_formats()
|
/linux/drivers/gpu/drm/msm/disp/mdp5/ |
A D | mdp5_plane.c | 609 bool scaling = format->is_yuv ? true : (src != dst); in get_scale_config() 612 bool yuv = format->is_yuv; in get_scale_config() 641 bool scaling = format->is_yuv ? true : (src != dst); in calc_pixel_ext() 671 if (format->is_yuv && i == COMP_1_2) { in mdp5_write_pixel_ext()
|
/linux/drivers/gpu/drm/arm/display/komeda/ |
A D | komeda_pipeline_state.c | 859 dflow->is_yuv = fb->format->is_yuv; in komeda_complete_data_flow_cfg() 1002 if ((overlap != 0) && dflow->is_yuv) { in komeda_split_data_flow() 1024 if ((overlap != 0) && dflow->is_yuv) { in komeda_split_data_flow()
|
A D | komeda_pipeline.h | 365 is_yuv : 1, member
|
/linux/drivers/gpu/drm/xlnx/ |
A D | zynqmp_disp.c | 789 if (layer->drm_fmt->is_yuv) { in zynqmp_disp_blend_layer_set_csc() 832 val = (layer->drm_fmt->is_yuv ? in zynqmp_disp_blend_layer_enable() 841 if (layer->drm_fmt->is_yuv) { in zynqmp_disp_blend_layer_enable()
|
/linux/drivers/gpu/drm/mediatek/ |
A D | mtk_disp_ovl.c | 211 if (state->fb->format->is_yuv && rotation != 0) in mtk_ovl_layer_check()
|