Searched refs:hsub (Results 1 – 11 of 11) sorted by relevance
| /linux/drivers/media/platform/sunxi/sun8i-rotate/ |
| H A D | sun8i_formats.c | 19 .hsub = 1, 27 .hsub = 1, 35 .hsub = 1, 43 .hsub = 1, 51 .hsub = 1, 59 .hsub = 1, 67 .hsub = 1, 75 .hsub = 1, 83 .hsub = 1, 91 .hsub = 1, [all …]
|
| H A D | sun8i-formats.h | 17 int hsub; member
|
| H A D | sun8i_rotate.c | 52 pitch[i] /= fmt->hsub / fmt->bpp[i]; in rotate_calc_addr_pitch() 185 width = ALIGN(pix_fmt->width, fmt->hsub); in rotate_prepare_format() 191 alignment *= fmt->hsub / fmt->bpp[1]; in rotate_prepare_format() 199 size /= fmt->hsub; in rotate_prepare_format() 251 fsize->stepwise.step_width = fmt->hsub; in rotate_enum_framesizes()
|
| /linux/drivers/gpu/drm/renesas/rz-du/ |
| H A D | rzg2l_du_kms.c | 42 .hsub = 1, 47 .hsub = 1, 52 .hsub = 1, 57 .hsub = 1, 66 .hsub = 1, 71 .hsub = 1, 76 .hsub = 1, 81 .hsub = 1, 86 .hsub = 1, 91 .hsub = 1, [all …]
|
| /linux/include/drm/ |
| H A D | drm_fourcc.h | 132 u8 hsub; member 200 return info->is_yuv && info->hsub == 4 && info->vsub == 4; in drm_format_info_is_yuv_sampling_410() 215 return info->is_yuv && info->hsub == 4 && info->vsub == 1; in drm_format_info_is_yuv_sampling_411() 230 return info->is_yuv && info->hsub == 2 && info->vsub == 2; in drm_format_info_is_yuv_sampling_420() 245 return info->is_yuv && info->hsub == 2 && info->vsub == 1; in drm_format_info_is_yuv_sampling_422() 260 return info->is_yuv && info->hsub == 1 && info->vsub == 1; in drm_format_info_is_yuv_sampling_444() 282 return DIV_ROUND_UP(width, info->hsub); in drm_format_info_plane_width()
|
| /linux/drivers/media/platform/sunxi/sun4i-csi/ |
| H A D | sun4i_v4l2.c | 30 .hsub = 2, 113 width = ALIGN(pix->width, _fmt->hsub); in _sun4i_csi_try_fmt() 117 pix->width = clamp(width, _fmt->hsub, CSI_MAX_WIDTH); in _sun4i_csi_try_fmt() 121 unsigned int hsub = i > 0 ? _fmt->hsub : 1; in _sun4i_csi_try_fmt() local 125 bpl = pix->width / hsub * _fmt->bpp[i] / 8; in _sun4i_csi_try_fmt()
|
| H A D | sun4i_csi.h | 101 unsigned int hsub; member
|
| /linux/drivers/gpu/drm/renesas/rcar-du/ |
| H A D | rcar_du_kms.h | 28 unsigned int hsub; member
|
| /linux/drivers/media/platform/renesas/ |
| H A D | rcar_fdp1.c | 287 u8 hsub; member 1425 unsigned int hsub = i > 0 ? fmt->hsub : 1; in fdp1_compute_stride() local 1432 pix->width / hsub * fmt->bpp[i] / 8, in fdp1_compute_stride() 1493 width = round_down(pix->width, fmt->hsub); in fdp1_try_fmt_output()
|
| /linux/drivers/gpu/drm/omapdrm/ |
| H A D | omap_fb.c | 94 + (x * format->cpp[n] / (n == 0 ? 1 : format->hsub)) in get_linear_addr()
|
| /linux/drivers/gpu/drm/tegra/ |
| H A D | plane.c | 264 bpp_plane /= fmt->hsub; in tegra_plane_calculate_memory_bandwidth()
|