/drivers/gpu/drm/ |
D | drm_fourcc.c | 160 …{ .format = DRM_FORMAT_C8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info() 161 …mat = DRM_FORMAT_RGB332, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info() 162 …mat = DRM_FORMAT_BGR233, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info() 163 …at = DRM_FORMAT_XRGB4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info() 164 …at = DRM_FORMAT_XBGR4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info() 165 …at = DRM_FORMAT_RGBX4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info() 166 …at = DRM_FORMAT_BGRX4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info() 167 …T_ARGB4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = t… in __drm_format_info() 168 …T_ABGR4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = t… in __drm_format_info() 169 …T_RGBA4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = t… in __drm_format_info() [all …]
|
D | drm_fb_cma_helper.c | 85 v_div = fb->format->vsub; in drm_fb_cma_get_gem_addr()
|
D | drm_gem_framebuffer_helper.c | 158 unsigned int height = mode_cmd->height / (i ? info->vsub : 1); in drm_gem_fb_create_with_funcs()
|
/drivers/gpu/drm/sun4i/ |
D | sun8i_vi_scaler.c | 877 if (format->hsub == 1 && format->vsub == 1) { in sun8i_vi_scaler_set_coeff() 950 if (format->hsub == 2 && format->vsub == 2) { in sun8i_vi_scaler_setup() 962 if (format->hsub == 1 && format->vsub == 1) in sun8i_vi_scaler_setup() 986 src_h / format->vsub)); in sun8i_vi_scaler_setup() 992 vscale / format->vsub); in sun8i_vi_scaler_setup()
|
D | sun8i_vi_layer.c | 106 if (format->vsub > 1) { in sun8i_vi_layer_update_coord() 109 mask = format->vsub - 1; in sun8i_vi_layer_update_coord() 121 (state->src.y1 >> 16) & ~(format->vsub - 1)); in sun8i_vi_layer_update_coord() 134 subsampled = format->hsub > 1 || format->vsub > 1; in sun8i_vi_layer_update_coord() 278 src_y = (state->src.y1 >> 16) & ~(format->vsub - 1); in sun8i_vi_layer_update_buffer() 294 dy /= format->vsub; in sun8i_vi_layer_update_buffer()
|
/drivers/media/platform/sunxi/sun4i-csi/ |
D | sun4i_v4l2.c | 31 .vsub = 2, 120 height = ALIGN(pix->height, _fmt->vsub); in _sun4i_csi_try_fmt() 124 pix->height = clamp(height, _fmt->vsub, CSI_MAX_HEIGHT); in _sun4i_csi_try_fmt() 128 unsigned int vsub = i > 0 ? _fmt->vsub : 1; in _sun4i_csi_try_fmt() local 133 pix->plane_fmt[i].sizeimage = bpl * pix->height / vsub; in _sun4i_csi_try_fmt()
|
D | sun4i_csi.h | 101 unsigned int vsub; member
|
/drivers/gpu/drm/omapdrm/ |
D | omap_fb.c | 91 + (y * fb->pitches[n] / (n == 0 ? 1 : format->vsub)); in get_linear_addr() 395 unsigned int vsub = i == 0 ? 1 : format->vsub; in omap_framebuffer_init() local 398 size = pitch * mode_cmd->height / vsub; in omap_framebuffer_init()
|
/drivers/gpu/drm/arm/display/komeda/ |
D | komeda_framebuffer.c | 222 (src_y % info->vsub) || (src_h % info->vsub)) { in komeda_fb_check_src_coords() 257 plane_y = y / (plane ? fb->format->vsub : 1); in komeda_fb_get_pixel_addr()
|
/drivers/media/platform/vsp1/ |
D | vsp1_wpf.c | 466 unsigned int vsub = i > 0 ? fmtinfo->vsub : 1; in wpf_configure_partition() local 469 mem.addr[i] += offset / vsub in wpf_configure_partition() 492 offset = (height / fmtinfo->vsub - 1) in wpf_configure_partition()
|
D | vsp1_pipe.h | 46 unsigned int vsub; member
|
D | vsp1_rpf.c | 279 crop.height = round_down(crop.height / 2, fmtinfo->vsub); in rpf_configure_partition() 280 crop.top = round_down(crop.top / 2, fmtinfo->vsub); in rpf_configure_partition()
|
D | vsp1_video.c | 134 height = round_down(height, info->vsub); in __vsp1_video_try_format() 138 pix->height = clamp(height, info->vsub, VSP1_VIDEO_MAX_HEIGHT); in __vsp1_video_try_format() 147 unsigned int vsub = i > 0 ? info->vsub : 1; in __vsp1_video_try_format() local 157 * pix->height / vsub; in __vsp1_video_try_format()
|
/drivers/media/platform/qcom/camss/ |
D | camss-video.c | 40 struct fract vsub[3]; member 262 f->vsub[i].numerator * f->vsub[i].denominator * in video_mbus_to_pix_mp() 622 fi->vsub[i].numerator * fi->vsub[i].denominator * bpl; in __video_try_fmt()
|
/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_fb.c | 71 unsigned int height = mode_cmd->height / (i ? info->vsub : 1); in rockchip_user_fb_create()
|
D | rockchip_drm_vop.c | 319 uint16_t cbcr_src_h = src_h / info->vsub; in scl_vop_cal_scl_fac() 859 int vsub = fb->format->vsub; in vop_plane_atomic_update() local 866 offset += (src->y1 >> 16) * fb->pitches[1] / vsub; in vop_plane_atomic_update()
|
/drivers/gpu/drm/exynos/ |
D | exynos_drm_fb.c | 107 DIV_ROUND_UP(mode_cmd->height, info->vsub); in exynos_user_fb_create()
|
/drivers/gpu/drm/i915/display/ |
D | intel_sprite.c | 289 u32 src_x, src_y, src_w, src_h, hsub, vsub; in intel_plane_check_src_coordinates() local 314 vsub = fb->format->vsub; in intel_plane_check_src_coordinates() 316 hsub = vsub = max(fb->format->hsub, fb->format->vsub); in intel_plane_check_src_coordinates() 325 if (src_y % vsub || src_h % vsub) { in intel_plane_check_src_coordinates() 327 src_y, src_h, vsub, rotated ? "rotated " : ""); in intel_plane_check_src_coordinates()
|
/drivers/gpu/drm/imx/ |
D | ipuv3-plane.c | 120 y /= fb->format->vsub; in drm_plane_state_to_ubo() 139 y /= fb->format->vsub; in drm_plane_state_to_vbo() 475 ((state->src.y1 >> 16) & (fb->format->vsub - 1))) in ipu_plane_atomic_check()
|
/drivers/media/platform/ |
D | rcar_fdp1.c | 288 u8 vsub; member 1429 unsigned int vsub = i > 0 ? fmt->vsub : 1; in fdp1_compute_stride() local 1440 * pix->height / vsub; in fdp1_compute_stride() 1503 height = round_down(pix->height, fmt->vsub); in fdp1_try_fmt_output()
|
/drivers/gpu/drm/msm/ |
D | msm_fb.c | 173 unsigned int height = mode_cmd->height / (i ? info->vsub : 1); in msm_framebuffer_init()
|
/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_plane.c | 686 phasey_steps[COMP_1_2] = phasey_step / info->vsub; in calc_scaley_steps() 704 sub = horz ? info->hsub : info->vsub; in get_scale_config() 759 roi_h /= info->vsub; in mdp5_write_pixel_ext()
|
/drivers/gpu/drm/tegra/ |
D | fb.c | 142 unsigned int height = cmd->height / (i ? info->vsub : 1); in tegra_fb_create()
|
/drivers/gpu/drm/arm/ |
D | malidp_planes.c | 234 if ((info->hsub != 1) || (info->vsub != 1)) { in malidp_format_mod_supported() 244 if ((info->hsub == 1) || (info->vsub == 1)) { in malidp_format_mod_supported()
|
/drivers/gpu/drm/armada/ |
D | armada_plane.c | 58 y /= format->vsub; in armada_drm_plane_calc()
|