drm_format_...sampling_411(9)
πΈ drm_format_...sampling_411(9) β Kernel API Manual πΈ
okay bestie, so this whole page lives in the kernel API manual, and the star of the show is drm_format_...sampling_411(9) β same name top and bottom, iconic consistency honestly π
β¨ NAME β¨
drm_format_info_is_yuv_sampling_411 β lowkey does a vibe check on your format info and tells you if it matches a YUV format with 4:1:1 sub-sampling π
π¦ SYNOPSIS π¦
bool drm_format_info_is_yuv_sampling_411 (const struct drm_format_info *info );
π ARGUMENTS π
infoβ the format info, that's it, that's the whole argument, she's simple and she knows it π«Ά
β RETURN β
You get back a bool β a boolean, no cap β that tells you whether the format info matches a YUV format with 4:1:1 sub-sampling. true/false, yes/no, slay/not-slay πβ¨
π₯ SEE ALSO π₯
- Kernel file
./include/drm/drm_fourcc.hβ and while you're in there,DRM_FORMAT_MAX_PLANES(9)too π« 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_420(9)drm_format_info_is_yuv_sampling_422(9)drm_format_info_is_yuv_sampling_444(9)drm_format_info_plane_width(9)drm_format_info_plane_height(9)
like literally the whole sampling fam is here, 410 through 444, all invited to the group chat π
ngl this one's a short read, but every detail is here β go check on your info, bestie, she deserves it ππ
and that's the page!! brought to you by the fine people over in ./include/drm, dated October 2026, and the manual is drm_format_...sampling_411(9) β periodt. ππ
π
π¦ 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