drm_format_...v_semiplanar(9)
π drm_format_info_is_yuv_semiplanar(9) β the NAME section, bestie
okay so this is a page from the Kernel API Manual, section 9, and the page itself is called drm_format_...v_semiplanar(9) (yes the title got truncated by the manpage formatter, it's giving cursed filename energy, we move). π
πΈ NAME
drm_format_info_is_yuv_semiplanar β the little function that checks whether a format info actually matches a YUV format with data laid in two planes (that's luminance and chrominance, iykyk β¨).
β¨ SYNOPSIS β¨
bool drm_format_info_is_yuv_semiplanar (const struct drm_format_info
*info );
lowkey the whole vibe in one line: you hand it format info, it hands you back a bool. π«Ά
π ARGUMENTS
infoβ the format info. that's it, that's the argument. one (1) bestie coming in. π
π₯ RETURN
A boolean indicating whether the format info matches a semiplanar YUV format. so likeβ¦ yes or no. true if it's giving semiplanar YUV, false if it is not. no cap, that's the whole return value situation. β
π SEE ALSO
the whole friend group, fr fr β go say hi:
- Kernel file
./include/drm/drm_fourcc.h DRM_FORMAT_MAX_PLANES(9)struct drm_format_info(9)drm_format_info_is_yuv_packed(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_is_yuv_sampling_444(9)drm_format_info_plane_width(9)drm_format_info_plane_height(9)
π reminder bestie: this page is about checking the format info, not mutating anything. it returns a bool and goes home. don't be weird about it. π
and that's the page!! sourced from ./include/drm, dated October 2026, living its best life in the Kernel API Manual. mwah, go read the kernel docs, ily, bye π§ππ
π¦ 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