/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_fourcc.c | 151 .char_per_block = { 1, }, .block_w = { 8, }, .block_h = { 1, }, .hsub = 1, .vsub = 1, .is_color_indexed = true }, in __drm_format_info() 153 .char_per_block = { 1, }, .block_w = { 4, }, .block_h = { 1, }, .hsub = 1, .vsub = 1, .is_color_indexed = true }, in __drm_format_info() 155 .char_per_block = { 1, }, .block_w = { 2, }, .block_h = { 1, }, .hsub = 1, .vsub = 1, .is_color_indexed = true }, in __drm_format_info() 156 { .format = DRM_FORMAT_C8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1, .is_color_indexed = true }, in __drm_format_info() 158 .char_per_block = { 1, }, .block_w = { 8, }, .block_h = { 1, }, .hsub = 1, .vsub = 1 }, in __drm_format_info() 160 .char_per_block = { 1, }, .block_w = { 4, }, .block_h = { 1, }, .hsub = 1, .vsub = 1 }, in __drm_format_info() 162 .char_per_block = { 1, }, .block_w = { 2, }, .block_h = { 1, }, .hsub = 1, .vsub = 1 }, in __drm_format_info() 163 { .format = DRM_FORMAT_D8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info() 165 .char_per_block = { 1, }, .block_w = { 8, }, .block_h = { 1, }, .hsub = 1, .vsub = 1 }, in __drm_format_info() 167 .char_per_block = { 1, }, .block_w = { 4, }, .block_h = { 1, }, .hsub in __drm_format_info() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_fourcc.c | 160 { .format = DRM_FORMAT_C8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info() 161 { .format = DRM_FORMAT_RGB332, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info() 162 { .format = DRM_FORMAT_BGR233, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info() 163 { .format = DRM_FORMAT_XRGB4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info() 164 { .format = DRM_FORMAT_XBGR4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info() 165 { .format = DRM_FORMAT_RGBX4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info() 166 { .format = DRM_FORMAT_BGRX4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info() 167 { .format = DRM_FORMAT_ARGB4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, in __drm_format_info() 168 { .format = DRM_FORMAT_ABGR4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, in __drm_format_info() 169 { .format = DRM_FORMAT_RGBA4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub in __drm_format_info() [all...] |
/kernel/linux/linux-5.10/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 [all...] |
H A D | sun8i-formats.h | 17 int hsub; member
|
/kernel/linux/linux-6.6/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 [all...] |
H A D | sun8i-formats.h | 17 int hsub; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/rcar-du/ |
H A D | rcar_du_kms.c | 43 .hsub = 1, 51 .hsub = 1, 66 .hsub = 1, 74 .hsub = 1, 82 .hsub = 2, 90 .hsub = 2, 98 .hsub = 2, 106 .hsub = 2, 114 .hsub = 2, 127 .hsub [all...] |
H A D | rcar_du_kms.h | 25 unsigned int hsub; member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/renesas/rcar-du/ |
H A D | rcar_du_kms.c | 47 .hsub = 1, 55 .hsub = 1, 70 .hsub = 1, 78 .hsub = 1, 86 .hsub = 2, 94 .hsub = 2, 102 .hsub = 2, 110 .hsub = 2, 118 .hsub = 2, 131 .hsub [all...] |
/kernel/linux/linux-5.10/include/drm/ |
H A D | drm_fourcc.h | 126 /** @hsub: Horizontal chroma subsampling factor */ 127 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 width / info->hsub; in drm_format_info_plane_width()
|
/kernel/linux/linux-6.6/include/drm/ |
H A D | drm_fourcc.h | 131 /** @hsub: Horizontal chroma subsampling factor */ 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 width / info->hsub; in drm_format_info_plane_width()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_fb.c | 34 .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, }, 36 .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, }, 38 .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, .has_alpha = true, }, 40 .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, .has_alpha = true, }, 53 .hsub = 1, .vsub = 1, }, 56 .hsub = 1, .vsub = 1, }, 59 .hsub = 1, .vsub = 1, .has_alpha = true }, 62 .hsub = 1, .vsub = 1, .has_alpha = true }, 65 .hsub = 2, .vsub = 1, .is_yuv = true }, 68 .hsub 851 intel_fb_plane_get_subsampling(int *hsub, int *vsub, const struct drm_framebuffer *fb, int color_plane) intel_fb_plane_get_subsampling() argument 900 int hsub, vsub; intel_fb_plane_dims() local 1145 int hsub, vsub; intel_fb_check_ccs_xy() local 1713 unsigned int hsub = i ? fb->format->hsub : 1; intel_plane_remap_gtt() local [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun4i-csi/ |
H A D | sun4i_v4l2.c | 30 .hsub = 2, 119 width = ALIGN(pix->width, _fmt->hsub); in _sun4i_csi_try_fmt() 123 pix->width = clamp(width, _fmt->hsub, CSI_MAX_WIDTH); in _sun4i_csi_try_fmt() 127 unsigned int hsub = i > 0 ? _fmt->hsub : 1; in _sun4i_csi_try_fmt() local 131 bpl = pix->width / hsub * _fmt->bpp[i] / 8; in _sun4i_csi_try_fmt()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/tidss/ |
H A D | tidss_plane.c | 67 if ((state->src_x >> 16) % finfo->hsub != 0) { in tidss_plane_atomic_check() 70 __func__, (state->src_x >> 16), finfo->hsub); in tidss_plane_atomic_check() 81 if ((state->src_w >> 16) % finfo->hsub != 0) { in tidss_plane_atomic_check() 84 __func__, (state->src_w >> 16), finfo->hsub); in tidss_plane_atomic_check()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/tidss/ |
H A D | tidss_plane.c | 73 if ((new_plane_state->src_x >> 16) % finfo->hsub != 0) { in tidss_plane_atomic_check() 76 __func__, (new_plane_state->src_x >> 16), finfo->hsub); in tidss_plane_atomic_check() 87 if ((new_plane_state->src_w >> 16) % finfo->hsub != 0) { in tidss_plane_atomic_check() 91 finfo->hsub); in tidss_plane_atomic_check()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_display.c | 583 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, }, 585 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, }, 587 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 590 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 593 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 596 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, }, 598 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, }, 600 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 603 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 606 .cpp = { 2, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_smp.c | 123 int i, hsub, nplanes, nlines; in mdp5_smp_calculate() local 127 hsub = info->hsub; in mdp5_smp_calculate() 142 if (hdecim && (hsub > 1)) in mdp5_smp_calculate() 143 hsub = 1; in mdp5_smp_calculate() 150 fetch_stride = width * cpp / (i ? hsub : 1); in mdp5_smp_calculate()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/ |
H A D | sun8i_vi_layer.c | 98 if (format->hsub > 1) { in sun8i_vi_layer_update_coord() 101 mask = format->hsub - 1; in sun8i_vi_layer_update_coord() 121 (state->src.x1 >> 16) & ~(format->hsub - 1), in sun8i_vi_layer_update_coord() 135 subsampled = format->hsub > 1 || format->vsub > 1; in sun8i_vi_layer_update_coord() 297 src_x = (state->src.x1 >> 16) & ~(format->hsub - 1); in sun8i_vi_layer_update_buffer() 313 dx /= format->hsub; in sun8i_vi_layer_update_buffer()
|
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/ |
H A D | vsp1_wpf.c | 465 unsigned int hsub = i > 0 ? fmtinfo->hsub : 1; in wpf_configure_partition() local 472 mem.addr[i] += offset / hsub in wpf_configure_partition() 507 unsigned int hsub = i > 0 ? fmtinfo->hsub : 1; in wpf_configure_partition() local 509 mem.addr[i] += hoffset / hsub in wpf_configure_partition()
|
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_wpf.c | 465 unsigned int hsub = i > 0 ? fmtinfo->hsub : 1; in wpf_configure_partition() local 472 mem.addr[i] += offset / hsub in wpf_configure_partition() 507 unsigned int hsub = i > 0 ? fmtinfo->hsub : 1; in wpf_configure_partition() local 509 mem.addr[i] += hoffset / hsub in wpf_configure_partition()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_smp.c | 123 int i, hsub, nplanes, nlines; in mdp5_smp_calculate() local 127 hsub = info->hsub; in mdp5_smp_calculate() 142 if (hdecim && (hsub > 1)) in mdp5_smp_calculate() 143 hsub = 1; in mdp5_smp_calculate() 150 fetch_stride = width * cpp / (i ? hsub : 1); in mdp5_smp_calculate()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/sun4i/ |
H A D | sun8i_vi_layer.c | 129 if (format->hsub > 1) { in sun8i_vi_layer_update_coord() 132 mask = format->hsub - 1; in sun8i_vi_layer_update_coord() 152 (state->src.x1 >> 16) & ~(format->hsub - 1), in sun8i_vi_layer_update_coord() 166 subsampled = format->hsub > 1 || format->vsub > 1; in sun8i_vi_layer_update_coord() 320 src_x = (state->src.x1 >> 16) & ~(format->hsub - 1); in sun8i_vi_layer_update_buffer() 336 dx /= format->hsub; in sun8i_vi_layer_update_buffer()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_framebuffer.c | 221 if ((src_x % info->hsub) || (src_w % info->hsub) || in komeda_fb_check_src_coords() 256 plane_x = x / (plane ? fb->format->hsub : 1); in komeda_fb_get_pixel_addr()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_framebuffer.c | 221 if ((src_x % info->hsub) || (src_w % info->hsub) || in komeda_fb_check_src_coords() 256 plane_x = x / (plane ? fb->format->hsub : 1); in komeda_fb_get_pixel_addr()
|