OpenJPEG 2.3.0

Functions
pi.c File Reference
`#include "opj_includes.h"`

## Functions
static void | opj_pi_emit_error (opj_pi_iterator_t *pi, const char *msg)
opj_pi_iterator_t * | opj_pi_create_decode (opj_image_t *p_image, opj_cp_t *p_cp, OPJ_UINT32 p_tile_no)
| Create a packet iterator for Decoder. More...
opj_pi_iterator_t * | opj_pi_initialise_encode (const opj_image_t *p_image, opj_cp_t *p_cp, OPJ_UINT32 p_tile_no, J2K_T2_MODE p_t2_mode)
| Creates a packet iterator for encoding. More...
void | opj_pi_create_encode (opj_pi_iterator_t *pi, opj_cp_t *cp, OPJ_UINT32 tileno, OPJ_UINT32 pino, OPJ_UINT32 tpnum, OPJ_INT32 tppos, J2K_T2_MODE t2_mode)
| Modify the packet iterator for enabling tile part generation. More...
void | opj_pi_destroy (opj_pi_iterator_t *p_pi, OPJ_UINT32 p_nb_elements)
| Destroys a packet iterator array. More...
void | opj_pi_update_encoding_parameters (const opj_image_t *p_image, opj_cp_t *p_cp, OPJ_UINT32 p_tile_no)
| Updates the encoding parameters of the codec. More...
OPJ_BOOL | opj_pi_next (opj_pi_iterator_t *pi)
| Modify the packet iterator to point to the next packet. More...
Local static functions
static OPJ_BOOL | opj_pi_next_lrcp (opj_pi_iterator_t *pi)
| Get next packet in layer-resolution-component-precinct order. More...
static OPJ_BOOL | opj_pi_next_rlcp (opj_pi_iterator_t *pi)
| Get next packet in resolution-layer-component-precinct order. More...
static OPJ_BOOL | opj_pi_next_rpcl (opj_pi_iterator_t *pi)
| Get next packet in resolution-precinct-component-layer order. More...
static OPJ_BOOL | opj_pi_next_pcrl (opj_pi_iterator_t *pi)
| Get next packet in precinct-component-resolution-layer order. More...
static OPJ_BOOL | opj_pi_next_cprl (opj_pi_iterator_t *pi)
| Get next packet in component-precinct-resolution-layer order. More...
static void | opj_pi_update_encode_poc_and_final (opj_cp_t *p_cp, OPJ_UINT32 p_tileno, OPJ_INT32 p_tx0, OPJ_INT32 p_tx1, OPJ_INT32 p_ty0, OPJ_INT32 p_ty1, OPJ_UINT32 p_max_prec, OPJ_UINT32 p_max_res, OPJ_UINT32 p_dx_min, OPJ_UINT32 p_dy_min)
| Updates the coding parameters if the encoding is used with Progression order changes and final (or cinema parameters are used). More...
static void | opj_pi_update_encode_not_poc (opj_cp_t *p_cp, OPJ_UINT32 p_num_comps, OPJ_UINT32 p_tileno, OPJ_INT32 p_tx0, OPJ_INT32 p_tx1, OPJ_INT32 p_ty0, OPJ_INT32 p_ty1, OPJ_UINT32 p_max_prec, OPJ_UINT32 p_max_res, OPJ_UINT32 p_dx_min, OPJ_UINT32 p_dy_min)
| Updates the coding parameters if the encoding is not used with Progression order changes and final (and cinema parameters are used). More...
static void | opj_get_encoding_parameters (const opj_image_t *p_image, const opj_cp_t *p_cp, OPJ_UINT32 tileno, OPJ_INT32 *p_tx0, OPJ_INT32 *p_tx1, OPJ_INT32 *p_ty0, OPJ_INT32 *p_ty1, OPJ_UINT32 *p_dx_min, OPJ_UINT32 *p_dy_min, OPJ_UINT32 *p_max_prec, OPJ_UINT32 *p_max_res)
| Gets the encoding parameters needed to update the coding parameters and all the pocs. More...
static void | opj_get_all_encoding_parameters (const opj_image_t *p_image, const opj_cp_t *p_cp, OPJ_UINT32 tileno, OPJ_INT32 *p_tx0, OPJ_INT32 *p_tx1, OPJ_INT32 *p_ty0, OPJ_INT32 *p_ty1, OPJ_UINT32 *p_dx_min, OPJ_UINT32 *p_dy_min, OPJ_UINT32 *p_max_prec, OPJ_UINT32 *p_max_res, OPJ_UINT32 **p_resolutions)
| Gets the encoding parameters needed to update the coding parameters and all the pocs. More...
static opj_pi_iterator_t * | opj_pi_create (const opj_image_t *p_image, const opj_cp_t *p_cp, OPJ_UINT32 tileno)
| Allocates memory for a packet iterator. More...
static void | opj_pi_update_decode_not_poc (opj_pi_iterator_t *p_pi, opj_tcp_t *p_tcp, OPJ_UINT32 p_max_precision, OPJ_UINT32 p_max_res)
| FIXME DOC. More...
static void | opj_pi_update_decode_poc (opj_pi_iterator_t *p_pi, opj_tcp_t *p_tcp, OPJ_UINT32 p_max_precision, OPJ_UINT32 p_max_res)
| FIXME DOC. More...
static OPJ_BOOL | opj_pi_check_next_level (OPJ_INT32 pos, opj_cp_t *cp, OPJ_UINT32 tileno, OPJ_UINT32 pino, const OPJ_CHAR *prog)
| FIXME DOC. More...

## Function Documentation

## ◆ opj_pi_emit_error()

static void opj_pi_emit_error | ( | opj_pi_iterator_t * | pi,
|  | const char * | msg
| ) |  |
| static

Referenced by opj_pi_next_cprl(), opj_pi_next_lrcp(), opj_pi_next_pcrl(), opj_pi_next_rlcp(), and opj_pi_next_rpcl().