Lines Matching defs:format
35 * case the format can't be specified otherwise, so we don't end up
36 * with two values describing the same format.
56 * struct drm_format_info - information about a DRM format
59 /** @format: 4CC format identifier (DRM_FORMAT_*) */
60 u32 format;
81 * describing the pixel format.
105 * generic format table. Drivers could supply accurate
133 /** @has_alpha: Does the format embeds an alpha component? */
136 /** @is_yuv: Is it a YUV format? */
141 * struct drm_format_name_buf - name of a DRM format
142 * @str: string buffer containing the format name
149 * drm_format_info_is_yuv_packed - check that the format info matches a YUV
150 * format with data laid in a single plane
151 * @info: format info
154 * A boolean indicating whether the format info matches a packed YUV format.
163 * drm_format_info_is_yuv_semiplanar - check that the format info matches a YUV
164 * format with data laid in two planes (luminance and chrominance)
165 * @info: format info
168 * A boolean indicating whether the format info matches a semiplanar YUV format.
177 * drm_format_info_is_yuv_planar - check that the format info matches a YUV
178 * format with data laid in three planes (one for each YUV component)
179 * @info: format info
182 * A boolean indicating whether the format info matches a planar YUV format.
191 * drm_format_info_is_yuv_sampling_410 - check that the format info matches a
192 * YUV format with 4:1:0 sub-sampling
193 * @info: format info
196 * A boolean indicating whether the format info matches a YUV format with 4:1:0
206 * drm_format_info_is_yuv_sampling_411 - check that the format info matches a
207 * YUV format with 4:1:1 sub-sampling
208 * @info: format info
211 * A boolean indicating whether the format info matches a YUV format with 4:1:1
221 * drm_format_info_is_yuv_sampling_420 - check that the format info matches a
222 * YUV format with 4:2:0 sub-sampling
223 * @info: format info
226 * A boolean indicating whether the format info matches a YUV format with 4:2:0
236 * drm_format_info_is_yuv_sampling_422 - check that the format info matches a
237 * YUV format with 4:2:2 sub-sampling
238 * @info: format info
241 * A boolean indicating whether the format info matches a YUV format with 4:2:2
251 * drm_format_info_is_yuv_sampling_444 - check that the format info matches a
252 * YUV format with 4:4:4 sub-sampling
253 * @info: format info
256 * A boolean indicating whether the format info matches a YUV format with 4:4:4
267 * @info: pixel format info
289 * @info: pixel format info
309 const struct drm_format_info *__drm_format_info(u32 format);
310 const struct drm_format_info *drm_format_info(u32 format);
323 const char *drm_get_format_name(uint32_t format, struct drm_format_name_buf *buf);