Searched refs:vsub (Results 1 – 12 of 12) sorted by relevance
/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_fb.c | 111 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()
|
D | rockchip_drm_vop.c | 526 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/ |
D | msm_fb.c | 179 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/ |
D | drm_fb_cma_helper.c | 116 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()
|
D | drm_crtc.c | 3136 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/ |
D | fb.c | 136 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/ |
D | vsp1_video.h | 48 unsigned int vsub; member
|
D | vsp1_video.c | 237 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/ |
D | adf_client.c | 251 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()
|
D | adf.c | 1055 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/ |
D | atmel_hlcdc_plane.c | 557 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/ |
D | mdp5_plane.c | 533 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()
|