OpenJPEG
1.5.1
|
Exported functions (see also openjpeg.h) | |
static INLINE int | int_min (int a, int b) |
Get the minimum of two integers. More... | |
static INLINE int | int_max (int a, int b) |
Get the maximum of two integers. More... | |
static INLINE int | int_clamp (int a, int min, int max) |
Clamp an integer inside an interval. More... | |
static INLINE int | int_abs (int a) |
static INLINE int | int_ceildiv (int a, int b) |
Divide an integer and round upwards. More... | |
static INLINE int | int_ceildivpow2 (int a, int b) |
Divide an integer by a power of 2 and round upwards. More... | |
static INLINE int | int_floordivpow2 (int a, int b) |
Divide an integer by a power of 2 and round downwards. More... | |
static INLINE int | int_floorlog2 (int a) |
Get logarithm of an integer and round downwards. More... | |
|
static |
Referenced by t1_enc_clnpass(), t1_enc_clnpass_step(), t1_enc_refpass_step(), and t1_enc_sigpass_step().
|
static |
Divide an integer and round upwards.
Referenced by j2k_read_siz(), j2k_setup_encoder(), pi_create_decode(), pi_initialise_encode(), pi_next_cprl(), pi_next_pcrl(), pi_next_rpcl(), tcd_encode_tile(), tcd_init_encode(), tcd_malloc_decode(), tcd_malloc_decode_tile(), and tcd_malloc_encode().
|
static |
Divide an integer by a power of 2 and round upwards.
Referenced by pi_create_decode(), pi_initialise_encode(), tcd_decode_tile(), tcd_init_encode(), tcd_malloc_decode(), tcd_malloc_decode_tile(), and tcd_malloc_encode().
|
static |
Clamp an integer inside an interval.
References min.
Referenced by tcd_decode_tile().
|
static |
Divide an integer by a power of 2 and round downwards.
Referenced by pi_create_decode(), pi_initialise_encode(), pi_next_cprl(), pi_next_pcrl(), pi_next_rpcl(), tcd_init_encode(), tcd_malloc_decode_tile(), and tcd_malloc_encode().
|
static |
Get logarithm of an integer and round downwards.
Referenced by dwt_encode_stepsize(), j2k_setup_encoder(), t1_encode_cblk(), t2_decode_packet(), and t2_encode_packet().
|
static |
Get the maximum of two integers.
Referenced by main(), pi_create_decode(), pi_initialise_encode(), t1_encode_cblk(), t2_decode_packets(), t2_encode_packet(), tcd_init_encode(), tcd_malloc_decode(), tcd_malloc_decode_tile(), and tcd_malloc_encode().
|
static |
Get the minimum of two integers.
Referenced by j2k_read_poc(), j2k_read_sod(), j2k_write_poc(), pi_create_decode(), pi_initialise_encode(), pi_next_cprl(), pi_next_pcrl(), pi_next_rpcl(), t1_init_ctxno_sc(), t1_init_spb(), t2_decode_packet(), tcd_init_encode(), tcd_malloc_decode(), tcd_malloc_decode_tile(), tcd_malloc_encode(), tcd_rateallocate(), and v4dwt_decode().