Skip to main content

Crate openjp2_ctypes

Crate openjp2_ctypes 

Source
Expand description

C-ABI mirror types and constants for the OpenJPEG openjpeg.h surface.

The openjp2 core depends on this crate for the C-header-shaped types it still uses internally (the migration to Rust primitives is incremental); the openjp2-capi crate is the only consumer that passes these types across the FFI boundary.

Re-exports§

pub use COLOR_SPACE as OPJ_COLOR_SPACE;
pub use CODEC_FORMAT as OPJ_CODEC_FORMAT;
pub use COLOR_SPACE::*;
pub use CODEC_FORMAT::*;

Modules§

consts

Structs§

opj_dparameters
opj_image_comptparm
opj_marker_info
opj_packet_info
opj_poc
opj_tp_index

Enums§

CODEC_FORMAT
Supported codec
COLOR_SPACE
Supported image color spaces

Constants§

OPJ_CINEMA2K
OPJ_CINEMA2K_24
OPJ_CINEMA2K_48
OPJ_CINEMA4K
OPJ_CINEMA4K_24
OPJ_CPRL
OPJ_LRCP
OPJ_MCT
OPJ_OFF
OPJ_PCRL
OPJ_PROG_UNKNOWN
OPJ_RLCP
OPJ_RPCL
OPJ_STD_RSIZ

Type Aliases§

CINEMA_MODE
OPJ_BOOL
OPJ_BYTE
OPJ_CINEMA_MODE
OPJ_FLOAT32
OPJ_INT32
OPJ_OFF_T
OPJ_PROG_ORDER
OPJ_RSIZ_CAPABILITIES
OPJ_SIZE_T
OPJ_UINT16
OPJ_UINT32
OPJ_UINT64
PROG_ORDER
RSIZ_CAPABILITIES
opj_codec_t
opj_dparameters_t
opj_flag_t
opj_image_cmptparm_t
opj_marker_info_t
opj_packet_info_t
opj_poc_t
opj_stream_free_user_data_fn
opj_stream_read_fn
opj_stream_seek_fn
opj_stream_skip_fn
opj_stream_t
opj_stream_write_fn
opj_tp_index_t