The C-ABI encoder parameters mirror (opj_cparameters_t). The core uses the safe owned openjp2_core::EncoderParameters; this module owns the #[repr(C)] struct C callers fill in, plus the marshalling setters.
opj_cparameters_t
openjp2_core::EncoderParameters
#[repr(C)]