/linux/drivers/gpu/drm/ |
H A D | drm_fourcc.c | 232 …_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/include/drm/ |
H A D | drm_fourcc.h | 141 bool is_yuv; member 158 return info->is_yuv && info->num_planes == 1; in drm_format_info_is_yuv_packed() 172 return info->is_yuv && info->num_planes == 2; in drm_format_info_is_yuv_semiplanar() 186 return info->is_yuv && info->num_planes == 3; in drm_format_info_is_yuv_planar() 201 return info->is_yuv && info->hsub == 4 && info->vsub == 4; in drm_format_info_is_yuv_sampling_410() 216 return info->is_yuv && info->hsub == 4 && info->vsub == 1; in drm_format_info_is_yuv_sampling_411() 231 return info->is_yuv && info->hsub == 2 && info->vsub == 2; in drm_format_info_is_yuv_sampling_420() 246 return info->is_yuv && info->hsub == 2 && info->vsub == 1; in drm_format_info_is_yuv_sampling_422() 261 return info->is_yuv && info->hsub == 1 && info->vsub == 1; in drm_format_info_is_yuv_sampling_444()
|
/linux/drivers/gpu/drm/imx/dcss/ |
H A D | dcss-plane.c | 111 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()
|
H A D | dcss-scaler.c | 723 if (format->is_yuv) in dcss_scaler_set_rgb10_order() 781 if (format->is_yuv) { in dcss_scaler_setup() 806 if (format->is_yuv) in dcss_scaler_setup()
|
H A D | dcss-dpr.c | 448 if (!format->is_yuv) { in dcss_dpr_setup_components() 499 dcss_dpr_yuv_en(ch, format->is_yuv); in dcss_dpr_format_set()
|
/linux/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_vop.c | 388 bool is_yuv = false; in scl_vop_cal_scl_fac() local 396 if (info->is_yuv) in scl_vop_cal_scl_fac() 397 is_yuv = true; in scl_vop_cal_scl_fac() 409 if (is_yuv) { in scl_vop_cal_scl_fac() 421 if (is_yuv) { in scl_vop_cal_scl_fac() 467 if (is_yuv) { in scl_vop_cal_scl_fac() 852 if (fb->format->is_yuv && ((new_plane_state->src.x1 >> 16) % 2)) { in vop_plane_atomic_check() 857 if (fb->format->is_yuv && new_plane_state->rotation & DRM_MODE_REFLECT_Y) { in vop_plane_atomic_check() 934 int is_yuv = fb->format->is_yuv; in vop_plane_atomic_update() local 999 VOP_WIN_YUV2YUV_SET(vop, win_yuv2yuv, y2r_en, is_yuv); in vop_plane_atomic_update() [all …]
|
H A D | rockchip_drm_vop.h | 404 static inline int scl_vop_cal_lb_mode(int width, bool is_yuv) in scl_vop_cal_lb_mode() argument 408 if (is_yuv) { in scl_vop_cal_lb_mode()
|
H A D | rockchip_drm_vop2.c | 767 if (info->is_yuv) { in vop2_setup_scale() 858 int is_input_yuv = pstate->fb->format->is_yuv; in vop2_setup_csc_mode() 1118 if (fb->format->is_yuv && ((pstate->src.x1 >> 16) % 2)) { in vop2_plane_atomic_check() 1158 if (!(color_key & VOP2_COLOR_KEY_MASK) || fb->format->is_yuv) { in vop2_plane_setup_color_key() 1255 if (fb->format->is_yuv) { in vop2_plane_atomic_update() 1357 if (fb->format->is_yuv && bpp == 10) in vop2_plane_atomic_update() 1416 if (fb->format->is_yuv) { in vop2_plane_atomic_update()
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_fb.c | 71 .hsub = 2, .vsub = 1, .is_yuv = true }, 74 .hsub = 2, .vsub = 1, .is_yuv = true }, 77 .hsub = 2, .vsub = 1, .is_yuv = true }, 80 .hsub = 2, .vsub = 1, .is_yuv = true }, 83 .hsub = 1, .vsub = 1, .is_yuv = true }, 86 .hsub = 2, .vsub = 2, .is_yuv = true }, 89 .hsub = 2, .vsub = 2, .is_yuv = true }, 92 .hsub = 2, .vsub = 2, .is_yuv = true }, 95 .hsub = 2, .vsub = 2, .is_yuv = true }, 547 if (!info->is_yuv) in format_is_yuv_semiplanar()
|
H A D | intel_sprite.c | 100 if (!fb->format->is_yuv) in chv_sprite_update_csc() 148 if (fb->format->is_yuv && in vlv_sprite_update_clrc() 368 if (!fb->format->is_yuv) in vlv_sprite_update_gamma() 948 if (!fb->format->is_yuv) in g4x_sprite_min_cdclk() 1089 if (!fb->format->is_yuv) in g4x_sprite_update_gamma() 1119 if (!fb->format->is_yuv) in ilk_sprite_update_gamma()
|
/linux/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-resizer.c | 478 bool is_yuv; in rkisp1_rsz_set_sink_fmt() local 509 is_yuv = mbus_info->pixel_enc == V4L2_PIXEL_ENC_YUV; in rkisp1_rsz_set_sink_fmt() 512 (is_yuv ? V4L2_COLORSPACE_SRGB : in rkisp1_rsz_set_sink_fmt() 516 if (is_yuv) { in rkisp1_rsz_set_sink_fmt()
|
H A D | rkisp1-isp.c | 763 bool is_yuv; in rkisp1_isp_set_sink_fmt() local 788 is_yuv = mbus_info->pixel_enc == V4L2_PIXEL_ENC_YUV; in rkisp1_isp_set_sink_fmt() 791 (is_yuv ? V4L2_COLORSPACE_SRGB : in rkisp1_isp_set_sink_fmt() 795 if (is_yuv) { in rkisp1_isp_set_sink_fmt()
|
/linux/drivers/gpu/drm/arm/ |
H A D | malidp_planes.c | 212 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()
|
H A D | malidp_mw.c | 180 if (fb->format->is_yuv) in malidp_mw_encoder_atomic_check()
|
/linux/drivers/gpu/drm/vc4/ |
H A D | vc4_plane.c | 493 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()
|
H A D | vc4_drv.h | 415 bool is_yuv; member
|
/linux/drivers/gpu/drm/sun4i/ |
H A D | sun4i_backend.c | 273 if (fb->format->is_yuv) in sun4i_backend_update_layer_formats() 346 if (fb->format->is_yuv) in sun4i_backend_update_layer_buffer() 506 if (fb->format->is_yuv) { in sun4i_backend_atomic_check()
|
H A D | sun4i_frontend.c | 250 if (!format->is_yuv) in sun4i_frontend_drm_format_to_input_fmt() 465 if (format->is_yuv) { in sun4i_frontend_update_formats()
|
H A D | sun8i_vi_layer.c | 198 if (!format->is_yuv) in sun8i_vi_layer_get_csc_mode() 244 if (!fmt->is_yuv) in sun8i_vi_layer_update_formats()
|
H A D | sun8i_ui_layer.c | 128 if (ret || fmt->is_yuv) { in sun8i_ui_layer_update_formats()
|
/linux/drivers/gpu/drm/xlnx/ |
H 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/ |
H A D | mtk_mdp_rdma.c | 184 bool csc_enable = fmt_info->is_yuv ? true : false; in mtk_mdp_rdma_config()
|
/linux/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_pipeline.h | 365 is_yuv : 1, member
|
/linux/drivers/gpu/drm/omapdrm/ |
H A D | omap_fb.c | 233 if (fb->format->is_yuv) { in omap_framebuffer_update_scanout()
|
H A D | omap_plane.c | 275 bool is_fourcc_yuv = new_plane_state->fb->format->is_yuv; in omap_plane_atomic_check()
|