Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/gpu/drm/
Ddrm_fourcc.c232 …_YUV410, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 4, .vsub = 4, .is_yuv = true }, in __drm_format_info()
233 …_YVU410, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 4, .vsub = 4, .is_yuv = true }, in __drm_format_info()
234 …_YUV411, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 4, .vsub = 1, .is_yuv = true }, in __drm_format_info()
235 …_YVU411, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 4, .vsub = 1, .is_yuv = true }, in __drm_format_info()
236 …_YUV420, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 2, .vsub = 2, .is_yuv = true }, in __drm_format_info()
237 …_YVU420, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 2, .vsub = 2, .is_yuv = true }, in __drm_format_info()
238 …_YUV422, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 2, .vsub = 1, .is_yuv = true }, in __drm_format_info()
239 …_YVU422, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 2, .vsub = 1, .is_yuv = true }, in __drm_format_info()
240 …_YUV444, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 1, .vsub = 1, .is_yuv = true }, in __drm_format_info()
241 …_YVU444, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 1, .vsub = 1, .is_yuv = true }, in __drm_format_info()
[all …]
/linux-6.6.21/include/drm/
Ddrm_fourcc.h140 bool is_yuv; member
157 return info->is_yuv && info->num_planes == 1; in drm_format_info_is_yuv_packed()
171 return info->is_yuv && info->num_planes == 2; in drm_format_info_is_yuv_semiplanar()
185 return info->is_yuv && info->num_planes == 3; in drm_format_info_is_yuv_planar()
200 return info->is_yuv && info->hsub == 4 && info->vsub == 4; in drm_format_info_is_yuv_sampling_410()
215 return info->is_yuv && info->hsub == 4 && info->vsub == 1; in drm_format_info_is_yuv_sampling_411()
230 return info->is_yuv && info->hsub == 2 && info->vsub == 2; in drm_format_info_is_yuv_sampling_420()
245 return info->is_yuv && info->hsub == 2 && info->vsub == 1; in drm_format_info_is_yuv_sampling_422()
260 return info->is_yuv && info->hsub == 1 && info->vsub == 1; in drm_format_info_is_yuv_sampling_444()
/linux-6.6.21/drivers/gpu/drm/msm/disp/
Dmdp_kms.h89 bool is_yuv; member
92 #define MDP_FORMAT_IS_YUV(mdp_format) ((mdp_format)->is_yuv)
Dmdp_format.c78 .is_yuv = yuv, \
/linux-6.6.21/drivers/gpu/drm/imx/dcss/
Ddcss-plane.c111 if (!format->is_yuv && linear_format) in dcss_plane_can_rotate()
114 else if (!format->is_yuv && in dcss_plane_can_rotate()
119 else if (format->is_yuv && linear_format && in dcss_plane_can_rotate()
224 if (!format->is_yuv || in dcss_plane_atomic_set_base()
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()
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-6.6.21/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.c373 bool is_yuv = false; in scl_vop_cal_scl_fac() local
381 if (info->is_yuv) in scl_vop_cal_scl_fac()
382 is_yuv = true; in scl_vop_cal_scl_fac()
394 if (is_yuv) { in scl_vop_cal_scl_fac()
406 if (is_yuv) { in scl_vop_cal_scl_fac()
452 if (is_yuv) { in scl_vop_cal_scl_fac()
842 if (fb->format->is_yuv && ((new_plane_state->src.x1 >> 16) % 2)) { in vop_plane_atomic_check()
847 if (fb->format->is_yuv && new_plane_state->rotation & DRM_MODE_REFLECT_Y) { in vop_plane_atomic_check()
924 int is_yuv = fb->format->is_yuv; in vop_plane_atomic_update() local
983 VOP_WIN_YUV2YUV_SET(vop, win_yuv2yuv, y2r_en, is_yuv); in vop_plane_atomic_update()
[all …]
Drockchip_drm_vop.h414 static inline int scl_vop_cal_lb_mode(int width, bool is_yuv) in scl_vop_cal_lb_mode() argument
418 if (is_yuv) { in scl_vop_cal_lb_mode()
Drockchip_drm_vop2.c668 if (info->is_yuv) { in vop2_setup_scale()
759 int is_input_yuv = pstate->fb->format->is_yuv; in vop2_setup_csc_mode()
998 if (fb->format->is_yuv && ((pstate->src.x1 >> 16) % 2)) { in vop2_plane_atomic_check()
1038 if (!(color_key & VOP2_COLOR_KEY_MASK) || fb->format->is_yuv) { in vop2_plane_setup_color_key()
1134 if (fb->format->is_yuv) { in vop2_plane_atomic_update()
1233 if (fb->format->is_yuv && bpp == 10) in vop2_plane_atomic_update()
1282 if (fb->format->is_yuv) { in vop2_plane_atomic_update()
/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_fb.c65 .hsub = 2, .vsub = 1, .is_yuv = true },
68 .hsub = 2, .vsub = 1, .is_yuv = true },
71 .hsub = 2, .vsub = 1, .is_yuv = true },
74 .hsub = 2, .vsub = 1, .is_yuv = true },
77 .hsub = 1, .vsub = 1, .is_yuv = true },
80 .hsub = 2, .vsub = 2, .is_yuv = true },
83 .hsub = 2, .vsub = 2, .is_yuv = true },
86 .hsub = 2, .vsub = 2, .is_yuv = true },
89 .hsub = 2, .vsub = 2, .is_yuv = true },
467 if (!info->is_yuv) in format_is_yuv_semiplanar()
Dintel_sprite.c94 if (!fb->format->is_yuv) in chv_sprite_update_csc()
142 if (fb->format->is_yuv && in vlv_sprite_update_clrc()
347 if (!fb->format->is_yuv) in vlv_sprite_update_gamma()
921 if (!fb->format->is_yuv) in g4x_sprite_min_cdclk()
1055 if (!fb->format->is_yuv) in g4x_sprite_update_gamma()
1085 if (!fb->format->is_yuv) in ilk_sprite_update_gamma()
/linux-6.6.21/drivers/media/platform/rockchip/rkisp1/
Drkisp1-resizer.c520 bool is_yuv; in rkisp1_rsz_set_sink_fmt() local
556 is_yuv = mbus_info->pixel_enc == V4L2_PIXEL_ENC_YUV; in rkisp1_rsz_set_sink_fmt()
559 (is_yuv ? V4L2_COLORSPACE_SRGB : in rkisp1_rsz_set_sink_fmt()
563 if (is_yuv) { in rkisp1_rsz_set_sink_fmt()
Drkisp1-isp.c669 bool is_yuv; in rkisp1_isp_set_sink_fmt() local
697 is_yuv = mbus_info->pixel_enc == V4L2_PIXEL_ENC_YUV; in rkisp1_isp_set_sink_fmt()
700 (is_yuv ? V4L2_COLORSPACE_SRGB : in rkisp1_isp_set_sink_fmt()
704 if (is_yuv) { in rkisp1_isp_set_sink_fmt()
/linux-6.6.21/drivers/gpu/drm/arm/
Dmalidp_planes.c212 if (!(info->is_yuv) != !!(modifier & AFBC_FORMAT_MOD_YTR)) { in malidp_format_mod_supported()
214 info->is_yuv ? "disallowed" : "mandatory", in malidp_format_mod_supported()
215 info->is_yuv ? "YUV" : "RGB"); in malidp_format_mod_supported()
220 if (!info->is_yuv) { in malidp_format_mod_supported()
Dmalidp_mw.c177 if (fb->format->is_yuv) in malidp_mw_encoder_atomic_check()
/linux-6.6.21/drivers/gpu/drm/sun4i/
Dsun4i_backend.c271 if (fb->format->is_yuv) in sun4i_backend_update_layer_formats()
344 if (fb->format->is_yuv) in sun4i_backend_update_layer_buffer()
504 if (fb->format->is_yuv) { in sun4i_backend_atomic_check()
Dsun4i_frontend.c250 if (!format->is_yuv) in sun4i_frontend_drm_format_to_input_fmt()
465 if (format->is_yuv) { in sun4i_frontend_update_formats()
Dsun8i_vi_layer.c247 if (!format->is_yuv) in sun8i_vi_layer_get_csc_mode()
293 if (!fmt->is_yuv) in sun8i_vi_layer_update_formats()
Dsun8i_ui_layer.c177 if (ret || fmt->is_yuv) { in sun8i_ui_layer_update_formats()
/linux-6.6.21/drivers/gpu/drm/vc4/
Dvc4_plane.c493 vc4_state->is_yuv = true; in vc4_plane_setup_clipping_and_scaling()
514 vc4_state->is_yuv = false; in vc4_plane_setup_clipping_and_scaling()
574 if (!vc4_state->is_yuv) { in vc4_lbm_size()
1189 if (vc4_state->is_yuv) { in vc4_plane_mode_set()
1425 vc4_state->is_yuv = new_vc4_state->is_yuv; in vc4_plane_atomic_async_update()
/linux-6.6.21/drivers/gpu/drm/xlnx/
Dzynqmp_disp.c731 if (layer->drm_fmt->is_yuv) { in zynqmp_disp_blend_layer_set_csc()
774 val = (layer->drm_fmt->is_yuv ? in zynqmp_disp_blend_layer_enable()
783 if (layer->drm_fmt->is_yuv) { in zynqmp_disp_blend_layer_enable()
/linux-6.6.21/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c640 bool scaling = format->is_yuv ? true : (src != dst); in get_scale_config()
643 bool yuv = format->is_yuv; in get_scale_config()
672 bool scaling = format->is_yuv ? true : (src != dst); in calc_pixel_ext()
702 if (format->is_yuv && i == COMP_1_2) { in mdp5_write_pixel_ext()
/linux-6.6.21/drivers/gpu/drm/arm/display/komeda/
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()
/linux-6.6.21/drivers/gpu/drm/mediatek/
Dmtk_mdp_rdma.c184 bool csc_enable = fmt_info->is_yuv ? true : false; in mtk_mdp_rdma_config()

12