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()
1961 if (l_size_len > p_j2k->m_specific_param.m_encoder.m_header_tile_data_size) { in opj_j2k_write_siz()
1964 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_size_len); in opj_j2k_write_siz()
1966 opj_free(p_j2k->m_specific_param.m_encoder.m_header_tile_data); in opj_j2k_write_siz()
1967 p_j2k->m_specific_param.m_encoder.m_header_tile_data = NULL; in opj_j2k_write_siz()
1968 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = 0; in opj_j2k_write_siz()
1972 p_j2k->m_specific_param.m_encoder.m_header_tile_data = new_header_tile_data; in opj_j2k_write_siz()
1973 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = l_size_len; in opj_j2k_write_siz()
1976 l_current_ptr = p_j2k->m_specific_param.m_encoder.m_header_tile_data; in opj_j2k_write_siz()
2031 p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_size_len, in opj_j2k_write_siz()
2483 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size) { in opj_j2k_write_com()
2485 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_total_com_size); in opj_j2k_write_com()
2487 opj_free(p_j2k->m_specific_param.m_encoder.m_header_tile_data); in opj_j2k_write_com()
2488 p_j2k->m_specific_param.m_encoder.m_header_tile_data = NULL; in opj_j2k_write_com()
2489 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = 0; in opj_j2k_write_com()
2494 p_j2k->m_specific_param.m_encoder.m_header_tile_data = new_header_tile_data; in opj_j2k_write_com()
2495 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = l_total_com_size; in opj_j2k_write_com()
2498 l_current_ptr = p_j2k->m_specific_param.m_encoder.m_header_tile_data; in opj_j2k_write_com()
2513 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_total_com_size, in opj_j2k_write_com()
2567 if (l_code_size > p_j2k->m_specific_param.m_encoder.m_header_tile_data_size) { in opj_j2k_write_cod()
2569 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_code_size); in opj_j2k_write_cod()
2571 opj_free(p_j2k->m_specific_param.m_encoder.m_header_tile_data); in opj_j2k_write_cod()
2572 p_j2k->m_specific_param.m_encoder.m_header_tile_data = NULL; in opj_j2k_write_cod()
2573 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = 0; in opj_j2k_write_cod()
2577 p_j2k->m_specific_param.m_encoder.m_header_tile_data = new_header_tile_data; in opj_j2k_write_cod()
2578 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = l_code_size; in opj_j2k_write_cod()
2581 l_current_data = p_j2k->m_specific_param.m_encoder.m_header_tile_data; in opj_j2k_write_cod()
2615 p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_code_size, in opj_j2k_write_cod()
2764 if (l_coc_size > p_j2k->m_specific_param.m_encoder.m_header_tile_data_size) { in opj_j2k_write_coc()
2772 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_coc_size); in opj_j2k_write_coc()
2774 opj_free(p_j2k->m_specific_param.m_encoder.m_header_tile_data); in opj_j2k_write_coc()
2775 p_j2k->m_specific_param.m_encoder.m_header_tile_data = NULL; in opj_j2k_write_coc()
2776 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = 0; in opj_j2k_write_coc()
2780 p_j2k->m_specific_param.m_encoder.m_header_tile_data = new_header_tile_data; in opj_j2k_write_coc()
2781 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = l_coc_size; in opj_j2k_write_coc()
2785 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, &l_remaining_size, in opj_j2k_write_coc()
2789 p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_coc_size, in opj_j2k_write_coc()
2972 if (l_qcd_size > p_j2k->m_specific_param.m_encoder.m_header_tile_data_size) { in opj_j2k_write_qcd()
2974 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_qcd_size); in opj_j2k_write_qcd()
2976 opj_free(p_j2k->m_specific_param.m_encoder.m_header_tile_data); in opj_j2k_write_qcd()
2977 p_j2k->m_specific_param.m_encoder.m_header_tile_data = NULL; in opj_j2k_write_qcd()
2978 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = 0; in opj_j2k_write_qcd()
2982 p_j2k->m_specific_param.m_encoder.m_header_tile_data = new_header_tile_data; in opj_j2k_write_qcd()
2983 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = l_qcd_size; in opj_j2k_write_qcd()
2986 l_current_data = p_j2k->m_specific_param.m_encoder.m_header_tile_data; in opj_j2k_write_qcd()
3008 p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_qcd_size, in opj_j2k_write_qcd()
3069 if (l_qcc_size > p_j2k->m_specific_param.m_encoder.m_header_tile_data_size) { in opj_j2k_write_qcc()
3071 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_qcc_size); in opj_j2k_write_qcc()
3073 opj_free(p_j2k->m_specific_param.m_encoder.m_header_tile_data); in opj_j2k_write_qcc()
3074 p_j2k->m_specific_param.m_encoder.m_header_tile_data = NULL; in opj_j2k_write_qcc()
3075 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = 0; in opj_j2k_write_qcc()
3079 p_j2k->m_specific_param.m_encoder.m_header_tile_data = new_header_tile_data; in opj_j2k_write_qcc()
3080 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = l_qcc_size; in opj_j2k_write_qcc()
3084 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, &l_remaining_size, in opj_j2k_write_qcc()
3088 p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_qcc_size, in opj_j2k_write_qcc()
3273 if (l_poc_size > p_j2k->m_specific_param.m_encoder.m_header_tile_data_size) { in opj_j2k_write_poc()
3275 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_poc_size); in opj_j2k_write_poc()
3277 opj_free(p_j2k->m_specific_param.m_encoder.m_header_tile_data); in opj_j2k_write_poc()
3278 p_j2k->m_specific_param.m_encoder.m_header_tile_data = NULL; in opj_j2k_write_poc()
3279 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = 0; in opj_j2k_write_poc()
3283 p_j2k->m_specific_param.m_encoder.m_header_tile_data = new_header_tile_data; in opj_j2k_write_poc()
3284 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = l_poc_size; in opj_j2k_write_poc()
3288 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, &l_written_size, in opj_j2k_write_poc()
3292 p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_poc_size, in opj_j2k_write_poc()
4143 l_tlm_size = 6 + (5 * p_j2k->m_specific_param.m_encoder.m_total_tile_parts); in opj_j2k_write_tlm()
4145 if (l_tlm_size > p_j2k->m_specific_param.m_encoder.m_header_tile_data_size) { in opj_j2k_write_tlm()
4147 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_tlm_size); in opj_j2k_write_tlm()
4149 opj_free(p_j2k->m_specific_param.m_encoder.m_header_tile_data); in opj_j2k_write_tlm()
4150 p_j2k->m_specific_param.m_encoder.m_header_tile_data = NULL; in opj_j2k_write_tlm()
4151 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = 0; in opj_j2k_write_tlm()
4155 p_j2k->m_specific_param.m_encoder.m_header_tile_data = new_header_tile_data; in opj_j2k_write_tlm()
4156 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = l_tlm_size; in opj_j2k_write_tlm()
4159 l_current_data = p_j2k->m_specific_param.m_encoder.m_header_tile_data; in opj_j2k_write_tlm()
4163 p_j2k->m_specific_param.m_encoder.m_tlm_start = opj_stream_tell(p_stream); in opj_j2k_write_tlm()
4183 p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_tlm_size, in opj_j2k_write_tlm()
4228 p_j2k->m_specific_param.m_encoder.m_current_tile_part_number, in opj_j2k_write_sot()
4633 p_j2k->m_specific_param.m_encoder.m_current_poc_tile_part_number ; in opj_j2k_write_sod()
4635 p_j2k->m_specific_param.m_encoder.m_current_tile_part_number; in opj_j2k_write_sod()
4665 if (p_j2k->m_specific_param.m_encoder.m_current_tile_part_number == 0) { in opj_j2k_write_sod()
4863 l_current_data = p_j2k->m_specific_param.m_encoder.m_header_tile_data; in opj_j2k_write_rgn()
4886 p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_rgn_size, in opj_j2k_write_rgn()
4904 opj_write_bytes(p_j2k->m_specific_param.m_encoder.m_header_tile_data, in opj_j2k_write_eoc()
4916 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, 2, p_manager) != 2) { in opj_j2k_write_eoc()
5180 p_j2k->m_specific_param.m_encoder.m_encoded_tile_size = l_tile_size; in opj_j2k_update_rates()
5181 p_j2k->m_specific_param.m_encoder.m_encoded_tile_data = in opj_j2k_update_rates()
5182 (OPJ_BYTE *) opj_malloc(p_j2k->m_specific_param.m_encoder.m_encoded_tile_size); in opj_j2k_update_rates()
5183 if (p_j2k->m_specific_param.m_encoder.m_encoded_tile_data == 00) { in opj_j2k_update_rates()
5188 p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_buffer = in opj_j2k_update_rates()
5190 p_j2k->m_specific_param.m_encoder.m_total_tile_parts); in opj_j2k_update_rates()
5191 if (! p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_buffer) { in opj_j2k_update_rates()
5195 p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_current = in opj_j2k_update_rates()
5196 p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_buffer; in opj_j2k_update_rates()
5513 if (l_mct_size > p_j2k->m_specific_param.m_encoder.m_header_tile_data_size) { in opj_j2k_write_mct_record()
5515 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_mct_size); in opj_j2k_write_mct_record()
5517 opj_free(p_j2k->m_specific_param.m_encoder.m_header_tile_data); in opj_j2k_write_mct_record()
5518 p_j2k->m_specific_param.m_encoder.m_header_tile_data = NULL; in opj_j2k_write_mct_record()
5519 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = 0; in opj_j2k_write_mct_record()
5523 p_j2k->m_specific_param.m_encoder.m_header_tile_data = new_header_tile_data; in opj_j2k_write_mct_record()
5524 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = l_mct_size; in opj_j2k_write_mct_record()
5527 l_current_data = p_j2k->m_specific_param.m_encoder.m_header_tile_data; in opj_j2k_write_mct_record()
5555 p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_mct_size, in opj_j2k_write_mct_record()
5734 if (l_mcc_size > p_j2k->m_specific_param.m_encoder.m_header_tile_data_size) { in opj_j2k_write_mcc_record()
5736 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_mcc_size); in opj_j2k_write_mcc_record()
5738 opj_free(p_j2k->m_specific_param.m_encoder.m_header_tile_data); in opj_j2k_write_mcc_record()
5739 p_j2k->m_specific_param.m_encoder.m_header_tile_data = NULL; in opj_j2k_write_mcc_record()
5740 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = 0; in opj_j2k_write_mcc_record()
5744 p_j2k->m_specific_param.m_encoder.m_header_tile_data = new_header_tile_data; in opj_j2k_write_mcc_record()
5745 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = l_mcc_size; in opj_j2k_write_mcc_record()
5748 l_current_data = p_j2k->m_specific_param.m_encoder.m_header_tile_data; in opj_j2k_write_mcc_record()
5815 p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_mcc_size, in opj_j2k_write_mcc_record()
6075 if (l_mco_size > p_j2k->m_specific_param.m_encoder.m_header_tile_data_size) { in opj_j2k_write_mco()
6078 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_mco_size); in opj_j2k_write_mco()
6080 opj_free(p_j2k->m_specific_param.m_encoder.m_header_tile_data); in opj_j2k_write_mco()
6081 p_j2k->m_specific_param.m_encoder.m_header_tile_data = NULL; in opj_j2k_write_mco()
6082 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = 0; in opj_j2k_write_mco()
6086 p_j2k->m_specific_param.m_encoder.m_header_tile_data = new_header_tile_data; in opj_j2k_write_mco()
6087 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = l_mco_size; in opj_j2k_write_mco()
6089 l_current_data = p_j2k->m_specific_param.m_encoder.m_header_tile_data; in opj_j2k_write_mco()
6111 p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_mco_size, in opj_j2k_write_mco()
6298 if (l_cbd_size > p_j2k->m_specific_param.m_encoder.m_header_tile_data_size) { in opj_j2k_write_cbd()
6300 … p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_cbd_size); in opj_j2k_write_cbd()
6302 opj_free(p_j2k->m_specific_param.m_encoder.m_header_tile_data); in opj_j2k_write_cbd()
6303 p_j2k->m_specific_param.m_encoder.m_header_tile_data = NULL; in opj_j2k_write_cbd()
6304 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = 0; in opj_j2k_write_cbd()
6308 p_j2k->m_specific_param.m_encoder.m_header_tile_data = new_header_tile_data; in opj_j2k_write_cbd()
6309 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = l_cbd_size; in opj_j2k_write_cbd()
6312 l_current_data = p_j2k->m_specific_param.m_encoder.m_header_tile_data; in opj_j2k_write_cbd()
6334 p_j2k->m_specific_param.m_encoder.m_header_tile_data, l_cbd_size, in opj_j2k_write_cbd()
6477 l_j2k->m_specific_param.m_encoder.m_header_tile_data = (OPJ_BYTE *) opj_malloc( in opj_j2k_create_compress()
6479 if (! l_j2k->m_specific_param.m_encoder.m_header_tile_data) { in opj_j2k_create_compress()
6484 l_j2k->m_specific_param.m_encoder.m_header_tile_data_size = in opj_j2k_create_compress()
8288 if (p_j2k->m_specific_param.m_encoder.m_encoded_tile_data) { in opj_j2k_destroy()
8289 opj_free(p_j2k->m_specific_param.m_encoder.m_encoded_tile_data); in opj_j2k_destroy()
8290 p_j2k->m_specific_param.m_encoder.m_encoded_tile_data = 00; in opj_j2k_destroy()
8293 if (p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_buffer) { in opj_j2k_destroy()
8294 opj_free(p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_buffer); in opj_j2k_destroy()
8295 p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_buffer = 00; in opj_j2k_destroy()
8296 p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_current = 00; in opj_j2k_destroy()
8299 if (p_j2k->m_specific_param.m_encoder.m_header_tile_data) { in opj_j2k_destroy()
8300 opj_free(p_j2k->m_specific_param.m_encoder.m_header_tile_data); in opj_j2k_destroy()
8301 p_j2k->m_specific_param.m_encoder.m_header_tile_data = 00; in opj_j2k_destroy()
8302 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = 0; in opj_j2k_destroy()
11363 p_j2k->m_specific_param.m_encoder.m_current_tile_part_number = 0; in opj_j2k_pre_write_tile()
11365 p_j2k->m_specific_param.m_encoder.m_current_poc_tile_part_number = 0; in opj_j2k_pre_write_tile()
11509 assert(p_j2k->m_specific_param.m_encoder.m_encoded_tile_data); in opj_j2k_post_write_tile()
11511 l_tile_size = p_j2k->m_specific_param.m_encoder.m_encoded_tile_size; in opj_j2k_post_write_tile()
11513 l_current_data = p_j2k->m_specific_param.m_encoder.m_encoded_tile_data; in opj_j2k_post_write_tile()
11533 p_j2k->m_specific_param.m_encoder.m_encoded_tile_data, in opj_j2k_post_write_tile()
11713 p_j2k->m_specific_param.m_encoder.m_current_poc_tile_part_number = 0; in opj_j2k_write_first_tile_part()
11806 ++p_j2k->m_specific_param.m_encoder.m_current_tile_part_number; in opj_j2k_write_all_tile_parts()
11808 p_j2k->m_specific_param.m_encoder.m_current_poc_tile_part_number = tilepartno; in opj_j2k_write_all_tile_parts()
11845 ++p_j2k->m_specific_param.m_encoder.m_current_tile_part_number; in opj_j2k_write_all_tile_parts()
11854 p_j2k->m_specific_param.m_encoder.m_current_poc_tile_part_number = tilepartno; in opj_j2k_write_all_tile_parts()
11891 ++p_j2k->m_specific_param.m_encoder.m_current_tile_part_number; in opj_j2k_write_all_tile_parts()
11912 l_tlm_size = 5 * p_j2k->m_specific_param.m_encoder.m_total_tile_parts; in opj_j2k_write_updated_tlm()
11913 l_tlm_position = 6 + p_j2k->m_specific_param.m_encoder.m_tlm_start; in opj_j2k_write_updated_tlm()
11921 … p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_buffer, l_tlm_size, in opj_j2k_write_updated_tlm()
11948 if (p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_buffer) { in opj_j2k_end_encoding()
11949 opj_free(p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_buffer); in opj_j2k_end_encoding()
11950 p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_buffer = 0; in opj_j2k_end_encoding()
11951 p_j2k->m_specific_param.m_encoder.m_tlm_sot_offsets_current = 0; in opj_j2k_end_encoding()
11954 if (p_j2k->m_specific_param.m_encoder.m_encoded_tile_data) { in opj_j2k_end_encoding()
11955 opj_free(p_j2k->m_specific_param.m_encoder.m_encoded_tile_data); in opj_j2k_end_encoding()
11956 p_j2k->m_specific_param.m_encoder.m_encoded_tile_data = 0; in opj_j2k_end_encoding()
11959 p_j2k->m_specific_param.m_encoder.m_encoded_tile_size = 0; in opj_j2k_end_encoding()
11980 if (p_j2k->m_specific_param.m_encoder.m_header_tile_data) { in opj_j2k_destroy_header_memory()
11981 opj_free(p_j2k->m_specific_param.m_encoder.m_header_tile_data); in opj_j2k_destroy_header_memory()
11982 p_j2k->m_specific_param.m_encoder.m_header_tile_data = 0; in opj_j2k_destroy_header_memory()
11985 p_j2k->m_specific_param.m_encoder.m_header_tile_data_size = 0; in opj_j2k_destroy_header_memory()
12044 … &p_j2k->m_specific_param.m_encoder.m_total_tile_parts, p_j2k->m_private_image, in opj_j2k_init_info()