OpenJPEG
2.1.0
|
Exported functions | |
OPJ_FLOAT64 | opj_clock (void) |
Difference in successive opj_clock() calls tells you the elapsed time. More... | |
Exported functions | |
void * | memalign (size_t, size_t) |
#define | opj_malloc(size) malloc(size) |
Allocate an uninitialized memory block. More... | |
#define | opj_calloc(num, size) calloc(num, size) |
Allocate a memory block with elements initialized to 0. More... | |
#define | HAVE_MEMALIGN |
Allocate memory aligned to a 16 byte boundry. More... | |
#define | opj_aligned_malloc(size) malloc(size) |
#define | opj_aligned_malloc(size) memalign(16, (size)) |
#define | opj_aligned_free(m) free(m) |
#define | opj_aligned_free(m) free(m) |
#define | opj_realloc(m, s) realloc(m, s) |
Reallocate memory blocks. More... | |
#define | opj_free(m) free(m) |
Deallocates or frees a memory block. More... | |
#define HAVE_MEMALIGN |
Allocate memory aligned to a 16 byte boundry.
size | Bytes to allocate |
#define opj_aligned_free | ( | m | ) | free(m) |
Referenced by opj_dwt_decode_real(), opj_dwt_decode_tile(), opj_t1_allocate_buffers(), and opj_t1_destroy().
#define opj_aligned_free | ( | m | ) | free(m) |
#define opj_aligned_malloc | ( | size | ) | malloc(size) |
Referenced by opj_dwt_decode_real(), opj_dwt_decode_tile(), and opj_t1_allocate_buffers().
#define opj_aligned_malloc | ( | size | ) | memalign(16, (size)) |
#define opj_calloc | ( | num, | |
size | |||
) | calloc(num, size) |
Allocate a memory block with elements initialized to 0.
num | Blocks to allocate |
size | Bytes per block to allocate |
Referenced by gene_cachemodel(), init_jpipdecoder(), j2k_get_cstr_index(), j2k_get_cstr_info(), j2k_read_ppm_v3(), opj_create_compress(), opj_create_decompress(), opj_image_create(), opj_image_create0(), opj_image_tile_create(), opj_j2k_allocate_tile_element_cstr_index(), opj_j2k_check_poc_val(), opj_j2k_create_compress(), opj_j2k_create_cstr_index(), opj_j2k_create_decompress(), opj_j2k_read_ppt(), opj_j2k_read_siz(), opj_j2k_read_sot(), opj_j2k_setup_encoder(), opj_j2k_update_image_data(), opj_jp2_check_color(), opj_jp2_create(), opj_jp2_read_colr(), opj_jp2_read_ftyp(), opj_jp2_read_header_procedure(), opj_jp2_read_ihdr(), opj_jp2_write_bpcc(), opj_jp2_write_colr(), opj_jp2_write_ftyp(), opj_jp2_write_ihdr(), opj_pi_create(), opj_pi_create_decode(), opj_pi_initialise_encode(), opj_procedure_list_create(), opj_stream_create(), opj_t1_create(), opj_t2_create(), opj_tcd_code_block_dec_allocate(), opj_tcd_code_block_enc_allocate(), opj_tcd_create(), opj_tcd_encode_tile(), opj_tcd_init(), opj_tgt_create(), opj_write_cidx(), opj_write_phix(), opj_write_ppix(), opj_write_thix(), and parse_comps().
#define opj_free | ( | m | ) | free(m) |
Deallocates or frees a memory block.
m | Previously allocated memory block to be freed |
Referenced by add_body_stream(), add_emptyboxstream(), add_emptytilestream(), add_EOC(), add_msgstream(), add_padding(), add_SOTmkr(), aux_streaming(), check_JP2boxidx(), delete_auxresponse(), delete_cachemodel(), delete_cachemodellist(), delete_channel(), delete_channellist(), delete_COD(), delete_index(), delete_message_in_msgqueue(), delete_msgqueue(), delete_query(), delete_session(), delete_sessionlist(), delete_target(), delete_targetlist(), destroy_jpipdecoder(), fread_jpip(), get_index_from_JP2file(), get_SIZ_from_jpipstream(), handle_CIDreqMSG(), handle_dstCIDreqMSG(), handle_JP2saveMSG(), handle_JPIPstreamMSG(), handle_PNMreqMSG(), handle_SIZreqMSG(), handle_TIDreqMSG(), handle_XMLreqMSG(), identify_cid(), j2k_destroy_cstr_index(), j2k_get_cstr_index(), j2k_read_ppm_v3(), jpipstream_to_pnm(), open_jp2file(), opj_alloc_tile_component_data(), opj_bio_destroy(), opj_copy_image_header(), opj_create_compress(), opj_create_decompress(), opj_destroy_codec(), opj_destroy_cstr_info(), opj_dwt_encode_procedure(), opj_image_destroy(), opj_j2k_add_mct(), opj_j2k_add_mhmarker(), opj_j2k_add_tlmarker(), opj_j2k_check_poc_val(), opj_j2k_cp_destroy(), opj_j2k_decode_one_tile(), opj_j2k_decode_tiles(), opj_j2k_destroy(), opj_j2k_destroy_header_memory(), opj_j2k_encode(), opj_j2k_end_encoding(), opj_j2k_get_tile(), opj_j2k_read_header_procedure(), opj_j2k_read_mcc(), opj_j2k_read_mco(), opj_j2k_read_mct(), opj_j2k_read_ppt(), opj_j2k_read_sod(), opj_j2k_read_sot(), opj_j2k_read_tile_header(), opj_j2k_setup_encoder(), opj_j2k_setup_mct_encoding(), opj_j2k_tcp_data_destroy(), opj_j2k_tcp_destroy(), opj_j2k_write_cbd(), opj_j2k_write_cod(), opj_j2k_write_com(), opj_j2k_write_mcc_record(), opj_j2k_write_mco(), opj_j2k_write_mct_record(), opj_j2k_write_poc(), opj_j2k_write_qcd(), opj_j2k_write_siz(), opj_j2k_write_tlm(), opj_jp2_apply_cdef(), opj_jp2_apply_pclr(), opj_jp2_check_color(), opj_jp2_destroy(), opj_jp2_free_pclr(), opj_jp2_read_cdef(), opj_jp2_read_header_procedure(), opj_jp2_read_pclr(), opj_jp2_write_ftyp(), opj_jp2_write_jp2h(), opj_matrix_inversion_f(), opj_mct_decode_custom(), opj_mct_encode_custom(), opj_mqc_destroy(), opj_mqc_init_dec(), opj_pi_create_decode(), opj_pi_destroy(), opj_pi_initialise_encode(), opj_procedure_list_add_procedure(), opj_procedure_list_create(), opj_procedure_list_destroy(), opj_raw_destroy(), opj_stream_create(), opj_stream_destroy(), opj_t1_destroy(), opj_t2_decode_packets(), opj_t2_destroy(), opj_t2_init_seg(), opj_t2_read_packet_data(), opj_tcd_code_block_dec_deallocate(), opj_tcd_code_block_enc_allocate_data(), opj_tcd_code_block_enc_deallocate(), opj_tcd_create(), opj_tcd_destroy(), opj_tcd_free_tile(), opj_tcd_init_tile(), opj_tcd_mct_decode(), opj_tcd_mct_encode(), opj_tgt_create(), opj_tgt_destroy(), opj_write_cidx(), opj_write_phix(), opj_write_ppix(), opj_write_thix(), parse_jp2file(), recons_jp2(), recv_ack(), set_cidxdata(), set_cptrdata(), set_mainmhixdata(), set_ppixdata(), set_thixdata(), set_tpixdata(), terminate_dec_server(), and update_JPIPstream().
#define opj_malloc | ( | size | ) | malloc(size) |
Allocate an uninitialized memory block.
size | Bytes to allocate |
Referenced by add_emptyboxstream(), add_emptytilestream(), add_EOC(), add_msgstream(), add_padding(), add_SOTmkr(), aux_streaming(), enqueue_mainheader(), enqueue_precinct(), enqueue_tile(), enqueue_tileheader(), fread_jpip(), gene_auxresponse(), gene_cachemodel(), gene_cachemodellist(), gene_channel(), gene_channellist(), gene_emptytilestream(), gene_metamsg(), gene_msgqueue(), gene_msgstream(), gene_session(), gene_sessionlist(), gene_target(), gene_targetlist(), get_CODmkrdata_from_j2kstream(), get_index_from_JP2file(), get_initquery(), get_SIZ_from_jpipstream(), handle_XMLreqMSG(), init_dec_server(), j2k_get_cstr_index(), open_jp2file(), opj_alloc_tile_component_data(), opj_bio_create(), opj_copy_image_header(), opj_dwt_encode_procedure(), opj_j2k_add_mct(), opj_j2k_copy_default_tcp_and_create_tcd(), opj_j2k_create_compress(), opj_j2k_decode_one_tile(), opj_j2k_decode_tiles(), opj_j2k_read_cod(), opj_j2k_read_mct(), opj_j2k_read_sod(), opj_j2k_setup_encoder(), opj_j2k_setup_mct_encoding(), opj_j2k_update_rates(), opj_jp2_apply_pclr(), opj_jp2_read_cdef(), opj_jp2_read_cmap(), opj_jp2_read_pclr(), opj_jp2_setup_encoder(), opj_jp2_write_cdef(), opj_matrix_inversion_f(), opj_mct_decode_custom(), opj_mct_encode_custom(), opj_mqc_create(), opj_pi_create_decode(), opj_pi_initialise_encode(), opj_raw_create(), opj_set_MCT(), opj_stream_create(), opj_t2_decode_packets(), opj_tcd_code_block_dec_allocate(), opj_tcd_code_block_enc_allocate_data(), opj_tcd_decode_tile(), opj_tcd_init_tile(), opj_tcd_mct_decode(), opj_tcd_mct_encode(), opj_tcd_rateallocate(), parse_jp2file(), parse_JPIPstream(), parse_phld(), set_CODmkrdata(), set_ppixdata(), set_thixdata(), and update_JPIPstream().
#define opj_realloc | ( | m, | |
s | |||
) | realloc(m, s) |
Reallocate memory blocks.
m | Pointer to previously allocated memory block |
s | New size in bytes |
Referenced by j2k_read_ppm_v3(), opj_alloc_tile_component_data(), opj_j2k_add_mhmarker(), opj_j2k_add_tlmarker(), opj_j2k_decode_one_tile(), opj_j2k_decode_tiles(), opj_j2k_encode(), opj_j2k_read_header_procedure(), opj_j2k_read_mcc(), opj_j2k_read_mct(), opj_j2k_read_ppt(), opj_j2k_read_sod(), opj_j2k_read_sot(), opj_j2k_read_tile_header(), opj_j2k_setup_mct_encoding(), opj_j2k_write_cbd(), opj_j2k_write_cod(), opj_j2k_write_com(), opj_j2k_write_mcc_record(), opj_j2k_write_mco(), opj_j2k_write_mct_record(), opj_j2k_write_poc(), opj_j2k_write_qcd(), opj_j2k_write_siz(), opj_j2k_write_tlm(), opj_jp2_read_header_procedure(), opj_mqc_init_dec(), opj_procedure_list_add_procedure(), opj_t2_init_seg(), opj_t2_read_packet_data(), opj_tcd_init_tile(), and opj_tgt_init().
void* memalign | ( | size_t | , |
size_t | |||
) |
OPJ_FLOAT64 opj_clock | ( | void | ) |
Difference in successive opj_clock() calls tells you the elapsed time.