OpenJPEG
2.3.1
|
Exported functions (see also openjpeg.h) | |
static INLINE OPJ_INT32 | opj_int_min (OPJ_INT32 a, OPJ_INT32 b) |
Get the minimum of two integers More... | |
static INLINE OPJ_UINT32 | opj_uint_min (OPJ_UINT32 a, OPJ_UINT32 b) |
Get the minimum of two integers More... | |
static INLINE OPJ_INT32 | opj_int_max (OPJ_INT32 a, OPJ_INT32 b) |
Get the maximum of two integers More... | |
static INLINE OPJ_UINT32 | opj_uint_max (OPJ_UINT32 a, OPJ_UINT32 b) |
Get the maximum of two integers More... | |
static INLINE OPJ_UINT32 | opj_uint_adds (OPJ_UINT32 a, OPJ_UINT32 b) |
Get the saturated sum of two unsigned integers More... | |
static INLINE OPJ_UINT32 | opj_uint_subs (OPJ_UINT32 a, OPJ_UINT32 b) |
Get the saturated difference of two unsigned integers More... | |
static INLINE OPJ_INT32 | opj_int_clamp (OPJ_INT32 a, OPJ_INT32 min, OPJ_INT32 max) |
Clamp an integer inside an interval More... | |
static INLINE OPJ_INT64 | opj_int64_clamp (OPJ_INT64 a, OPJ_INT64 min, OPJ_INT64 max) |
Clamp an integer inside an interval More... | |
static INLINE OPJ_INT32 | opj_int_abs (OPJ_INT32 a) |
More... | |
static INLINE OPJ_INT32 | opj_int_ceildiv (OPJ_INT32 a, OPJ_INT32 b) |
Divide an integer and round upwards More... | |
static INLINE OPJ_UINT32 | opj_uint_ceildiv (OPJ_UINT32 a, OPJ_UINT32 b) |
Divide an integer and round upwards More... | |
static INLINE OPJ_INT32 | opj_int_ceildivpow2 (OPJ_INT32 a, OPJ_INT32 b) |
Divide an integer by a power of 2 and round upwards More... | |
static INLINE OPJ_INT32 | opj_int64_ceildivpow2 (OPJ_INT64 a, OPJ_INT32 b) |
Divide a 64bits integer by a power of 2 and round upwards More... | |
static INLINE OPJ_UINT32 | opj_uint_ceildivpow2 (OPJ_UINT32 a, OPJ_UINT32 b) |
Divide an integer by a power of 2 and round upwards More... | |
static INLINE OPJ_INT32 | opj_int_floordivpow2 (OPJ_INT32 a, OPJ_INT32 b) |
Divide an integer by a power of 2 and round downwards More... | |
static INLINE OPJ_INT32 | opj_int_floorlog2 (OPJ_INT32 a) |
Get logarithm of an integer and round downwards More... | |
static INLINE OPJ_UINT32 | opj_uint_floorlog2 (OPJ_UINT32 a) |
Get logarithm of an integer and round downwards More... | |
static INLINE OPJ_INT32 | opj_int_fix_mul (OPJ_INT32 a, OPJ_INT32 b) |
Multiply two fixed-precision rational numbers. More... | |
static INLINE OPJ_INT32 | opj_int_fix_mul_t1 (OPJ_INT32 a, OPJ_INT32 b) |
Divide a 64bits integer by a power of 2 and round upwards
Referenced by opj_tcd_init_tile().
Clamp an integer inside an interval
Referenced by opj_tcd_dc_level_shift_decode().
Referenced by opj_t1_enc_clnpass(), opj_t1_enc_clnpass_step(), opj_t1_enc_refpass_step(), and opj_t1_enc_sigpass_step().
Divide an integer and round upwards
Referenced by opj_get_all_encoding_parameters(), opj_get_encoding_parameters(), opj_get_tile_dimensions(), opj_j2k_get_tile(), opj_j2k_read_siz(), opj_j2k_set_decode_area(), opj_j2k_setup_encoder(), opj_j2k_update_image_dimensions(), opj_pi_next_cprl(), opj_pi_next_pcrl(), opj_pi_next_rpcl(), and opj_tcd_init_tile().
Divide an integer by a power of 2 and round upwards
Referenced by init_tilec(), opj_get_all_encoding_parameters(), opj_get_encoding_parameters(), opj_j2k_get_tile(), opj_j2k_update_image_dimensions(), and opj_tcd_init_tile().
Clamp an integer inside an interval
Referenced by opj_tcd_dc_level_shift_decode().
Multiply two fixed-precision rational numbers.
a | |
b |
Referenced by opj_dwt_encode_1_real(), opj_mct_encode_custom(), and opj_mct_encode_real().
References T1_NMSEDEC_FRACBITS.
Referenced by opj_t1_encode_cblks().
Divide an integer by a power of 2 and round downwards
Referenced by opj_get_all_encoding_parameters(), opj_get_encoding_parameters(), opj_pi_next_cprl(), opj_pi_next_pcrl(), opj_pi_next_rpcl(), and opj_tcd_init_tile().
Get logarithm of an integer and round downwards
Referenced by opj_dwt_encode_stepsize(), opj_j2k_setup_encoder(), opj_t1_encode_cblk(), and opj_t2_encode_packet().
Get the maximum of two integers
Referenced by main(), opj_j2k_update_rates(), opj_t1_encode_cblk(), opj_t2_encode_packet(), and opj_tcd_init_tile().
Get the minimum of two integers
Referenced by opj_get_all_encoding_parameters(), opj_j2k_update_rates(), opj_j2k_write_poc_in_memory(), opj_t2_read_packet_header(), opj_tcd_init_tile(), opj_v4dwt_decode(), t1_init_ctxno_sc(), and t1_init_spb().
|
static |
Get the saturated sum of two unsigned integers
Referenced by opj_dwt_segment_grow(), opj_get_all_encoding_parameters(), opj_get_encoding_parameters(), opj_image_comp_header_update(), opj_j2k_read_siz(), opj_tcd_init_tile(), and opj_tcd_is_subband_area_of_interest().
|
static |
Divide an integer and round upwards
Referenced by opj_image_comp_header_update(), opj_j2k_update_rates(), opj_sparse_array_int32_create(), opj_tcd_decode_tile(), opj_tcd_is_subband_area_of_interest(), and opj_tcd_is_whole_tilecomp_decoding().
|
static |
Divide an integer by a power of 2 and round upwards
Referenced by opj_dwt_get_band_coordinates(), opj_image_comp_header_update(), opj_j2k_update_image_data(), opj_tcd_decode_tile(), and opj_tcd_is_subband_area_of_interest().
|
static |
Get logarithm of an integer and round downwards
Referenced by opj_t2_read_packet_header().
|
static |
Get the maximum of two integers
Referenced by opj_dwt_decode_partial_97(), opj_dwt_decode_partial_tile(), opj_get_all_encoding_parameters(), opj_get_encoding_parameters(), opj_image_comp_header_update(), opj_j2k_get_max_coc_size(), opj_j2k_get_max_poc_size(), opj_j2k_get_max_toc_size(), opj_t2_decode_packets(), opj_tcd_decode_tile(), opj_tcd_init_tile(), opj_tcd_is_subband_area_of_interest(), and opj_tcd_is_whole_tilecomp_decoding().
|
static |
Get the minimum of two integers
Referenced by opj_dwt_decode_partial_97(), opj_dwt_decode_partial_tile(), opj_dwt_init_sparse_array(), opj_dwt_segment_grow(), opj_get_all_encoding_parameters(), opj_get_encoding_parameters(), opj_image_comp_header_update(), opj_j2k_read_poc(), opj_pi_next_cprl(), opj_pi_next_pcrl(), opj_pi_next_rpcl(), opj_pi_update_decode_poc(), opj_sparse_array_int32_read_or_write(), opj_tcd_decode_tile(), opj_tcd_init_tile(), opj_tcd_is_subband_area_of_interest(), opj_tcd_is_whole_tilecomp_decoding(), opj_tcd_rateallocate(), and opj_v4dwt_decode_step2().
|
static |
Get the saturated difference of two unsigned integers
Referenced by opj_dwt_decode_partial_97(), opj_dwt_decode_partial_tile(), and opj_dwt_segment_grow().