| /OK3568_Linux_fs/kernel/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… in __drm_format_info() 162 …{ .format = DRM_FORMAT_BGR233, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub… in __drm_format_info() 163 …{ .format = DRM_FORMAT_XRGB4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsu… in __drm_format_info() 164 …{ .format = DRM_FORMAT_XBGR4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsu… in __drm_format_info() 165 …{ .format = DRM_FORMAT_RGBX4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsu… in __drm_format_info() 166 …{ .format = DRM_FORMAT_BGRX4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsu… in __drm_format_info() 167 …{ .format = DRM_FORMAT_ARGB4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsu… in __drm_format_info() 168 …{ .format = DRM_FORMAT_ABGR4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsu… in __drm_format_info() 169 …{ .format = DRM_FORMAT_RGBA4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsu… in __drm_format_info() [all …]
|
| H A D | drm_fb_cma_helper.c | 85 h_div = fb->format->hsub; in drm_fb_cma_get_gem_addr()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/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 = 1, [all …]
|
| H A D | rcar_du_kms.h | 25 unsigned int hsub; member
|
| /OK3568_Linux_fs/kernel/include/drm/ |
| H A D | drm_fourcc.h | 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()
|
| /OK3568_Linux_fs/buildroot/package/weston/ |
| H A D | 0020-pixman-renderer-Support-yuv-formats.patch | 21 .hsub = 2, 28 .hsub = 2, 38 .hsub = 2, 48 .hsub = 2, 58 .hsub = 2,
|
| H A D | 0003-Revert-gl-renderer-require-GL_EXT_unpack_subimage.patch | 48 + int hsub = pixel_format_hsub(buffer->pixel_format, j); 54 + gb->pitch / hsub,
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_11.0.1/ |
| H A D | 0020-pixman-renderer-Support-yuv-formats.patch | 21 .hsub = 2, 28 .hsub = 2, 38 .hsub = 2, 48 .hsub = 2, 58 .hsub = 2,
|
| H A D | 0003-Revert-gl-renderer-require-GL_EXT_unpack_subimage.patch | 48 + int hsub = pixel_format_hsub(buffer->pixel_format, j); 54 + gb->pitch / hsub,
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_10.0.2/ |
| H A D | 0017-pixman-renderer-Support-yuv-formats.patch | 21 .hsub = 2, 28 .hsub = 2, 38 .hsub = 2, 48 .hsub = 2, 58 .hsub = 2,
|
| H A D | 0019-gl-renderer-Support-NV16-shmem-format.patch | 23 + gs->offset[1] = gs->offset[0] + (pitch / gs->hsub[0]) * 25 + gs->hsub[1] = 2;
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/sun4i/ |
| H A D | sun8i_vi_scaler.c | 877 if (format->hsub == 1 && format->vsub == 1) { in sun8i_vi_scaler_set_coeff() 950 if (format->hsub == 2 && format->vsub == 2) { in sun8i_vi_scaler_setup() 962 if (format->hsub == 1 && format->vsub == 1) in sun8i_vi_scaler_setup() 985 SUN8I_VI_SCALER_SIZE(src_w / format->hsub, in sun8i_vi_scaler_setup() 989 hscale / format->hsub); in sun8i_vi_scaler_setup()
|
| 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()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/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()
|
| H A D | vsp1_pipe.h | 45 unsigned int hsub; member
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/ |
| H A D | rockchip_drm_debugfs.c | 75 u8 hsub = dump_info->format->hsub; in rockchip_drm_dump_plane_buffer() local 80 uv_size = (width * dump_info->height * bpp >> 3) * 2 / hsub / vsub; in rockchip_drm_dump_plane_buffer()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/external/xserver/hw/xwin/ |
| H A D | winprefs.c | 74 HMENU hmenu, hsub; in MakeMenu() local 124 hsub = MakeMenu(m->menuItem[i].param, 0, 0); in MakeMenu() 125 if (hsub) in MakeMenu() 129 (UINT_PTR) hsub, m->menuItem[i].text); in MakeMenu()
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/qcom/camss/ |
| H A D | camss-video.c | 45 struct fract hsub[3]; member 263 bytesperline = pix->width / f->hsub[i].numerator * in video_mbus_to_pix_mp() 264 f->hsub[i].denominator * f->bpp[i] / 8; in video_mbus_to_pix_mp() 694 bpl = pix_mp->width / fi->hsub[i].numerator * in __video_try_fmt() 695 fi->hsub[i].denominator * fi->bpp[i] / 8; in __video_try_fmt()
|