Searched refs:hsub (Results 1 – 12 of 12) sorted by relevance
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp5/ |
D | mdp5_smp.c | 218 int i, hsub, nplanes, nlines, nblks, ret; in mdp5_smp_request() local 222 hsub = drm_format_horz_chroma_subsampling(fmt); in mdp5_smp_request() 238 if (hdecim && (hsub > 1)) in mdp5_smp_request() 239 hsub = 1; in mdp5_smp_request() 246 fetch_stride = width * cpp / (i ? hsub : 1); in mdp5_smp_request()
|
D | mdp5_plane.c | 508 unsigned int hsub; in calc_scalex_steps() local 517 hsub = drm_format_horz_chroma_subsampling(pixel_format); in calc_scalex_steps() 521 phasex_steps[COMP_1_2] = phasex_step / hsub; in calc_scalex_steps()
|
/linux-4.4.14/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_fb.c | 110 unsigned int hsub; in rockchip_user_fb_create() local 116 hsub = drm_format_horz_chroma_subsampling(mode_cmd->pixel_format); in rockchip_user_fb_create() 122 unsigned int width = mode_cmd->width / (i ? hsub : 1); in rockchip_user_fb_create()
|
D | rockchip_drm_vop.c | 525 int hsub = drm_format_horz_chroma_subsampling(pixel_format); in scl_vop_cal_scl_fac() local 528 uint16_t cbcr_src_w = src_w / hsub; in scl_vop_cal_scl_fac() 893 int hsub = drm_format_horz_chroma_subsampling(fb->pixel_format); in vop_update_plane_event() local 905 offset = (src.x1 >> 16) * bpp / hsub; in vop_update_plane_event()
|
/linux-4.4.14/drivers/gpu/drm/msm/ |
D | msm_fb.c | 179 unsigned int hsub, vsub; in msm_framebuffer_init() local 186 hsub = drm_format_horz_chroma_subsampling(mode_cmd->pixel_format); in msm_framebuffer_init() 213 unsigned int width = mode_cmd->width / (i ? hsub : 1); in msm_framebuffer_init()
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_fb_cma_helper.c | 115 unsigned int hsub; in drm_fb_cma_create() local 120 hsub = drm_format_horz_chroma_subsampling(mode_cmd->pixel_format); in drm_fb_cma_create() 124 unsigned int width = mode_cmd->width / (i ? hsub : 1); in drm_fb_cma_create()
|
D | drm_crtc.c | 3138 int ret, hsub, vsub, num_planes, i; in framebuffer_check() local 3147 hsub = drm_format_horz_chroma_subsampling(r->pixel_format); in framebuffer_check() 3151 if (r->width == 0 || r->width % hsub) { in framebuffer_check() 3162 unsigned int width = r->width / (i != 0 ? hsub : 1); in framebuffer_check()
|
/linux-4.4.14/drivers/gpu/drm/tegra/ |
D | fb.c | 136 unsigned int hsub, vsub, i; in tegra_fb_create() local 142 hsub = drm_format_horz_chroma_subsampling(cmd->pixel_format); in tegra_fb_create() 146 unsigned int width = cmd->width / (i ? hsub : 1); in tegra_fb_create()
|
/linux-4.4.14/drivers/media/platform/vsp1/ |
D | vsp1_video.h | 47 unsigned int hsub; member
|
D | vsp1_video.c | 236 width = round_down(width, info->hsub); in __vsp1_video_try_format() 249 unsigned int hsub = i > 0 ? info->hsub : 1; in __vsp1_video_try_format() local 255 pix->width / hsub * info->bpp[i] / 8, in __vsp1_video_try_format()
|
/linux-4.4.14/drivers/gpu/drm/armada/ |
D | armada_overlay.c | 170 int i, num_planes, hsub; in armada_ovl_plane_update() local 185 hsub = drm_format_horz_chroma_subsampling(pixel_format); in armada_ovl_plane_update() 193 if (src_x & (hsub - 1) && num_planes == 1) in armada_ovl_plane_update()
|
/linux-4.4.14/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_plane.c | 554 int hsub = 1; in atmel_hlcdc_plane_atomic_check() local 624 hsub = drm_format_horz_chroma_subsampling(fb->pixel_format); in atmel_hlcdc_plane_atomic_check() 629 int xdiv = i ? hsub : 1; in atmel_hlcdc_plane_atomic_check()
|