drm_format_...sampling_444(9)
π drm_format_info_is_yuv_sampling_444 π
okay bestie, welcome to the Kernel API Manual β yes, that's the whole manual, and yes, this page is a (9) section page, so it's that kind of party π. This one is short, sweet, and honestly kind of iconic β it's a lil vibe check for your pixel formats. Let's get into it β¨
β¨ NAME β¨
drm_format_info_is_yuv_sampling_444 β check that the format info matches a YUV format with 4:4:4 sub-sampling π¦
πΈ SYNOPSIS πΈ
bool drm_format_info_is_yuv_sampling_444 (const struct drm_format_info
*info );
π ARGUMENTS π
infoβ format info. literally just the format info, that's the whole thing, that's the assignment π
β RETURN β
A boolean indicating whether the format info matches a YUV format with 4:4:4 sub-sampling. so it's a yes-or-no situation, no in-between, no "it's complicated" β true if it's giving 4:4:4 YUV, false if it's not π«Ά
π₯ SEE ALSO π₯
Kernel file ./include/drm/drm_fourcc.h β that's where the goods live, iykyk π
Then the whole friend group, all of them (9) section besties:
DRM_FORMAT_MAX_PLANES(9)struct drm_format_info(9)drm_format_info_is_yuv_packed(9)drm_format_info_is_yuv_semiplanar(9)drm_format_info_is_yuv_planar(9)drm_format_info_is_yuv_sampling_410(9)drm_format_info_is_yuv_sampling_411(9)drm_format_info_is_yuv_sampling_420(9)drm_format_info_is_yuv_sampling_422(9)drm_format_info_plane_width(9)drm_format_info_plane_height(9)
ngl the sampling crew goes 410, 411, 420, 422, and then our girl 444 β collect them all, it's giving a full set π
okay that's the whole page, you ate that π this lil corner of the kernel lives in ./include/drm, and the manual is dated October 2026 β so yeah, from the future, main character energy fr fr. mwah, go read the other (9) pages, ily π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms