Expand description
JPEG frame header (SOF0) parsing.
Extracts image dimensions, component information, and sampling factors from the Start of Frame marker segment.
Structs§
- Component
- Information about one image component from SOF.
- Frame
Info - Frame information parsed from SOF0/SOF2 marker.
Functions§
- parse_
sof - Parse a SOF0/SOF2 marker segment body (after the 2-byte length).
progressiveshould be true for SOF2 markers. - parse_
sof_ ext - Parse a SOF marker segment body with explicit progressive flag.