pixel_format_cmp(9)
πΈ NAME πΈ
okay so bestie, welcome to the Kernel API Manual β this is the page for pixel_format_cmp, and it compares two pixel-format descriptions. no cap, that's the whole vibe. β¨
β¨ SYNOPSIS β¨
int pixel_format_cmp (const struct pixel_format *lhs , const struct pixel_format *rhs );
π«Ά ARGUMENTS π«Ά
lhsβ a pixel-format description πrhsβ a pixel-format description π
π DESCRIPTION π
It compares two pixel-format descriptions and tells you their order. The semantics are equivalent to memcmp β like, that's the exact energy it's giving. π₯
π₯ RETURN π₯
It hands back:
0if both arguments describe the same pixel format- less-than-zero if
lhs < rhs - greater-than-zero if
lhs > rhs
periodt. π
π¦ SEE ALSO π¦
Kernel file ./include/video/pixel_format.h, plus pixel_format_equal(9) β go peek at those, bestie. π
cute sign-off time: source/version ./include/video, date October 2026, page pixel_format_cmp(9) β bye bestie! ππ
π¦ 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