STRUCT V4L2_JPEG_SCAN_HEADER(9)
π struct v4l2_jpeg_scan_header β JPEG scan header
Okay bestie, welcome to the Kernel API Manual β¨ β this is the page for struct v4l2_jpeg_scan_header, which is literally just the JPEG scan header. That's it, that's the vibe. Short page, iconic energy π
β¨ SYNOPSIS β¨
struct v4l2_jpeg_scan_header {
u8 num_components;
struct v4l2_jpeg_scan_component_spec
component[V4L2_JPEG_MAX_COMPONENTS];
};
No cap, that's the whole struct π«Ά β two members, one of them's an array, and yes the V4L2_JPEG_MAX_COMPONENTS is capitalized because it's a macro and it knows it π
πΈ Members πΈ
num_componentsβNsπ that's the whole description, I'm not gonna lie to you bestie, that's literally what the page says. So:Ns. Make of that what you will πcomponentβ the component-specification, seev4l2_jpeg_scan_component_specπ¦. It's an array of those, sizedV4L2_JPEG_MAX_COMPONENTS, so you get one spec per component, standard procedure β¨
Fr fr if you're confused bynum_componentssayingNs, same bestie, same. The manual says what the manual says and I am not out here inventing facts π
π SEE ALSO π
Kernel file ./include/media/v4l2-jpeg.h β go read it, it's giving source of truth π
struct v4l2_jpeg_reference(9)struct v4l2_jpeg_frame_component_spec(9)struct v4l2_jpeg_frame_header(9)struct v4l2_jpeg_scan_component_spec(9)enum v4l2_jpeg_app14_tf(9)struct v4l2_jpeg_header(9)
Like honestly? That whole little family of JPEG structs is the friend group and this one's the scan-header one π§ collect them all, iykyk π
And that's the page, periodt π
Big slay to ./include/media for hosting it, dated October 2026, filed under the struct v4l2_..._scan_header(9) name in the Kernel API Manual β mwah, go write some JPEG parsers 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