Home
last modified time | relevance | path

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

/drivers/gpu/drm/rockchip/
Drockchip_drm_fb.c111 unsigned int vsub; in rockchip_user_fb_create() local
117 vsub = drm_format_vert_chroma_subsampling(mode_cmd->pixel_format); in rockchip_user_fb_create()
123 unsigned int height = mode_cmd->height / (i ? vsub : 1); in rockchip_user_fb_create()
Drockchip_drm_vop.c526 int vsub = drm_format_vert_chroma_subsampling(pixel_format); in scl_vop_cal_scl_fac() local
529 uint16_t cbcr_src_h = src_h / vsub; in scl_vop_cal_scl_fac()
894 int vsub = drm_format_vert_chroma_subsampling(fb->pixel_format); in vop_update_plane_event() local
906 offset += (src.y1 >> 16) * fb->pitches[1] / vsub; in vop_update_plane_event()
/drivers/gpu/drm/msm/
Dmsm_fb.c179 unsigned int hsub, vsub; in msm_framebuffer_init() local
187 vsub = drm_format_vert_chroma_subsampling(mode_cmd->pixel_format); in msm_framebuffer_init()
214 unsigned int height = mode_cmd->height / (i ? vsub : 1); in msm_framebuffer_init()
/drivers/gpu/drm/
Ddrm_fb_cma_helper.c116 unsigned int vsub; in drm_fb_cma_create() local
121 vsub = drm_format_vert_chroma_subsampling(mode_cmd->pixel_format); in drm_fb_cma_create()
125 unsigned int height = mode_cmd->height / (i ? vsub : 1); in drm_fb_cma_create()
Ddrm_crtc.c3136 int ret, hsub, vsub, num_planes, i; in framebuffer_check() local
3146 vsub = drm_format_vert_chroma_subsampling(r->pixel_format); in framebuffer_check()
3154 if (r->height == 0 || r->height % vsub) { in framebuffer_check()
3161 unsigned int height = r->height / (i != 0 ? vsub : 1); in framebuffer_check()
/drivers/gpu/drm/tegra/
Dfb.c136 unsigned int hsub, vsub, i; in tegra_fb_create() local
143 vsub = drm_format_vert_chroma_subsampling(cmd->pixel_format); in tegra_fb_create()
147 unsigned int height = cmd->height / (i ? vsub : 1); in tegra_fb_create()
/drivers/media/platform/vsp1/
Dvsp1_video.h48 unsigned int vsub; member
Dvsp1_video.c237 height = round_down(height, info->vsub); in __vsp1_video_try_format()
250 unsigned int vsub = i > 0 ? info->vsub : 1; in __vsp1_video_try_format() local
260 * pix->height / vsub; in __vsp1_video_try_format()
/drivers/video/adf/
Dadf_client.c251 u8 hsub, vsub, num_planes, cpp[ADF_MAX_PLANES], i; in adf_buffer_validate() local
264 vsub = adf_format_vert_chroma_subsampling(buf->format); in adf_buffer_validate()
269 return adf_format_validate_yuv(parent, buf, num_planes, hsub, vsub, in adf_buffer_validate()
Dadf.c1055 u8 num_planes, u8 hsub, u8 vsub, u8 cpp[]) in adf_format_validate_yuv() argument
1072 if (buf->h == 0 || buf->h % vsub) { in adf_format_validate_yuv()
1079 u32 height = buf->h / (i != 0 ? vsub : 1); in adf_format_validate_yuv()
/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c557 int vsub = 1; in atmel_hlcdc_plane_atomic_check() local
627 vsub = drm_format_vert_chroma_subsampling(fb->pixel_format); in atmel_hlcdc_plane_atomic_check()
632 int ydiv = i ? vsub : 1; in atmel_hlcdc_plane_atomic_check()
/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_plane.c533 unsigned int vsub; in calc_scaley_steps() local
542 vsub = drm_format_vert_chroma_subsampling(pixel_format); in calc_scaley_steps()
546 phasey_steps[COMP_1_2] = phasey_step / vsub; in calc_scaley_steps()