| /linux/drivers/gpu/drm/ |
| H A D | drm_fourcc.c | 179 ….char_per_block = { 1, }, .block_w = { 8, }, .block_h = { 1, }, .hsub = 1, .vsub = 1, .is_color_in… in __drm_format_info() 181 ….char_per_block = { 1, }, .block_w = { 4, }, .block_h = { 1, }, .hsub = 1, .vsub = 1, .is_color_in… in __drm_format_info() 183 ….char_per_block = { 1, }, .block_w = { 2, }, .block_h = { 1, }, .hsub = 1, .vsub = 1, .is_color_in… in __drm_format_info() 184 …{ .format = DRM_FORMAT_C8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info() 186 .char_per_block = { 1, }, .block_w = { 8, }, .block_h = { 1, }, .hsub = 1, .vsub = 1 }, in __drm_format_info() 188 .char_per_block = { 1, }, .block_w = { 4, }, .block_h = { 1, }, .hsub = 1, .vsub = 1 }, in __drm_format_info() 190 .char_per_block = { 1, }, .block_w = { 2, }, .block_h = { 1, }, .hsub = 1, .vsub = 1 }, in __drm_format_info() 191 …{ .format = DRM_FORMAT_D8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info() 193 .char_per_block = { 1, }, .block_w = { 8, }, .block_h = { 1, }, .hsub = 1, .vsub = 1 }, in __drm_format_info() 195 .char_per_block = { 1, }, .block_w = { 4, }, .block_h = { 1, }, .hsub = 1, .vsub = 1 }, in __drm_format_info() [all …]
|
| /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 | 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()
|
| /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/qcom/camss/ |
| H 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
|
| /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/tidss/ |
| H A D | tidss_plane.c | 80 if ((new_plane_state->src_x >> 16) % finfo->hsub != 0) { in tidss_plane_atomic_check() 83 __func__, (new_plane_state->src_x >> 16), finfo->hsub); in tidss_plane_atomic_check() 94 if ((new_plane_state->src_w >> 16) % finfo->hsub != 0) { in tidss_plane_atomic_check() 98 finfo->hsub); in tidss_plane_atomic_check()
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_plane.c | 1096 u32 src_x, src_y, src_w, src_h, hsub, vsub; in intel_plane_check_src_coordinates() local 1124 hsub = 2; in intel_plane_check_src_coordinates() 1132 hsub = 1; in intel_plane_check_src_coordinates() 1140 hsub = 2; in intel_plane_check_src_coordinates() 1145 hsub = fb->format->hsub; in intel_plane_check_src_coordinates() 1150 hsub = vsub = max(hsub, vsub); in intel_plane_check_src_coordinates() 1152 if (src_x % hsub || src_w % hsub) { in intel_plane_check_src_coordinates() 1156 src_x, src_w, hsub, str_yes_no(rotated)); in intel_plane_check_src_coordinates()
|
| /linux/drivers/gpu/drm/renesas/rcar-du/ |
| H A D | rcar_du_kms.h | 28 unsigned int hsub; member
|
| /linux/drivers/media/platform/renesas/vsp1/ |
| H 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()
|
| /linux/drivers/gpu/drm/tegra/ |
| H A D | fb.c | 147 unsigned int width = cmd->width / (i ? info->hsub : 1); in tegra_fb_create()
|
| H A D | plane.c | 264 bpp_plane /= fmt->hsub; in tegra_plane_calculate_memory_bandwidth()
|
| /linux/drivers/gpu/drm/vc4/ |
| H A D | vc4_plane.c | 497 u32 h_subsample = fb->format->hsub; in vc4_plane_setup_clipping_and_scaling() 758 if (info->hsub > 1 && channel == 1) in vc4_lbm_channel_size() 762 width = round_up(width / info->hsub, 4); in vc4_lbm_channel_size() 777 lines = DIV_ROUND_UP(words, 128 / info->hsub); in vc4_lbm_channel_size() 793 if (info->hsub > 1) in __vc6_lbm_size() 1216 u32 h_subsample = fb->format->hsub; in vc4_plane_mode_set() 1746 u32 h_subsample = fb->format->hsub; in vc6_plane_mode_set()
|
| /linux/drivers/gpu/drm/gud/ |
| H A D | gud_drv.c | 42 .hsub = 1, 52 .hsub = 1,
|
| /linux/drivers/gpu/drm/msm/disp/mdp5/ |
| H A D | mdp5_plane.c | 588 phasex_steps[COMP_1_2] = phasex_step / info->hsub; in calc_scalex_steps() 629 sub = horz ? info->hsub : info->vsub; in get_scale_config() 683 roi_w /= info->hsub; in mdp5_write_pixel_ext()
|
| /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/xlnx/ |
| H A D | zynqmp_disp.c | 832 (layer->drm_fmt->hsub > 1 ? in zynqmp_disp_blend_layer_enable() 1119 unsigned int width = state->crtc_w / (i ? info->hsub : 1); in zynqmp_disp_layer_update()
|
| /linux/drivers/gpu/drm/armada/ |
| H A D | armada_plane.c | 60 x /= format->hsub; in armada_drm_plane_calc()
|
| H A D | armada_overlay.c | 152 if (format->num_planes == 1 && src_x & (format->hsub - 1)) in armada_drm_overlay_plane_atomic_update()
|
| /linux/drivers/gpu/drm/arm/ |
| H A D | malidp_planes.c | 227 if ((info->hsub != 1) || (info->vsub != 1)) { in malidp_format_mod_supported() 237 if ((info->hsub == 1) || (info->vsub == 1)) { in malidp_format_mod_supported()
|
| /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/exynos/ |
| H A D | exynos_drm_ipp.c | 575 DIV_ROUND_UP(buf->buf.width, buf->format->hsub); in exynos_drm_ipp_check_format()
|