Searched refs:hsub (Results 1 – 10 of 10) sorted by relevance
/linux-4.1.27/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()
|
/linux-4.1.27/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.1.27/drivers/gpu/drm/msm/mdp/mdp5/ |
D | mdp5_smp.c | 187 int i, hsub, nplanes, nlines, nblks, ret; in mdp5_smp_request() local 190 hsub = drm_format_horz_chroma_subsampling(fmt); in mdp5_smp_request() 199 fetch_stride = width * cpp / (i ? hsub : 1); in mdp5_smp_request()
|
D | mdp5_plane.c | 372 unsigned int hsub; in calc_scalex_steps() local 379 hsub = drm_format_horz_chroma_subsampling(pixel_format); in calc_scalex_steps() 382 phasex_steps[1] = phasex_step / hsub; in calc_scalex_steps()
|
/linux-4.1.27/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.1.27/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 | 3261 int ret, hsub, vsub, num_planes, i; in framebuffer_check() local 3270 hsub = drm_format_horz_chroma_subsampling(r->pixel_format); in framebuffer_check() 3274 if (r->width == 0 || r->width % hsub) { in framebuffer_check() 3285 unsigned int width = r->width / (i != 0 ? hsub : 1); in framebuffer_check()
|
/linux-4.1.27/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.1.27/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()
|