Lines Matching +full:4 +full:a
30 * DRM_FORMAT_MAX_PLANES - maximum number of planes a DRM format can have
32 #define DRM_FORMAT_MAX_PLANES 4u
60 * struct drm_format_info - information about a DRM format
63 /** @format: 4CC format identifier (DRM_FORMAT_*) */
70 * valid for a subset of RGB formats only. This is a legacy field, do
93 * defined as a rectangle of pixels which are stored next to
94 * each other in a byte aligned memory region. Together with
97 * formats for which the memory needed for a single pixel is not
101 * a lot of places in drivers where it's used. In drm core for
140 /** @is_yuv: Is it a YUV format? */
143 /** @is_color_indexed: Is it a color-indexed format? */
148 * drm_format_info_is_yuv_packed - check that the format info matches a YUV
149 * format with data laid in a single plane
153 * A boolean indicating whether the format info matches a packed YUV format.
162 * drm_format_info_is_yuv_semiplanar - check that the format info matches a YUV
167 * A boolean indicating whether the format info matches a semiplanar YUV format.
176 * drm_format_info_is_yuv_planar - check that the format info matches a YUV
181 * A boolean indicating whether the format info matches a planar YUV format.
190 * drm_format_info_is_yuv_sampling_410 - check that the format info matches a
191 * YUV format with 4:1:0 sub-sampling
195 * A boolean indicating whether the format info matches a YUV format with 4:1:0
201 return info->is_yuv && info->hsub == 4 && info->vsub == 4; in drm_format_info_is_yuv_sampling_410()
205 * drm_format_info_is_yuv_sampling_411 - check that the format info matches a
206 * YUV format with 4:1:1 sub-sampling
210 * A boolean indicating whether the format info matches a YUV format with 4:1:1
216 return info->is_yuv && info->hsub == 4 && info->vsub == 1; in drm_format_info_is_yuv_sampling_411()
220 * drm_format_info_is_yuv_sampling_420 - check that the format info matches a
221 * YUV format with 4:2:0 sub-sampling
225 * A boolean indicating whether the format info matches a YUV format with 4:2:0
235 * drm_format_info_is_yuv_sampling_422 - check that the format info matches a
236 * YUV format with 4:2:2 sub-sampling
240 * A boolean indicating whether the format info matches a YUV format with 4:2:2
250 * drm_format_info_is_yuv_sampling_444 - check that the format info matches a
251 * YUV format with 4:4:4 sub-sampling
255 * A boolean indicating whether the format info matches a YUV format with 4:4:4