Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/
Ddrm_fourcc.c108 …{ .format = DRM_FORMAT_C8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info()
109 …mat = DRM_FORMAT_RGB332, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info()
110 …mat = DRM_FORMAT_BGR233, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info()
111 …at = DRM_FORMAT_XRGB4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info()
112 …at = DRM_FORMAT_XBGR4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info()
113 …at = DRM_FORMAT_RGBX4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info()
114 …at = DRM_FORMAT_BGRX4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info()
115 …T_ARGB4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = t… in __drm_format_info()
116 …T_ABGR4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = t… in __drm_format_info()
117 …T_RGBA4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = t… in __drm_format_info()
[all …]
Ddrm_gem_framebuffer_helper.c162 unsigned int height = mode_cmd->height / (i ? info->vsub : 1); in drm_gem_fb_create_with_funcs()
Ddrm_framebuffer.c157 return DIV_ROUND_UP(height, format->vsub); in fb_plane_height()
/Linux-v4.19/drivers/gpu/drm/sun4i/
Dsun8i_vi_scaler.c867 if (format->hsub == 1 && format->vsub == 1) { in sun8i_vi_scaler_set_coeff()
934 if (format->hsub == 2 && format->vsub == 2) { in sun8i_vi_scaler_setup()
958 src_h / format->vsub)); in sun8i_vi_scaler_setup()
964 vscale / format->vsub); in sun8i_vi_scaler_setup()
Dsun8i_vi_layer.c100 if (format->vsub > 1) { in sun8i_vi_layer_update_coord()
103 mask = format->vsub - 1; in sun8i_vi_layer_update_coord()
115 (state->src.y1 >> 16) & ~(format->vsub - 1)); in sun8i_vi_layer_update_coord()
128 subsampled = format->hsub > 1 || format->vsub > 1; in sun8i_vi_layer_update_coord()
211 src_y = (state->src.y1 >> 16) & ~(format->vsub - 1); in sun8i_vi_layer_update_buffer()
227 dy /= format->vsub; in sun8i_vi_layer_update_buffer()
/Linux-v4.19/drivers/gpu/drm/rockchip/
Drockchip_drm_fb.c81 unsigned int vsub; in rockchip_user_fb_create() local
87 vsub = drm_format_vert_chroma_subsampling(mode_cmd->pixel_format); in rockchip_user_fb_create()
93 unsigned int height = mode_cmd->height / (i ? vsub : 1); in rockchip_user_fb_create()
Drockchip_drm_vop.c288 int vsub = drm_format_vert_chroma_subsampling(pixel_format); in scl_vop_cal_scl_fac() local
292 uint16_t cbcr_src_h = src_h / vsub; in scl_vop_cal_scl_fac()
766 int vsub = drm_format_vert_chroma_subsampling(fb->format->format); in vop_plane_atomic_update() local
773 offset += (src->y1 >> 16) * fb->pitches[1] / vsub; in vop_plane_atomic_update()
/Linux-v4.19/drivers/gpu/drm/msm/
Dmsm_fb.c144 unsigned int hsub, vsub; in msm_framebuffer_init() local
152 vsub = drm_format_vert_chroma_subsampling(mode_cmd->pixel_format); in msm_framebuffer_init()
180 unsigned int height = mode_cmd->height / (i ? vsub : 1); in msm_framebuffer_init()
/Linux-v4.19/drivers/gpu/drm/omapdrm/
Domap_fb.c83 + (y * fb->pitches[n] / (n == 0 ? 1 : format->vsub)); in get_linear_addr()
385 unsigned int vsub = i == 0 ? 1 : format->vsub; in omap_framebuffer_init() local
388 size = pitch * mode_cmd->height / vsub; in omap_framebuffer_init()
/Linux-v4.19/arch/arm/crypto/
Dspeck-neon-core.S166 vsub.u\n X0, Y0
167 vsub.u\n X1, Y1
168 vsub.u\n X2, Y2
169 vsub.u\n X3, Y3
/Linux-v4.19/include/drm/
Ddrm_fourcc.h50 u8 vsub; member
/Linux-v4.19/drivers/media/platform/vsp1/
Dvsp1_wpf.c421 unsigned int vsub = i > 0 ? fmtinfo->vsub : 1; in wpf_configure_partition() local
424 mem.addr[i] += offset / vsub in wpf_configure_partition()
447 offset = (height / fmtinfo->vsub - 1) in wpf_configure_partition()
Dvsp1_pipe.h46 unsigned int vsub; member
Dvsp1_rpf.c278 crop.height = round_down(crop.height / 2, fmtinfo->vsub); in rpf_configure_partition()
279 crop.top = round_down(crop.top / 2, fmtinfo->vsub); in rpf_configure_partition()
Dvsp1_video.c136 height = round_down(height, info->vsub); in __vsp1_video_try_format()
150 unsigned int vsub = i > 0 ? info->vsub : 1; in __vsp1_video_try_format() local
160 * pix->height / vsub; in __vsp1_video_try_format()
/Linux-v4.19/drivers/gpu/drm/tegra/
Dfb.c133 unsigned int hsub, vsub, i; in tegra_fb_create() local
140 vsub = drm_format_vert_chroma_subsampling(cmd->pixel_format); in tegra_fb_create()
144 unsigned int height = cmd->height / (i ? vsub : 1); in tegra_fb_create()
/Linux-v4.19/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()
/Linux-v4.19/drivers/gpu/drm/exynos/
Dexynos_drm_fb.c110 DIV_ROUND_UP(mode_cmd->height, info->vsub); in exynos_user_fb_create()
Dexynos_drm_ipp.c351 DIV_ROUND_UP(buf->buf.height, buf->format->vsub); in exynos_drm_ipp_task_setup_buffer()
/Linux-v4.19/drivers/gpu/drm/imx/
Dipuv3-plane.c356 int hsub, vsub; in ipu_plane_atomic_check() local
476 vsub = drm_format_vert_chroma_subsampling(fb->format->format); in ipu_plane_atomic_check()
478 ((state->src.y1 >> 16) & (vsub - 1))) in ipu_plane_atomic_check()
/Linux-v4.19/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c612 int vsub = 1; in atmel_hlcdc_plane_atomic_check() local
682 vsub = drm_format_vert_chroma_subsampling(fb->format->format); in atmel_hlcdc_plane_atomic_check()
687 int ydiv = i ? vsub : 1; in atmel_hlcdc_plane_atomic_check()
/Linux-v4.19/drivers/media/platform/
Drcar_fdp1.c286 u8 vsub; member
1427 unsigned int vsub = i > 0 ? fmt->vsub : 1; in fdp1_compute_stride() local
1438 * pix->height / vsub; in fdp1_compute_stride()
1501 height = round_down(pix->height, fmt->vsub); in fdp1_try_fmt_output()
/Linux-v4.19/drivers/gpu/drm/armada/
Darmada_plane.c59 y /= format->vsub; in armada_drm_plane_calc()
/Linux-v4.19/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c683 unsigned int vsub; in calc_scaley_steps() local
692 vsub = drm_format_vert_chroma_subsampling(pixel_format); in calc_scaley_steps()
696 phasey_steps[COMP_1_2] = phasey_step / vsub; in calc_scaley_steps()
/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_display.c2443 …{ .format = DRM_FORMAT_XRGB8888, .depth = 24, .num_planes = 2, .cpp = { 4, 1, }, .hsub = 8, .vsub
2444 …{ .format = DRM_FORMAT_XBGR8888, .depth = 24, .num_planes = 2, .cpp = { 4, 1, }, .hsub = 8, .vsub
2445 …{ .format = DRM_FORMAT_ARGB8888, .depth = 32, .num_planes = 2, .cpp = { 4, 1, }, .hsub = 8, .vsub
2446 …{ .format = DRM_FORMAT_ABGR8888, .depth = 32, .num_planes = 2, .cpp = { 4, 1, }, .hsub = 8, .vsub
2510 int vsub = fb->format->vsub; in intel_fill_fb_info() local
2517 tile_height *= vsub; in intel_fill_fb_info()
2520 ccs_y = (y * vsub) % tile_height; in intel_fill_fb_info()
2946 int vsub = fb->format->vsub; in skl_check_main_ccs_coordinates() local
2962 y = aux_y / vsub; in skl_check_main_ccs_coordinates()
2966 aux_y = y * vsub + aux_y % vsub; in skl_check_main_ccs_coordinates()
[all …]