Lines Matching +full:sub +full:- +full:groups

29  * DRM_FORMAT_MAX_PLANES - maximum number of planes a DRM format can have
59 * struct drm_format_info - information about a DRM format
95 * in tiled formats or to describe groups of pixels in packed
104 * block and non-block formats in the same way.
106 * For formats that are intended to be used only with non-linear
144 * drm_format_info_is_yuv_packed - check that the format info matches a YUV
154 return info->is_yuv && info->num_planes == 1; in drm_format_info_is_yuv_packed()
158 * drm_format_info_is_yuv_semiplanar - check that the format info matches a YUV
168 return info->is_yuv && info->num_planes == 2; in drm_format_info_is_yuv_semiplanar()
172 * drm_format_info_is_yuv_planar - check that the format info matches a YUV
182 return info->is_yuv && info->num_planes == 3; in drm_format_info_is_yuv_planar()
186 * drm_format_info_is_yuv_sampling_410 - check that the format info matches a
187 * YUV format with 4:1:0 sub-sampling
192 * sub-sampling.
197 return info->is_yuv && info->hsub == 4 && info->vsub == 4; in drm_format_info_is_yuv_sampling_410()
201 * drm_format_info_is_yuv_sampling_411 - check that the format info matches a
202 * YUV format with 4:1:1 sub-sampling
207 * sub-sampling.
212 return info->is_yuv && info->hsub == 4 && info->vsub == 1; in drm_format_info_is_yuv_sampling_411()
216 * drm_format_info_is_yuv_sampling_420 - check that the format info matches a
217 * YUV format with 4:2:0 sub-sampling
222 * sub-sampling.
227 return info->is_yuv && info->hsub == 2 && info->vsub == 2; in drm_format_info_is_yuv_sampling_420()
231 * drm_format_info_is_yuv_sampling_422 - check that the format info matches a
232 * YUV format with 4:2:2 sub-sampling
237 * sub-sampling.
242 return info->is_yuv && info->hsub == 2 && info->vsub == 1; in drm_format_info_is_yuv_sampling_422()
246 * drm_format_info_is_yuv_sampling_444 - check that the format info matches a
247 * YUV format with 4:4:4 sub-sampling
252 * sub-sampling.
257 return info->is_yuv && info->hsub == 1 && info->vsub == 1; in drm_format_info_is_yuv_sampling_444()
261 * drm_format_info_plane_width - width of the plane given the first plane
273 if (!info || plane >= info->num_planes) in drm_format_info_plane_width()
279 return width / info->hsub; in drm_format_info_plane_width()
283 * drm_format_info_plane_height - height of the plane given the first plane
295 if (!info || plane >= info->num_planes) in drm_format_info_plane_height()
301 return height / info->vsub; in drm_format_info_plane_height()