Expand description
This crate provides a JPEG XL bitstream reader and container format parser.
§Bitstream reader
Bitstream reads all the raw bits needed to decode JPEG XL codestream. It provides methods
to read data types that appear on the JPEG XL specification.
§Container parser
ContainerParser tries to parse the bytes fed into it, and emits various parser events
including codestream data and auxiliary box data.
Re-exports§
pub use container::BitstreamKind;pub use container::ContainerParser;pub use container::ParseEvent;
Modules§
Structs§
- Bitstream
- Bitstream reader with borrowed in-memory buffer.
- U
- Bit count for use in
Bitstream::read_u32.
Enums§
- Error
- The error type for JPEG XL bitstream-level operations.
- U32Specifier
- Bit specifier for
Bitstream::read_u32.
Functions§
- unpack_
signed - Perform
UnpackSignedforu32, as specified in the JPEG XL specification. - unpack_
signed_ u64 - Perform
UnpackSignedforu64, as specified in the JPEG XL specification.
Type Aliases§
- Bitstream
Result - Shorthand for result type of
jxl_bitstream.