Home
last modified time | relevance | path

Searched refs:vsub (Results 1 – 25 of 32) sorted by relevance

12

/drivers/gpu/drm/
Ddrm_fourcc.c160 …{ .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 …]
Ddrm_fb_cma_helper.c85 v_div = fb->format->vsub; in drm_fb_cma_get_gem_addr()
Ddrm_gem_framebuffer_helper.c158 unsigned int height = mode_cmd->height / (i ? info->vsub : 1); in drm_gem_fb_create_with_funcs()
/drivers/gpu/drm/sun4i/
Dsun8i_vi_scaler.c877 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()
Dsun8i_vi_layer.c106 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/
Dsun4i_v4l2.c31 .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()
Dsun4i_csi.h101 unsigned int vsub; member
/drivers/gpu/drm/omapdrm/
Domap_fb.c91 + (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/
Dkomeda_framebuffer.c222 (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/
Dvsp1_wpf.c466 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()
Dvsp1_pipe.h46 unsigned int vsub; member
Dvsp1_rpf.c279 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()
Dvsp1_video.c134 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/
Dcamss-video.c40 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/
Drockchip_drm_fb.c71 unsigned int height = mode_cmd->height / (i ? info->vsub : 1); in rockchip_user_fb_create()
Drockchip_drm_vop.c319 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/
Dexynos_drm_fb.c107 DIV_ROUND_UP(mode_cmd->height, info->vsub); in exynos_user_fb_create()
/drivers/gpu/drm/i915/display/
Dintel_sprite.c289 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/
Dipuv3-plane.c120 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/
Drcar_fdp1.c288 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/
Dmsm_fb.c173 unsigned int height = mode_cmd->height / (i ? info->vsub : 1); in msm_framebuffer_init()
/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c686 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/
Dfb.c142 unsigned int height = cmd->height / (i ? info->vsub : 1); in tegra_fb_create()
/drivers/gpu/drm/arm/
Dmalidp_planes.c234 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/
Darmada_plane.c58 y /= format->vsub; in armada_drm_plane_calc()

12