| /drivers/gpu/drm/ |
| A D | drm_fourcc.c | 314 .hsub = 2, .vsub = 2, .is_yuv = true}, in __drm_format_info() 320 .hsub = 2, .vsub = 2, .is_yuv = true}, in __drm_format_info() 356 .hsub = 2, .vsub = 2, .is_yuv = true}, in __drm_format_info() 359 .hsub = 2, .vsub = 2, .is_yuv = true}, in __drm_format_info() 362 .hsub = 2, .vsub = 1, .is_yuv = true}, in __drm_format_info() 365 .hsub = 1, .vsub = 1, .is_yuv = true}, in __drm_format_info() 368 .hsub = 2, .vsub = 2, .is_yuv = true}, in __drm_format_info() 371 .hsub = 2, .vsub = 1, .is_yuv = true}, in __drm_format_info() 374 .hsub = 1, .vsub = 1, .is_yuv = true}, in __drm_format_info() 377 .hsub = 2, .vsub = 2, .is_yuv = true}, in __drm_format_info() [all …]
|
| /drivers/media/platform/sunxi/sun8i-rotate/ |
| 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 …]
|
| A D | sun8i-formats.h | 17 int hsub; member
|
| A D | sun8i_rotate.c | 53 pitch[i] /= fmt->hsub / fmt->bpp[i]; in rotate_calc_addr_pitch() 186 width = ALIGN(pix_fmt->width, fmt->hsub); in rotate_prepare_format() 192 alignment *= fmt->hsub / fmt->bpp[1]; in rotate_prepare_format() 200 size /= fmt->hsub; in rotate_prepare_format() 252 fsize->stepwise.step_width = fmt->hsub; in rotate_enum_framesizes()
|
| /drivers/gpu/drm/renesas/rcar-du/ |
| 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 = 1, [all …]
|
| A D | rcar_du_kms.h | 28 unsigned int hsub; member
|
| /drivers/gpu/drm/renesas/rz-du/ |
| 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 …]
|
| A D | rzg2l_du_kms.h | 27 unsigned int hsub; member
|
| /drivers/gpu/drm/i915/display/ |
| A D | intel_fb.c | 69 .hsub = 1, .vsub = 1, }, 72 .hsub = 1, .vsub = 1, }, 81 .hsub = 1, .vsub = 1, }, 920 *hsub = 1; in intel_fb_plane_get_subsampling() 931 *hsub = fb->format->hsub; in intel_fb_plane_get_subsampling() 950 *hsub *= fb->format->hsub; in intel_fb_plane_get_subsampling() 962 int hsub, vsub; in intel_fb_plane_dims() local 1197 int hsub, vsub; in intel_fb_check_ccs_xy() local 1213 tile_width *= hsub; in intel_fb_check_ccs_xy() 1867 unsigned int hsub = i ? fb->format->hsub : 1; in intel_plane_remap_gtt() local [all …]
|
| A D | intel_plane.c | 1053 u32 src_x, src_y, src_w, src_h, hsub, vsub; in intel_plane_check_src_coordinates() local 1081 hsub = 2; in intel_plane_check_src_coordinates() 1089 hsub = 1; in intel_plane_check_src_coordinates() 1097 hsub = 2; in intel_plane_check_src_coordinates() 1099 hsub = fb->format->hsub; in intel_plane_check_src_coordinates() 1104 hsub = vsub = max(hsub, vsub); in intel_plane_check_src_coordinates() 1106 if (src_x % hsub || src_w % hsub) { in intel_plane_check_src_coordinates() 1110 src_x, src_w, hsub, str_yes_no(rotated)); in intel_plane_check_src_coordinates()
|
| /drivers/media/platform/qcom/camss/ |
| A D | camss-format.h | 16 .hsub[(plane)].numerator = (h_fract_num), \ 17 .hsub[(plane)].denominator = (h_fract_den), \ 47 struct fract hsub[3]; member
|
| A D | camss-video.c | 55 bytesperline = pix->width / f->hsub[i].numerator * in video_mbus_to_pix_mp() 56 f->hsub[i].denominator * f->bpp[i] / 8; in video_mbus_to_pix_mp() 495 bpl = pix_mp->width / fi->hsub[i].numerator * in __video_try_fmt() 496 fi->hsub[i].denominator * fi->bpp[i] / 8; in __video_try_fmt()
|
| /drivers/gpu/drm/sun4i/ |
| A D | sun8i_vi_scaler.c | 879 if (format->hsub == 1 && format->vsub == 1) { in sun8i_vi_scaler_set_coeff() 952 if (format->hsub == 2 && format->vsub == 2) { in sun8i_vi_scaler_setup() 964 if (format->hsub == 1 && format->vsub == 1) in sun8i_vi_scaler_setup() 987 SUN8I_VI_SCALER_SIZE(src_w / format->hsub, in sun8i_vi_scaler_setup() 991 hscale / format->hsub); in sun8i_vi_scaler_setup()
|
| A D | sun8i_vi_layer.c | 82 if (format->hsub > 1) { in sun8i_vi_layer_update_coord() 85 mask = format->hsub - 1; in sun8i_vi_layer_update_coord() 105 (state->src.x1 >> 16) & ~(format->hsub - 1), in sun8i_vi_layer_update_coord() 119 subsampled = format->hsub > 1 || format->vsub > 1; in sun8i_vi_layer_update_coord() 273 src_x = (state->src.x1 >> 16) & ~(format->hsub - 1); in sun8i_vi_layer_update_buffer() 289 dx /= format->hsub; in sun8i_vi_layer_update_buffer()
|
| /drivers/gpu/drm/amd/amdgpu/ |
| A D | amdgpu_display.c | 589 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 592 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 595 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 602 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 605 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 617 .cpp = { 4, 0, 0 }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 620 .cpp = { 4, 0, 0 }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 623 .cpp = { 4, 0, 0 }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 630 .cpp = { 4, 0, 0 }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 633 .cpp = { 4, 0, 0 }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, [all …]
|
| /drivers/media/platform/sunxi/sun4i-csi/ |
| 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()
|
| A D | sun4i_csi.h | 101 unsigned int hsub; member
|
| /drivers/gpu/drm/msm/disp/mdp5/ |
| 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()
|
| /drivers/gpu/drm/tidss/ |
| A D | tidss_plane.c | 82 if ((new_plane_state->src_x >> 16) % finfo->hsub != 0) { in tidss_plane_atomic_check() 85 __func__, (new_plane_state->src_x >> 16), finfo->hsub); in tidss_plane_atomic_check() 96 if ((new_plane_state->src_w >> 16) % finfo->hsub != 0) { in tidss_plane_atomic_check() 100 finfo->hsub); in tidss_plane_atomic_check()
|
| /drivers/media/platform/renesas/vsp1/ |
| A D | vsp1_wpf.c | 460 unsigned int hsub = i > 0 ? fmtinfo->hsub : 1; in wpf_configure_partition() local 467 mem.addr[i] += offset / hsub in wpf_configure_partition() 502 unsigned int hsub = i > 0 ? fmtinfo->hsub : 1; in wpf_configure_partition() local 504 mem.addr[i] += hoffset / hsub in wpf_configure_partition()
|
| A D | vsp1_video.c | 152 width = round_down(width, info->hsub); in __vsp1_video_try_format() 156 pix->width = clamp(width, info->hsub, VSP1_VIDEO_MAX_WIDTH); in __vsp1_video_try_format() 165 unsigned int hsub = i > 0 ? info->hsub : 1; in __vsp1_video_try_format() local 171 pix->width / hsub * info->bpp[i] / 8, in __vsp1_video_try_format()
|
| A D | vsp1_pipe.h | 46 unsigned int hsub; member
|
| /drivers/gpu/drm/arm/display/komeda/ |
| A D | komeda_framebuffer.c | 222 if ((src_x % info->hsub) || (src_w % info->hsub) || in komeda_fb_check_src_coords() 257 plane_x = x / (plane ? fb->format->hsub : 1); in komeda_fb_get_pixel_addr()
|
| /drivers/media/platform/nxp/imx8-isi/ |
| A D | imx8-isi-video.c | 67 .hsub = 2, 78 .hsub = 2, 89 .hsub = 2, 100 .hsub = 2, 111 .hsub = 1, 1255 h_align = max_t(unsigned int, info->hsub, 1); in mxc_isi_video_enum_framesizes()
|
| /drivers/gpu/drm/vkms/ |
| A D | vkms_formats.c | 160 return format->hsub; in get_subsampling() 534 x_start / plane->frame_info->fb->format->hsub, in semi_planar_yuv_read_line() 574 x_start / plane->frame_info->fb->format->hsub, in planar_yuv_read_line() 578 x_start / plane->frame_info->fb->format->hsub, in planar_yuv_read_line()
|