Skip to main content

Module codec

Module codec 

Source
Expand description

The merged opj_codec_t* handle (the core split its Codec into Decoder/Encoder; this crate keeps the single-pointer contract). The merged codec handle behind the single opj_codec_t* C-ABI pointer contract.

The core split its merged Codec into openjp2::Decoder/Encoder (0.7) with a C-type-free Result surface. This crate keeps one handle type by wrapping either direction, and is the only place that translates between the C-shaped parameters (opj_dparameters_t, opj_cparameters_t) and the core API.

Enumsยง

Codec
The opj_codec_t* handle: either a decompressor or a compressor.