Crate openjpeg_sys
source · [−]Structs
Index structure of the codestream (FIXME should be expand and enhance)
Index structure of the codestream
Information structure about the codestream (FIXME should be expand and enhance)
Compression parameters
Decompression parameters
Defines image data and characteristics
Defines a single image component
Component parameters structure used by the opj_image_create function
Index structure of the JP2 file EXPERIMENTAL FOR THE MOMENT
Info structure of the JP2 file EXPERIMENTAL FOR THE MOMENT
Marker structure
Index structure : Information concerning a packet inside tile
Progression order changes
Tile-component coding parameters information
Index structure about a tile
Index structure : information regarding tiles
Tile coding parameters information
Index structure about a tile part
Index structure : Information concerning tile-parts
Enums
DEPRECATED: use RSIZ, OPJ_PROFILE_* and OPJ_EXTENSION_* instead Digital cinema operation mode
Supported codec
Supported image color spaces
DEPRECATED: use RSIZ, OPJ_PROFILE_* and OPJ_EXTENSION_* instead Digital cinema operation mode
Supported codec
Supported image color spaces
Progression order
DEPRECATED: use RSIZ, OPJ_PROFILE_* and OPJ_EXTENSION_* instead Rsiz Capabilities
Progression order
DEPRECATED: use RSIZ, OPJ_PROFILE_* and OPJ_EXTENSION_* instead Rsiz Capabilities
Constants
Functions
Allocates worker threads for the compressor/decompressor.
Creates a J2K/JP2 compression structure
Creates a J2K/JP2 decompression structure
Decode an image from a JPEG-2000 codestream
Reads a tile data. This function is compulsory and allows one to decode tile data. opj_read_tile_header should be called before. The user may need to refer to the image got by opj_read_header to understand the size being taken by the tile.
Destroy a decompressor handle
Destroy Codestream information after compression or decompression @param cstr_info Codestream information structure
Dump the codec information into the output stream
Encode an image into a JPEG-2000 codestream
Specify extra options for the encoder.
End to compress the current image.
Read after the codestream if necessary
Get the codestream index from the codec
Get the codestream information from the codec
Get the decoded tile from the codec
Get the JP2 file index from the codec FIXME
Get the JP2 file information from the codec FIXME
Return the number of virtual CPUs
Returns if the library is built with thread support. OPJ_TRUE if mutex, condition, thread, thread pool are available.
Create an image
Allocator for opj_image_t->comps[].data To be paired with opj_image_data_free.
Destructor for opj_image_t->comps[].data To be paired with opj_image_data_alloc.
Deallocate any resources associated with an image
Creates an image without allocating memory for the image (used in the new version of the library).
Decodes an image header.
Reads a tile header. This function is compulsory and allows one to know the size of the tile that will be decoded. The user may need to refer to the image got by opj_read_header to understand the size being taken by the tile.
Sets the MCT matrix to use.
Sets the given area to be decoded. This function should be called right after opj_read_header and before any tile header reading.
Restrict the number of components to decode.
Set the resolution factor of the decoded image
Set decoding parameters to default values
Set encoding parameters to default values, that means :
Set the error handler use by openjpeg.
Set the info handler use by openjpeg.
Set the warning handler use by openjpeg.
Setup the decoder with decompression parameters provided by the user and with the message handler provided by the user.
Setup the encoder parameters using the current image and using user parameters.
Start to compress the current image.
Creates an abstract stream. This function does nothing except allocating memory and initializing the abstract stream.
Create a stream from a file identified with its filename with default parameters (helper function)
Create a stream from a file identified with its filename with a specific buffer size
Creates an abstract stream. This function does nothing except allocating memory and initializing the abstract stream.
Destroys a stream created by opj_create_stream. This function does NOT close the abstract stream. If needed the user must close its own implementation of the stream.
Sets the given function to be used as a read function.
Sets the given function to be used as a seek function, the stream is then seekable, using SEEK_SET behavior.
Sets the given function to be used as a skip function.
Sets the given data to be used as a user data for the stream.
Sets the length of the user data for the stream.
Sets the given function to be used as a write function.
Writes a tile with the given data.
Type Definitions
JPEG2000 codec V2.
Index structure of the codestream (FIXME should be expand and enhance)
Index structure of the codestream
Information structure about the codestream (FIXME should be expand and enhance)
Compression parameters
Decompression parameters
Component parameters structure used by the opj_image_create function
Defines a single image component
Defines image data and characteristics
Index structure of the JP2 file EXPERIMENTAL FOR THE MOMENT
Info structure of the JP2 file EXPERIMENTAL FOR THE MOMENT
Marker structure
Callback function prototype for events
Index structure : Information concerning a packet inside tile
Progression order changes
Tile-component coding parameters information
Index structure about a tile
Index structure : information regarding tiles
Tile coding parameters information
Index structure about a tile part
Index structure : Information concerning tile-parts