Home
last modified time | relevance | path

Searched refs:is_yuv (Results 1 – 25 of 31) sorted by relevance

12

/linux/drivers/gpu/drm/
A Ddrm_fourcc.c231 .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 Ddrm_fourcc.h140 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 Dmdp_kms.h89 bool is_yuv; member
92 #define MDP_FORMAT_IS_YUV(mdp_format) ((mdp_format)->is_yuv)
A Dmdp_format.c76 .is_yuv = yuv, \
/linux/drivers/gpu/drm/imx/dcss/
A Ddcss-plane.c109 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 Ddcss-scaler.c738 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 Ddcss-dpr.c463 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 Drockchip_drm_vop.c355 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 Drockchip_drm_vop.h391 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 Dvc4_plane.c388 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 Dvc4_drv.h392 bool is_yuv; member
/linux/drivers/gpu/drm/arm/
A Dmalidp_planes.c219 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 Dmalidp_mw.c175 if (fb->format->is_yuv) in malidp_mw_encoder_atomic_check()
/linux/drivers/gpu/drm/i915/display/
A Dintel_sprite.c154 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 Dintel_atomic.c341 plane_state->hw.fb->format->is_yuv && in intel_atomic_setup_scaler()
A Dskl_universal_plane.c967 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 Dsun4i_backend.c290 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 Dsun4i_frontend.c251 if (!format->is_yuv) in sun4i_frontend_drm_format_to_input_fmt()
466 if (format->is_yuv) { in sun4i_frontend_update_formats()
A Dsun8i_vi_layer.c246 if (!format->is_yuv) in sun8i_vi_layer_get_csc_mode()
292 if (!fmt->is_yuv) in sun8i_vi_layer_update_formats()
A Dsun8i_ui_layer.c206 if (ret || fmt->is_yuv) { in sun8i_ui_layer_update_formats()
/linux/drivers/gpu/drm/msm/disp/mdp5/
A Dmdp5_plane.c609 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 Dkomeda_pipeline_state.c859 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 Dkomeda_pipeline.h365 is_yuv : 1, member
/linux/drivers/gpu/drm/xlnx/
A Dzynqmp_disp.c789 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 Dmtk_disp_ovl.c211 if (state->fb->format->is_yuv && rotation != 0) in mtk_ovl_layer_check()

Completed in 58 milliseconds

12