nal_h264_color_primaries(9)
π¦ nal_h264_color_primaries(9) β Kernel API Manual, bestie edition π¦
okay so welcome to the Kernel API Manual, where this little function is legit the main character of color-space translation. stay with me, it's giving short-and-iconic π
β¨ NAME β¨
nal_h264_color_primaries β Get color_primaries for v4l2 colorspace π
πΈ SYNOPSIS πΈ
int nal_h264_color_primaries (enum v4l2_colorspace colorspace );
that's the whole call, no cap π«Ά
π ARGUMENTS π
colorspaceβ the color space asenum v4l2_colorspaceπ¨β¨
π« DESCRIPTION π«
okay so this one is lowkey a translator bestie: it converts the enum v4l2_colorspace to color_primaries as specified in Rec. ITU-T H.264 (04/2017) E.2.1. that's the spec, and it ate. fr fr.
π₯ RETURN π₯
it hands back the color_primaries value for the passed colorspace. iconic return behavior, ngl π
π SEE ALSO π
- Kernel file
./drivers/media/platform/allegro-dvt/nal-h264.hποΈ nal_h264_profile(9)nal_h264_level(9)nal_h264_full_range(9)nal_h264_transfer_characteristics(9)nal_h264_matrix_coeffs(9)
xoxo, your Unix bestie π«Ά β source/version ./drivers/media/platform/alleg..., date October 2026. 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