#include "opj_includes.h"Functions | |
| void | jp2_write_jp2h (opj_jp2_t *jp2, opj_cio_t *cio) |
| Write the JP2H box - JP2 Header box (used in MJ2). | |
| bool | jp2_read_jp2h (opj_jp2_t *jp2, opj_cio_t *cio) |
| Read the JP2H box - JP2 Header box (used in MJ2). | |
| opj_jp2_t * | jp2_create_decompress (opj_common_ptr cinfo) |
| Creates a JP2 decompression structure. | |
| void | jp2_destroy_decompress (opj_jp2_t *jp2) |
| Destroy a JP2 decompressor handle. | |
| void | jp2_setup_decoder (opj_jp2_t *jp2, opj_dparameters_t *parameters) |
| Setup the decoder decoding parameters using user parameters. | |
| opj_image_t * | jp2_decode (opj_jp2_t *jp2, opj_cio_t *cio, opj_codestream_info_t *cstr_info) |
| Decode an image from a JPEG-2000 file stream. | |
| opj_jp2_t * | jp2_create_compress (opj_common_ptr cinfo) |
| Creates a JP2 compression structure. | |
| void | jp2_destroy_compress (opj_jp2_t *jp2) |
| Destroy a JP2 compressor handle. | |
| void | jp2_setup_encoder (opj_jp2_t *jp2, opj_cparameters_t *parameters, opj_image_t *image) |
| Setup the encoder parameters using the current image and using user parameters. | |
| bool | jp2_encode (opj_jp2_t *jp2, opj_cio_t *cio, opj_image_t *image, opj_codestream_info_t *cstr_info) |
| Encode an image into a JPEG-2000 file stream. | |
Local static functions | |
| static bool | jp2_read_boxhdr (opj_common_ptr cinfo, opj_cio_t *cio, opj_jp2_box_t *box) |
| Read box headers. | |
| static bool | jp2_read_ihdr (opj_jp2_t *jp2, opj_cio_t *cio) |
| Read the IHDR box - Image Header box. | |
| static void | jp2_write_ihdr (opj_jp2_t *jp2, opj_cio_t *cio) |
| static void | jp2_write_bpcc (opj_jp2_t *jp2, opj_cio_t *cio) |
| static bool | jp2_read_bpcc (opj_jp2_t *jp2, opj_cio_t *cio) |
| static void | jp2_write_colr (opj_jp2_t *jp2, opj_cio_t *cio) |
| static bool | jp2_read_colr (opj_jp2_t *jp2, opj_cio_t *cio) |
| static void | jp2_write_ftyp (opj_jp2_t *jp2, opj_cio_t *cio) |
| Write the FTYP box - File type box. | |
| static bool | jp2_read_ftyp (opj_jp2_t *jp2, opj_cio_t *cio) |
| Read the FTYP box - File type box. | |
| static int | jp2_write_jp2c (opj_jp2_t *jp2, opj_cio_t *cio, opj_image_t *image, opj_codestream_info_t *cstr_info) |
| static bool | jp2_read_jp2c (opj_jp2_t *jp2, opj_cio_t *cio, unsigned int *j2k_codestream_length, unsigned int *j2k_codestream_offset) |
| static void | jp2_write_jp (opj_cio_t *cio) |
| static bool | jp2_read_jp (opj_jp2_t *jp2, opj_cio_t *cio) |
| Read the JP box - JPEG 2000 signature. | |
| static bool | jp2_read_struct (opj_jp2_t *jp2, opj_cio_t *cio) |
| Decode the structure of a JP2 file. | |