Crate mozjpeg_sys[][src]

Expand description

Please read libjpeg manual for description of functions in this crate.

Re-exports

pub use J_COLOR_SPACE::*;
pub use J_BOOLEAN_PARAM::*;
pub use J_FLOAT_PARAM::*;
pub use J_INT_PARAM::*;
pub use J_DCT_METHOD::JDCT_ISLOW as JDCT_DEFAULT;
pub use J_DCT_METHOD::JDCT_IFAST as JDCT_FASTEST;

Structs

Routines that are to be used by both halves of the library are declared to receive a pointer to this structure. There are no actual instances of jpeg_common_struct, only of jpeg_compress_struct and jpeg_decompress_struct.

Error handler object

This is an opaque type. Don’t assume size or alignment of this struct.

This is an opaque type. Don’t assume size or alignment of this struct.

Enums

These 32-bit GUIDs and the corresponding jpeg_*_get_*_param() jpeg_*_set_*_param() functions allow for extending the libjpeg API without breaking backward ABI compatibility. The actual parameters are stored in the opaque jpeg_comp_master and jpeg_decomp_master structs.

Equivalent to C’s void type when used as a pointer.

Constants

The basic DCT block is 8x8 samples

DCTSIZE²

lasts until done with image/datastream

lasts until master record is destroyed

Quantization tables are numbered 0..3

Functions

Type Definitions

type for individual integer DCT coefficient

one block of coefficients

pointer to one row of coefficient blocks

ptr to some rows (a 2-D sample array)

a 3-D sample array: top index is color

ptr to one image row of pixel samples.

Equivalent to C’s signed int (int) type.

Equivalent to C’s signed long (long) type.

Equivalent to C’s unsigned int type.

Equivalent to C’s unsigned long type.