STRUCT MXC_JPEG_SOF(9)
π struct mxc_jpeg_sof(9) π
okay so bestie, welcome to the Kernel API Manual π this one is genuinely iconic β it's the struct that holds all the JPEG Start Of Frame marker fields. like, the moment a JPEG walks in and says "hi, here's my whole vibe," this is what catches it. no cap.
β¨ NAME β¨
struct mxc_jpeg_sof β JPEG Start Of Frame marker fields π¦
πΈ SYNOPSIS πΈ
ok so here's the whole shape of her, literally verbatim, do not touch:
struct mxc_jpeg_sof {
u16 length;
u8 precision;
u16 height, width;
u8 components_no;
struct mxc_jpeg_sof_comp comp[MXC_JPEG_MAX_COMPONENTS];
};
like... she's compact, she's organized, she ate. π
π Members π
bestie these are the fields, one by one, and yes we're doing all of them π«Ά
lengthβ the Start of Frame length. mmhm. that's the one. β¨precisionβ the precision, and to be super clear: that's bits per pixel per color component. not bits per pixel overall, per component. iykyk πheightβ the image height πwidthβ the image width βcomponents_noβ the number of color components. it's giving headcount energy πcompβ the component fields, one for each color component, living in acomp[MXC_JPEG_MAX_COMPONENTS]array. cute little array of little component structs, obsessed π
lowkey a reminder thatcompis typedstruct mxc_jpeg_sof_comp comp[MXC_JPEG_MAX_COMPONENTS];andMXC_JPEG_MAX_COMPONENTSis literally the cap on how many components you get. don't come for me, that's just what it says π
π SEE ALSO π
go read these next, they're all in the same friend group fr fr:
- Kernel file
./drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.hstructmxc_jpeg_fmt(9) struct mxc_jpeg_sof_comp(9)struct mxc_jpeg_sos_comp(9)struct mxc_jpeg_sos(9)
and that's the whole page, bestie π everything checks out, nothing skipped, main character energy only π
sign-off time π this little beauty came from the source ./drivers/media/platform/nxp/i... (yes that's the truncated path, that's literally how she's printed, i don't make the rules π), dated October 2026, and it's filed under the manual page struct mxc_jpeg_sof(9) π¦ go be great, mwah β¨
π¦ 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