/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 = 1, .vsub 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 = 1, .vsub in __drm_format_info() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun8i-rotate/ |
H A D | sun8i_formats.c | 20 .vsub = 1, 28 .vsub = 1, 36 .vsub = 1, 44 .vsub = 1, 52 .vsub = 1, 60 .vsub = 1, 68 .vsub = 1, 76 .vsub = 1, 84 .vsub = 1, 92 .vsub [all...] |
H A D | sun8i-formats.h | 18 int vsub; member
|
/kernel/linux/linux-6.6/drivers/media/platform/sunxi/sun8i-rotate/ |
H A D | sun8i_formats.c | 20 .vsub = 1, 28 .vsub = 1, 36 .vsub = 1, 44 .vsub = 1, 52 .vsub = 1, 60 .vsub = 1, 68 .vsub = 1, 76 .vsub = 1, 84 .vsub = 1, 92 .vsub [all...] |
H A D | sun8i-formats.h | 18 int vsub; member
|
/kernel/linux/linux-5.10/include/drm/ |
H A D | drm_fourcc.h | 128 /** @vsub: Vertical chroma subsampling factor */ 129 u8 vsub; 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() 304 return height / info->vsub; in drm_format_info_plane_height()
|
/kernel/linux/linux-6.6/include/drm/ |
H A D | drm_fourcc.h | 133 /** @vsub: Vertical chroma subsampling factor */ 134 u8 vsub; 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() 304 return height / info->vsub; in drm_format_info_plane_height()
|
/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 = 2, .vsub 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 1714 unsigned int vsub = i ? fb->format->vsub : 1; intel_plane_remap_gtt() local [all...] |
H A D | intel_atomic_plane.c | 954 u32 src_x, src_y, src_w, src_h, hsub, vsub; in intel_plane_check_src_coordinates() local 958 * FIXME hsub/vsub vs. block size is a mess. Pre-tgl CCS in intel_plane_check_src_coordinates() 959 * abuses hsub/vsub so we can't use them here. But as they in intel_plane_check_src_coordinates() 983 vsub = 2; in intel_plane_check_src_coordinates() 986 vsub = fb->format->vsub; in intel_plane_check_src_coordinates() 990 hsub = vsub = max(hsub, vsub); in intel_plane_check_src_coordinates() 998 if (src_y % vsub || src_h % vsub) { in intel_plane_check_src_coordinates() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun4i-csi/ |
H A D | sun4i_v4l2.c | 31 .vsub = 2, 120 height = ALIGN(pix->height, _fmt->vsub); in _sun4i_csi_try_fmt() 124 pix->height = clamp(height, _fmt->vsub, CSI_MAX_HEIGHT); in _sun4i_csi_try_fmt() 128 unsigned int vsub = i > 0 ? _fmt->vsub : 1; in _sun4i_csi_try_fmt() local 133 pix->plane_fmt[i].sizeimage = bpl * pix->height / vsub; in _sun4i_csi_try_fmt()
|
/kernel/linux/linux-6.6/drivers/media/platform/sunxi/sun4i-csi/ |
H A D | sun4i_v4l2.c | 31 .vsub = 2, 114 height = ALIGN(pix->height, _fmt->vsub); in _sun4i_csi_try_fmt() 118 pix->height = clamp(height, _fmt->vsub, CSI_MAX_HEIGHT); in _sun4i_csi_try_fmt() 122 unsigned int vsub = i > 0 ? _fmt->vsub : 1; in _sun4i_csi_try_fmt() local 127 pix->plane_fmt[i].sizeimage = bpl * pix->height / vsub; in _sun4i_csi_try_fmt()
|
/kernel/liteos_a/lib/libc/musl/src/arch/arm/ |
H A D | memcmp.S | 72 vsub.i8 q0, q0, q2 @ q0: Difference of the first 16 bytes 73 vsub.i8 q1, q1, q3 @ q1: Difference of the last 16 bytes 145 vsub.i8 q0, q0, q2 166 vsub.i8 d0, d0, d4
|
/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 = 1, .vsub [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/ |
H A D | sun8i_vi_layer.c | 107 if (format->vsub > 1) { in sun8i_vi_layer_update_coord() 110 mask = format->vsub - 1; in sun8i_vi_layer_update_coord() 122 (state->src.y1 >> 16) & ~(format->vsub - 1)); in sun8i_vi_layer_update_coord() 135 subsampled = format->hsub > 1 || format->vsub > 1; in sun8i_vi_layer_update_coord() 298 src_y = (state->src.y1 >> 16) & ~(format->vsub - 1); in sun8i_vi_layer_update_buffer() 314 dy /= format->vsub; in sun8i_vi_layer_update_buffer()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/sun4i/ |
H A D | sun8i_vi_layer.c | 138 if (format->vsub > 1) { in sun8i_vi_layer_update_coord() 141 mask = format->vsub - 1; in sun8i_vi_layer_update_coord() 153 (state->src.y1 >> 16) & ~(format->vsub - 1)); in sun8i_vi_layer_update_coord() 166 subsampled = format->hsub > 1 || format->vsub > 1; in sun8i_vi_layer_update_coord() 321 src_y = (state->src.y1 >> 16) & ~(format->vsub - 1); in sun8i_vi_layer_update_buffer() 337 dy /= format->vsub; in sun8i_vi_layer_update_buffer()
|
/kernel/linux/linux-6.6/drivers/media/platform/nxp/imx8-isi/ |
H A D | imx8-isi-video.c | 68 .vsub = 2, 79 .vsub = 2, 90 .vsub = 1, 101 .vsub = 1, 112 .vsub = 1, 466 plane->sizeimage /= fmt->vsub; in mxc_isi_format_try() 853 unsigned int vsub = i > 1 ? info->vsub : 1; in mxc_isi_video_buffer_init() local 855 dma_addrs[i] = dma_addrs[i - 1] + size / vsub; in mxc_isi_video_buffer_init() 1255 v_align = max_t(unsigned int, info->vsub, in mxc_isi_video_enum_framesizes() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_framebuffer.c | 222 (src_y % info->vsub) || (src_h % info->vsub)) { in komeda_fb_check_src_coords() 257 plane_y = y / (plane ? fb->format->vsub : 1); in komeda_fb_get_pixel_addr()
|
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/ |
H A D | vsp1_rpf.c | 279 crop.height = round_down(crop.height / 2, fmtinfo->vsub); in rpf_configure_partition() 280 crop.top = round_down(crop.top / 2, fmtinfo->vsub); in rpf_configure_partition() 297 offset = crop.top / fmtinfo->vsub * bpl in rpf_configure_partition()
|
H A D | vsp1_wpf.c | 466 unsigned int vsub = i > 0 ? fmtinfo->vsub : 1; in wpf_configure_partition() local 469 mem.addr[i] += offset / vsub in wpf_configure_partition() 492 offset = (height / fmtinfo->vsub - 1) in wpf_configure_partition()
|
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_rpf.c | 331 crop.height = round_down(crop.height / 2, fmtinfo->vsub); in rpf_configure_partition() 332 crop.top = round_down(crop.top / 2, fmtinfo->vsub); in rpf_configure_partition() 349 offset = crop.top / fmtinfo->vsub * bpl in rpf_configure_partition()
|
H A D | vsp1_wpf.c | 466 unsigned int vsub = i > 0 ? fmtinfo->vsub : 1; in wpf_configure_partition() local 469 mem.addr[i] += offset / vsub in wpf_configure_partition() 492 offset = (height / fmtinfo->vsub - 1) in wpf_configure_partition()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_framebuffer.c | 222 (src_y % info->vsub) || (src_h % info->vsub)) { in komeda_fb_check_src_coords() 257 plane_y = y / (plane ? fb->format->vsub : 1); in komeda_fb_get_pixel_addr()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/ |
H A D | omap_fb.c | 91 + (y * fb->pitches[n] / (n == 0 ? 1 : format->vsub)); in get_linear_addr() 392 unsigned int vsub = i == 0 ? 1 : format->vsub; in omap_framebuffer_init() local 395 size = pitch * mode_cmd->height / vsub; in omap_framebuffer_init()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/ |
H A D | omap_fb.c | 93 + (y * fb->pitches[n] / (n == 0 ? 1 : format->vsub)); in get_linear_addr() 425 unsigned int vsub = i == 0 ? 1 : format->vsub; in omap_framebuffer_init() local 428 size = pitch * mode_cmd->height / vsub; in omap_framebuffer_init()
|