Functions |
char * | j2k_convert_progression_order (OPJ_PROG_ORDER prg_order) |
| Converts an enum type progression order to string type.
|
static int | j2k_get_num_tp (opj_cp_t *cp, int pino, int tileno) |
int | j2k_calculate_tp (opj_cp_t *cp, int img_numcomp, opj_image_t *image, opj_j2k_t *j2k) |
| mem allocation for TLM marker
|
static opj_dec_mstabent_t * | j2k_dec_mstab_lookup (int id) |
| Read the lookup table containing all the marker, status and action.
|
opj_j2k_t * | j2k_create_decompress (opj_common_ptr cinfo) |
| Creates a J2K decompression structure.
|
void | j2k_destroy_decompress (opj_j2k_t *j2k) |
| Destroy a J2K decompressor handle.
|
void | j2k_setup_decoder (opj_j2k_t *j2k, opj_dparameters_t *parameters) |
| Setup the decoder decoding parameters using user parameters.
|
opj_image_t * | j2k_decode (opj_j2k_t *j2k, opj_cio_t *cio, opj_codestream_info_t *cstr_info) |
| Decode an image from a JPEG-2000 codestream.
|
opj_image_t * | j2k_decode_jpt_stream (opj_j2k_t *j2k, opj_cio_t *cio, opj_codestream_info_t *cstr_info) |
| Decode an image form a JPT-stream (JPEG 2000, JPIP)
|
opj_j2k_t * | j2k_create_compress (opj_common_ptr cinfo) |
| Creates a J2K compression structure.
|
void | j2k_destroy_compress (opj_j2k_t *j2k) |
| Destroy a J2K compressor handle.
|
void | j2k_setup_encoder (opj_j2k_t *j2k, opj_cparameters_t *parameters, opj_image_t *image) |
| Setup the encoder parameters using the current image and using user parameters.
|
opj_bool | j2k_encode (opj_j2k_t *j2k, opj_cio_t *cio, opj_image_t *image, opj_codestream_info_t *cstr_info) |
| Encode an image into a JPEG-2000 codestream.
|
|
static void | j2k_write_soc (opj_j2k_t *j2k) |
| Write the SOC marker (Start Of Codestream)
|
static void | j2k_read_soc (opj_j2k_t *j2k) |
| Read the SOC marker (Start of Codestream)
|
static void | j2k_write_siz (opj_j2k_t *j2k) |
| Write the SIZ marker (image and tile size)
|
static void | j2k_read_siz (opj_j2k_t *j2k) |
| Read the SIZ marker (image and tile size)
|
static void | j2k_write_com (opj_j2k_t *j2k) |
| Write the COM marker (comment)
|
static void | j2k_read_com (opj_j2k_t *j2k) |
| Read the COM marker (comment)
|
static void | j2k_write_cox (opj_j2k_t *j2k, int compno) |
| Write the value concerning the specified component in the marker COD and COC.
|
static void | j2k_read_cox (opj_j2k_t *j2k, int compno) |
| Read the value concerning the specified component in the marker COD and COC.
|
static void | j2k_write_cod (opj_j2k_t *j2k) |
| Write the COD marker (coding style default)
|
static void | j2k_read_cod (opj_j2k_t *j2k) |
| Read the COD marker (coding style default)
|
static void | j2k_write_coc (opj_j2k_t *j2k, int compno) |
| Write the COC marker (coding style component)
|
static void | j2k_read_coc (opj_j2k_t *j2k) |
| Read the COC marker (coding style component)
|
static void | j2k_write_qcx (opj_j2k_t *j2k, int compno) |
| Write the value concerning the specified component in the marker QCD and QCC.
|
static void | j2k_read_qcx (opj_j2k_t *j2k, int compno, int len) |
| Read the value concerning the specified component in the marker QCD and QCC.
|
static void | j2k_write_qcd (opj_j2k_t *j2k) |
| Write the QCD marker (quantization default)
|
static void | j2k_read_qcd (opj_j2k_t *j2k) |
| Read the QCD marker (quantization default)
|
static void | j2k_write_qcc (opj_j2k_t *j2k, int compno) |
| Write the QCC marker (quantization component)
|
static void | j2k_read_qcc (opj_j2k_t *j2k) |
| Read the QCC marker (quantization component)
|
static void | j2k_write_poc (opj_j2k_t *j2k) |
| Write the POC marker (progression order change)
|
static void | j2k_read_poc (opj_j2k_t *j2k) |
| Read the POC marker (progression order change)
|
static void | j2k_read_crg (opj_j2k_t *j2k) |
| Read the CRG marker (component registration)
|
static void | j2k_read_tlm (opj_j2k_t *j2k) |
| Read the TLM marker (tile-part lengths)
|
static void | j2k_read_plm (opj_j2k_t *j2k) |
| Read the PLM marker (packet length, main header)
|
static void | j2k_read_plt (opj_j2k_t *j2k) |
| Read the PLT marker (packet length, tile-part header)
|
static void | j2k_read_ppm (opj_j2k_t *j2k) |
| Read the PPM marker (packet packet headers, main header)
|
static void | j2k_read_ppt (opj_j2k_t *j2k) |
| Read the PPT marker (packet packet headers, tile-part header)
|
static void | j2k_write_tlm (opj_j2k_t *j2k) |
| Write the TLM marker (Mainheader)
|
static void | j2k_write_sot (opj_j2k_t *j2k) |
| Write the SOT marker (start of tile-part)
|
static void | j2k_read_sot (opj_j2k_t *j2k) |
| Read the SOT marker (start of tile-part)
|
static void | j2k_write_sod (opj_j2k_t *j2k, void *tile_coder) |
| Write the SOD marker (start of data)
|
static void | j2k_read_sod (opj_j2k_t *j2k) |
| Read the SOD marker (start of data)
|
static void | j2k_write_rgn (opj_j2k_t *j2k, int compno, int tileno) |
| Write the RGN marker (region-of-interest)
|
static void | j2k_read_rgn (opj_j2k_t *j2k) |
| Read the RGN marker (region-of-interest)
|
static void | j2k_write_eoc (opj_j2k_t *j2k) |
| Write the EOC marker (end of codestream)
|
static void | j2k_read_eoc (opj_j2k_t *j2k) |
| Read the EOC marker (end of codestream)
|
static void | j2k_read_unk (opj_j2k_t *j2k) |
| Read an unknown marker.
|
static void | j2k_add_mhmarker (opj_codestream_info_t *cstr_info, unsigned short int type, int pos, int len) |
| Add main header marker information.
|
static void | j2k_add_tlmarker (int tileno, opj_codestream_info_t *cstr_info, unsigned short int type, int pos, int len) |
| Add tile header marker information.
|