Lines Matching refs:m_encoder
911 opj_write_bytes(p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_current, in opj_j2k_update_tlm()
913 ++p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_current; in opj_j2k_update_tlm()
915 opj_write_bytes(p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_current, in opj_j2k_update_tlm()
917 p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_current += 4; in opj_j2k_update_tlm()
1872 l_start_stream = p_j2k->m_specific_param.m_encoder.m_header_tile_data; in opj_j2k_write_soc()
1962 if (l_size_len > p_j2k->m_specific_param.m_encoder.m_header_tile_data_size) { in opj_j2k_write_siz()
1965 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_size_len); in opj_j2k_write_siz()
1967 opj_free(p_j2k->m_specific_param.m_encoder.m_header_tile_data); in opj_j2k_write_siz()
1968 p_j2k->m_specific_param.m_encoder.m_header_tile_data = NULL; in opj_j2k_write_siz()
1969 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = 0; in opj_j2k_write_siz()
1973 p_j2k->m_specific_param.m_encoder.m_header_tile_data = new_header_tile_data; in opj_j2k_write_siz()
1974 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = l_size_len; in opj_j2k_write_siz()
1977 l_current_ptr = p_j2k->m_specific_param.m_encoder.m_header_tile_data; in opj_j2k_write_siz()
2032 p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_size_len, in opj_j2k_write_siz()
2484 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size) { in opj_j2k_write_com()
2486 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_total_com_size); in opj_j2k_write_com()
2488 opj_free(p_j2k->m_specific_param.m_encoder.m_header_tile_data); in opj_j2k_write_com()
2489 p_j2k->m_specific_param.m_encoder.m_header_tile_data = NULL; in opj_j2k_write_com()
2490 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = 0; in opj_j2k_write_com()
2495 p_j2k->m_specific_param.m_encoder.m_header_tile_data = new_header_tile_data; in opj_j2k_write_com()
2496 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = l_total_com_size; in opj_j2k_write_com()
2499 l_current_ptr = p_j2k->m_specific_param.m_encoder.m_header_tile_data; in opj_j2k_write_com()
2514 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_total_com_size, in opj_j2k_write_com()
2568 if (l_code_size > p_j2k->m_specific_param.m_encoder.m_header_tile_data_size) { in opj_j2k_write_cod()
2570 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_code_size); in opj_j2k_write_cod()
2572 opj_free(p_j2k->m_specific_param.m_encoder.m_header_tile_data); in opj_j2k_write_cod()
2573 p_j2k->m_specific_param.m_encoder.m_header_tile_data = NULL; in opj_j2k_write_cod()
2574 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = 0; in opj_j2k_write_cod()
2578 p_j2k->m_specific_param.m_encoder.m_header_tile_data = new_header_tile_data; in opj_j2k_write_cod()
2579 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = l_code_size; in opj_j2k_write_cod()
2582 l_current_data = p_j2k->m_specific_param.m_encoder.m_header_tile_data; in opj_j2k_write_cod()
2616 p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_code_size, in opj_j2k_write_cod()
2770 if (l_coc_size > p_j2k->m_specific_param.m_encoder.m_header_tile_data_size) { in opj_j2k_write_coc()
2778 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_coc_size); in opj_j2k_write_coc()
2780 opj_free(p_j2k->m_specific_param.m_encoder.m_header_tile_data); in opj_j2k_write_coc()
2781 p_j2k->m_specific_param.m_encoder.m_header_tile_data = NULL; in opj_j2k_write_coc()
2782 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = 0; in opj_j2k_write_coc()
2786 p_j2k->m_specific_param.m_encoder.m_header_tile_data = new_header_tile_data; in opj_j2k_write_coc()
2787 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = l_coc_size; in opj_j2k_write_coc()
2791 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, &l_remaining_size, in opj_j2k_write_coc()
2795 p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_coc_size, in opj_j2k_write_coc()
2978 if (l_qcd_size > p_j2k->m_specific_param.m_encoder.m_header_tile_data_size) { in opj_j2k_write_qcd()
2980 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_qcd_size); in opj_j2k_write_qcd()
2982 opj_free(p_j2k->m_specific_param.m_encoder.m_header_tile_data); in opj_j2k_write_qcd()
2983 p_j2k->m_specific_param.m_encoder.m_header_tile_data = NULL; in opj_j2k_write_qcd()
2984 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = 0; in opj_j2k_write_qcd()
2988 p_j2k->m_specific_param.m_encoder.m_header_tile_data = new_header_tile_data; in opj_j2k_write_qcd()
2989 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = l_qcd_size; in opj_j2k_write_qcd()
2992 l_current_data = p_j2k->m_specific_param.m_encoder.m_header_tile_data; in opj_j2k_write_qcd()
3014 p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_qcd_size, in opj_j2k_write_qcd()
3075 if (l_qcc_size > p_j2k->m_specific_param.m_encoder.m_header_tile_data_size) { in opj_j2k_write_qcc()
3077 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_qcc_size); in opj_j2k_write_qcc()
3079 opj_free(p_j2k->m_specific_param.m_encoder.m_header_tile_data); in opj_j2k_write_qcc()
3080 p_j2k->m_specific_param.m_encoder.m_header_tile_data = NULL; in opj_j2k_write_qcc()
3081 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = 0; in opj_j2k_write_qcc()
3085 p_j2k->m_specific_param.m_encoder.m_header_tile_data = new_header_tile_data; in opj_j2k_write_qcc()
3086 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = l_qcc_size; in opj_j2k_write_qcc()
3090 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, &l_remaining_size, in opj_j2k_write_qcc()
3094 p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_qcc_size, in opj_j2k_write_qcc()
3279 if (l_poc_size > p_j2k->m_specific_param.m_encoder.m_header_tile_data_size) { in opj_j2k_write_poc()
3281 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_poc_size); in opj_j2k_write_poc()
3283 opj_free(p_j2k->m_specific_param.m_encoder.m_header_tile_data); in opj_j2k_write_poc()
3284 p_j2k->m_specific_param.m_encoder.m_header_tile_data = NULL; in opj_j2k_write_poc()
3285 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = 0; in opj_j2k_write_poc()
3289 p_j2k->m_specific_param.m_encoder.m_header_tile_data = new_header_tile_data; in opj_j2k_write_poc()
3290 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = l_poc_size; in opj_j2k_write_poc()
3294 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, &l_written_size, in opj_j2k_write_poc()
3298 p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_poc_size, in opj_j2k_write_poc()
4154 l_tlm_size = 6 + (5 * p_j2k->m_specific_param.m_encoder.m_total_tile_parts); in opj_j2k_write_tlm()
4156 if (l_tlm_size > p_j2k->m_specific_param.m_encoder.m_header_tile_data_size) { in opj_j2k_write_tlm()
4158 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_tlm_size); in opj_j2k_write_tlm()
4160 opj_free(p_j2k->m_specific_param.m_encoder.m_header_tile_data); in opj_j2k_write_tlm()
4161 p_j2k->m_specific_param.m_encoder.m_header_tile_data = NULL; in opj_j2k_write_tlm()
4162 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = 0; in opj_j2k_write_tlm()
4166 p_j2k->m_specific_param.m_encoder.m_header_tile_data = new_header_tile_data; in opj_j2k_write_tlm()
4167 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = l_tlm_size; in opj_j2k_write_tlm()
4170 l_current_data = p_j2k->m_specific_param.m_encoder.m_header_tile_data; in opj_j2k_write_tlm()
4174 p_j2k->m_specific_param.m_encoder.m_tlm_start = opj_stream_tell(p_stream); in opj_j2k_write_tlm()
4194 p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_tlm_size, in opj_j2k_write_tlm()
4239 p_j2k->m_specific_param.m_encoder.m_current_tile_part_number, in opj_j2k_write_sot()
4644 p_j2k->m_specific_param.m_encoder.m_current_poc_tile_part_number ; in opj_j2k_write_sod()
4646 p_j2k->m_specific_param.m_encoder.m_current_tile_part_number; in opj_j2k_write_sod()
4676 if (p_j2k->m_specific_param.m_encoder.m_current_tile_part_number == 0) { in opj_j2k_write_sod()
4874 l_current_data = p_j2k->m_specific_param.m_encoder.m_header_tile_data; in opj_j2k_write_rgn()
4897 p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_rgn_size, in opj_j2k_write_rgn()
4915 opj_write_bytes(p_j2k->m_specific_param.m_encoder.m_header_tile_data, in opj_j2k_write_eoc()
4927 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, 2, p_manager) != 2) { in opj_j2k_write_eoc()
5191 p_j2k->m_specific_param.m_encoder.m_encoded_tile_size = l_tile_size; in opj_j2k_update_rates()
5192 p_j2k->m_specific_param.m_encoder.m_encoded_tile_data = in opj_j2k_update_rates()
5193 (OPJ_BYTE *) opj_malloc(p_j2k->m_specific_param.m_encoder.m_encoded_tile_size); in opj_j2k_update_rates()
5194 if (p_j2k->m_specific_param.m_encoder.m_encoded_tile_data == 00) { in opj_j2k_update_rates()
5199 p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_buffer = in opj_j2k_update_rates()
5201 p_j2k->m_specific_param.m_encoder.m_total_tile_parts); in opj_j2k_update_rates()
5202 if (! p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_buffer) { in opj_j2k_update_rates()
5206 p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_current = in opj_j2k_update_rates()
5207 p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_buffer; in opj_j2k_update_rates()
5524 if (l_mct_size > p_j2k->m_specific_param.m_encoder.m_header_tile_data_size) { in opj_j2k_write_mct_record()
5526 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_mct_size); in opj_j2k_write_mct_record()
5528 opj_free(p_j2k->m_specific_param.m_encoder.m_header_tile_data); in opj_j2k_write_mct_record()
5529 p_j2k->m_specific_param.m_encoder.m_header_tile_data = NULL; in opj_j2k_write_mct_record()
5530 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = 0; in opj_j2k_write_mct_record()
5534 p_j2k->m_specific_param.m_encoder.m_header_tile_data = new_header_tile_data; in opj_j2k_write_mct_record()
5535 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = l_mct_size; in opj_j2k_write_mct_record()
5538 l_current_data = p_j2k->m_specific_param.m_encoder.m_header_tile_data; in opj_j2k_write_mct_record()
5566 p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_mct_size, in opj_j2k_write_mct_record()
5745 if (l_mcc_size > p_j2k->m_specific_param.m_encoder.m_header_tile_data_size) { in opj_j2k_write_mcc_record()
5747 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_mcc_size); in opj_j2k_write_mcc_record()
5749 opj_free(p_j2k->m_specific_param.m_encoder.m_header_tile_data); in opj_j2k_write_mcc_record()
5750 p_j2k->m_specific_param.m_encoder.m_header_tile_data = NULL; in opj_j2k_write_mcc_record()
5751 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = 0; in opj_j2k_write_mcc_record()
5755 p_j2k->m_specific_param.m_encoder.m_header_tile_data = new_header_tile_data; in opj_j2k_write_mcc_record()
5756 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = l_mcc_size; in opj_j2k_write_mcc_record()
5759 l_current_data = p_j2k->m_specific_param.m_encoder.m_header_tile_data; in opj_j2k_write_mcc_record()
5826 p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_mcc_size, in opj_j2k_write_mcc_record()
6086 if (l_mco_size > p_j2k->m_specific_param.m_encoder.m_header_tile_data_size) { in opj_j2k_write_mco()
6089 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_mco_size); in opj_j2k_write_mco()
6091 opj_free(p_j2k->m_specific_param.m_encoder.m_header_tile_data); in opj_j2k_write_mco()
6092 p_j2k->m_specific_param.m_encoder.m_header_tile_data = NULL; in opj_j2k_write_mco()
6093 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = 0; in opj_j2k_write_mco()
6097 p_j2k->m_specific_param.m_encoder.m_header_tile_data = new_header_tile_data; in opj_j2k_write_mco()
6098 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = l_mco_size; in opj_j2k_write_mco()
6100 l_current_data = p_j2k->m_specific_param.m_encoder.m_header_tile_data; in opj_j2k_write_mco()
6122 p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_mco_size, in opj_j2k_write_mco()
6309 if (l_cbd_size > p_j2k->m_specific_param.m_encoder.m_header_tile_data_size) { in opj_j2k_write_cbd()
6311 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_cbd_size); in opj_j2k_write_cbd()
6313 opj_free(p_j2k->m_specific_param.m_encoder.m_header_tile_data); in opj_j2k_write_cbd()
6314 p_j2k->m_specific_param.m_encoder.m_header_tile_data = NULL; in opj_j2k_write_cbd()
6315 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = 0; in opj_j2k_write_cbd()
6319 p_j2k->m_specific_param.m_encoder.m_header_tile_data = new_header_tile_data; in opj_j2k_write_cbd()
6320 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = l_cbd_size; in opj_j2k_write_cbd()
6323 l_current_data = p_j2k->m_specific_param.m_encoder.m_header_tile_data; in opj_j2k_write_cbd()
6345 p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_cbd_size, in opj_j2k_write_cbd()
6490 l_j2k->m_specific_param.m_encoder.m_header_tile_data = (OPJ_BYTE *) opj_malloc( in opj_j2k_create_compress()
6492 if (! l_j2k->m_specific_param.m_encoder.m_header_tile_data) { in opj_j2k_create_compress()
6497 l_j2k->m_specific_param.m_encoder.m_header_tile_data_size = in opj_j2k_create_compress()
8301 if (p_j2k->m_specific_param.m_encoder.m_encoded_tile_data) { in opj_j2k_destroy()
8302 opj_free(p_j2k->m_specific_param.m_encoder.m_encoded_tile_data); in opj_j2k_destroy()
8303 p_j2k->m_specific_param.m_encoder.m_encoded_tile_data = 00; in opj_j2k_destroy()
8306 if (p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_buffer) { in opj_j2k_destroy()
8307 opj_free(p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_buffer); in opj_j2k_destroy()
8308 p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_buffer = 00; in opj_j2k_destroy()
8309 p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_current = 00; in opj_j2k_destroy()
8312 if (p_j2k->m_specific_param.m_encoder.m_header_tile_data) { in opj_j2k_destroy()
8313 opj_free(p_j2k->m_specific_param.m_encoder.m_header_tile_data); in opj_j2k_destroy()
8314 p_j2k->m_specific_param.m_encoder.m_header_tile_data = 00; in opj_j2k_destroy()
8315 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = 0; in opj_j2k_destroy()
11379 p_j2k->m_specific_param.m_encoder.m_current_tile_part_number = 0; in opj_j2k_pre_write_tile()
11381 p_j2k->m_specific_param.m_encoder.m_current_poc_tile_part_number = 0; in opj_j2k_pre_write_tile()
11525 assert(p_j2k->m_specific_param.m_encoder.m_encoded_tile_data); in opj_j2k_post_write_tile()
11527 l_tile_size = p_j2k->m_specific_param.m_encoder.m_encoded_tile_size; in opj_j2k_post_write_tile()
11529 l_current_data = p_j2k->m_specific_param.m_encoder.m_encoded_tile_data; in opj_j2k_post_write_tile()
11549 p_j2k->m_specific_param.m_encoder.m_encoded_tile_data, in opj_j2k_post_write_tile()
11729 p_j2k->m_specific_param.m_encoder.m_current_poc_tile_part_number = 0; in opj_j2k_write_first_tile_part()
11822 ++p_j2k->m_specific_param.m_encoder.m_current_tile_part_number; in opj_j2k_write_all_tile_parts()
11824 p_j2k->m_specific_param.m_encoder.m_current_poc_tile_part_number = tilepartno; in opj_j2k_write_all_tile_parts()
11861 ++p_j2k->m_specific_param.m_encoder.m_current_tile_part_number; in opj_j2k_write_all_tile_parts()
11870 p_j2k->m_specific_param.m_encoder.m_current_poc_tile_part_number = tilepartno; in opj_j2k_write_all_tile_parts()
11907 ++p_j2k->m_specific_param.m_encoder.m_current_tile_part_number; in opj_j2k_write_all_tile_parts()
11928 l_tlm_size = 5 * p_j2k->m_specific_param.m_encoder.m_total_tile_parts; in opj_j2k_write_updated_tlm()
11929 l_tlm_position = 6 + p_j2k->m_specific_param.m_encoder.m_tlm_start; in opj_j2k_write_updated_tlm()
11937 … p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_buffer, l_tlm_size, in opj_j2k_write_updated_tlm()
11964 if (p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_buffer) { in opj_j2k_end_encoding()
11965 opj_free(p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_buffer); in opj_j2k_end_encoding()
11966 p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_buffer = 0; in opj_j2k_end_encoding()
11967 p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_current = 0; in opj_j2k_end_encoding()
11970 if (p_j2k->m_specific_param.m_encoder.m_encoded_tile_data) { in opj_j2k_end_encoding()
11971 opj_free(p_j2k->m_specific_param.m_encoder.m_encoded_tile_data); in opj_j2k_end_encoding()
11972 p_j2k->m_specific_param.m_encoder.m_encoded_tile_data = 0; in opj_j2k_end_encoding()
11975 p_j2k->m_specific_param.m_encoder.m_encoded_tile_size = 0; in opj_j2k_end_encoding()
11996 if (p_j2k->m_specific_param.m_encoder.m_header_tile_data) { in opj_j2k_destroy_header_memory()
11997 opj_free(p_j2k->m_specific_param.m_encoder.m_header_tile_data); in opj_j2k_destroy_header_memory()
11998 p_j2k->m_specific_param.m_encoder.m_header_tile_data = 0; in opj_j2k_destroy_header_memory()
12001 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = 0; in opj_j2k_destroy_header_memory()
12060 … &p_j2k->m_specific_param.m_encoder.m_total_tile_parts, p_j2k->m_private_image, in opj_j2k_init_info()