• Home
  • Raw
  • Download

Lines Matching refs:m_cp

1957     cp = &(p_j2k->m_cp);  in opj_j2k_write_siz()
2070 l_cp = &(p_j2k->m_cp); in opj_j2k_read_siz()
2478 l_comment = p_j2k->m_cp.comment; in opj_j2k_write_com()
2561 l_cp = &(p_j2k->m_cp); in opj_j2k_write_cod()
2649 l_cp = &(p_j2k->m_cp); in opj_j2k_read_cod()
2806 l_cp = &(p_j2k->m_cp); in opj_j2k_compare_coc()
2836 l_cp = &(p_j2k->m_cp); in opj_j2k_write_coc_in_memory()
2877 l_nb_tiles = p_j2k->m_cp.tw * p_j2k->m_cp.th ; in opj_j2k_get_max_coc_size()
2913 l_cp = &(p_j2k->m_cp); in opj_j2k_read_coc()
3199 if (p_j2k->m_cp.correct) { in opj_j2k_read_qcc()
3262 l_tcp = &p_j2k->m_cp.tcps[p_j2k->m_current_tile_number]; in opj_j2k_write_poc()
3323 l_tcp = &p_j2k->m_cp.tcps[p_j2k->m_current_tile_number]; in opj_j2k_write_poc_in_memory()
3394 l_tcp = p_j2k->m_cp.tcps; in opj_j2k_get_max_poc_size()
3395 l_nb_tiles = p_j2k->m_cp.th * p_j2k->m_cp.tw; in opj_j2k_get_max_poc_size()
3414 l_tcp = p_j2k->m_cp.tcps; in opj_j2k_get_max_toc_size()
3415 l_nb_tiles = p_j2k->m_cp.tw * p_j2k->m_cp.th ; in opj_j2k_get_max_toc_size()
3435 if (!(OPJ_IS_CINEMA(p_j2k->m_cp.rsiz))) { in opj_j2k_get_specific_header_sizes()
3494 l_cp = &(p_j2k->m_cp); in opj_j2k_read_poc()
3799 l_cp = &(p_j2k->m_cp); in opj_j2k_read_ppm()
4018 l_cp = &(p_j2k->m_cp); in opj_j2k_read_ppt()
4233 p_j2k->m_cp.tcps[p_j2k->m_current_tile_number].m_nb_tile_parts, in opj_j2k_write_sot()
4307 l_cp = &(p_j2k->m_cp); in opj_j2k_read_sot()
4705 l_tcp = &(p_j2k->m_cp.tcps[p_j2k->m_current_tile_number]); in opj_j2k_read_sod()
4851 l_cp = &(p_j2k->m_cp); in opj_j2k_write_rgn()
4967 l_cp = &(p_j2k->m_cp); in opj_j2k_read_rgn()
5045 l_cp = &(p_j2k->m_cp); in opj_j2k_update_rates()
5218 l_nb_tiles = p_j2k->m_cp.th * p_j2k->m_cp.tw;
5219 l_tcp = p_j2k->m_cp.tcps;
5288 l_tcp = &(p_j2k->m_cp.tcps[p_j2k->m_current_tile_number]); in opj_j2k_write_mct_data_group()
5377 l_tccp = p_j2k->m_cp.tcps->tccps; in opj_j2k_write_regions()
5589 &p_j2k->m_cp.tcps[p_j2k->m_current_tile_number] : in opj_j2k_read_mct()
5845 &p_j2k->m_cp.tcps[p_j2k->m_current_tile_number] : in opj_j2k_read_mcc()
6072 l_tcp = &(p_j2k->m_cp.tcps[p_j2k->m_current_tile_number]); in opj_j2k_write_mco()
6146 &p_j2k->m_cp.tcps[p_j2k->m_current_tile_number] : in opj_j2k_read_mco()
6408 j2k->m_cp.m_specific_param.m_dec.m_layer = parameters->cp_layer; in opj_j2k_setup_decoder()
6409 j2k->m_cp.m_specific_param.m_dec.m_reduce = parameters->cp_reduce; in opj_j2k_setup_decoder()
6413 j2k->m_cp.correct = parameters->jpwl_correct; in opj_j2k_setup_decoder()
6414 j2k->m_cp.exp_comps = parameters->jpwl_exp_comps; in opj_j2k_setup_decoder()
6415 j2k->m_cp.max_tiles = parameters->jpwl_max_tiles; in opj_j2k_setup_decoder()
6475 l_j2k->m_cp.m_is_decoder = 0; in opj_j2k_create_compress()
6797 cp = &(p_j2k->m_cp); in opj_j2k_setup_encoder()
7592 if ((p_j2k->m_cp.rsiz & 0x8200) == 0x8200) { in opj_j2k_mct_validation()
7593 OPJ_UINT32 l_nb_tiles = p_j2k->m_cp.th * p_j2k->m_cp.tw; in opj_j2k_mct_validation()
7594 opj_tcp_t * l_tcp = p_j2k->m_cp.tcps; in opj_j2k_mct_validation()
7826 if ((p_j2k->m_cp.tcps->tccps->numresolutions <= 0) || in opj_j2k_encoding_validation()
7827 (p_j2k->m_cp.tcps->tccps->numresolutions > 32)) { in opj_j2k_encoding_validation()
7833 if ((p_j2k->m_cp.tdx) < (OPJ_UINT32)(1 << in opj_j2k_encoding_validation()
7834 (p_j2k->m_cp.tcps->tccps->numresolutions - 1U))) { in opj_j2k_encoding_validation()
7840 if ((p_j2k->m_cp.tdy) < (OPJ_UINT32)(1 << in opj_j2k_encoding_validation()
7841 (p_j2k->m_cp.tcps->tccps->numresolutions - 1U))) { in opj_j2k_encoding_validation()
8053 if (! opj_j2k_merge_ppm(&(p_j2k->m_cp), p_manager)) { in opj_j2k_read_header_procedure()
8126 l_nb_tiles = p_j2k->m_cp.th * p_j2k->m_cp.tw; in opj_j2k_copy_default_tcp_and_create_tcd()
8127 l_tcp = p_j2k->m_cp.tcps; in opj_j2k_copy_default_tcp_and_create_tcd()
8240 if (!opj_tcd_init(p_j2k->m_tcd, l_image, &(p_j2k->m_cp), p_j2k->m_tp)) { in opj_j2k_copy_default_tcp_and_create_tcd()
8308 opj_j2k_cp_destroy(&(p_j2k->m_cp)); in opj_j2k_destroy()
8309 memset(&(p_j2k->m_cp), 0, sizeof(opj_cp_t)); in opj_j2k_destroy()
8791 OPJ_UINT32 l_nb_tiles = p_j2k->m_cp.tw * p_j2k->m_cp.th; in opj_j2k_read_tile_header()
8798 if (p_j2k->m_cp.tcps[l_tile_no].m_nb_tile_parts != 0U) { in opj_j2k_read_tile_header()
8799 p_j2k->m_cp.tcps[l_tile_no].m_nb_tile_parts += 1; in opj_j2k_read_tile_header()
8844 OPJ_UINT32 l_nb_tiles = p_j2k->m_cp.th * p_j2k->m_cp.tw; in opj_j2k_read_tile_header()
8845 l_tcp = p_j2k->m_cp.tcps + p_j2k->m_current_tile_number; in opj_j2k_read_tile_header()
8858 if (! opj_j2k_merge_ppt(p_j2k->m_cp.tcps + p_j2k->m_current_tile_number, in opj_j2k_read_tile_header()
8871 p_j2k->m_current_tile_number + 1, (p_j2k->m_cp.th * p_j2k->m_cp.tw)); in opj_j2k_read_tile_header()
8916 l_tcp = &(p_j2k->m_cp.tcps[p_tile_index]); in opj_j2k_decode_tile()
9323 opj_cp_t * l_cp = &(p_j2k->m_cp); in opj_j2k_set_decode_area()
9328 if (p_j2k->m_cp.tw == 1 && p_j2k->m_cp.th == 1 && in opj_j2k_set_decode_area()
9329 p_j2k->m_cp.tcps[0].m_data != NULL) { in opj_j2k_set_decode_area()
9343 p_image->comps[it_comp].factor = p_j2k->m_cp.m_specific_param.m_dec.m_reduce; in opj_j2k_set_decode_area()
9480 l_j2k->m_cp.m_is_decoder = 1; in opj_j2k_create_decompress()
9483 l_j2k->m_cp.allow_different_bit_depth_sign = 1; in opj_j2k_create_decompress()
9576 l_cp = &(p_j2k->m_cp); in opj_j2k_get_SPCod_SPCoc_size()
9603 l_cp = &(p_j2k->m_cp); in opj_j2k_compare_SPCod_SPCoc()
9656 l_cp = &(p_j2k->m_cp); in opj_j2k_write_SPCod_SPCoc()
9724 l_cp = &(p_j2k->m_cp); in opj_j2k_read_SPCod_SPCoc()
9864 l_cp = &(p_j2k->m_cp); in opj_j2k_copy_tile_component_parameters()
9899 l_cp = &(p_j2k->m_cp); in opj_j2k_get_SQcd_SQcc_size()
9929 l_cp = &(p_j2k->m_cp); in opj_j2k_compare_SQcd_SQcc()
9986 l_cp = &(p_j2k->m_cp); in opj_j2k_write_SQcd_SQcc()
10060 l_cp = &(p_j2k->m_cp); in opj_j2k_read_SQcd_SQcc()
10173 l_cp = &(p_j2k->m_cp); in opj_j2k_copy_tile_quantization_parameters()
10266 OPJ_UINT32 l_nb_tiles = p_j2k->m_cp.th * p_j2k->m_cp.tw; in j2k_dump()
10268 opj_tcp_t * l_tcp = p_j2k->m_cp.tcps; in j2k_dump()
10371 fprintf(out_stream, "\t tx0=%d, ty0=%d\n", p_j2k->m_cp.tx0, p_j2k->m_cp.ty0); in opj_j2k_dump_MH_info()
10372 fprintf(out_stream, "\t tdx=%d, tdy=%d\n", p_j2k->m_cp.tdx, p_j2k->m_cp.tdy); in opj_j2k_dump_MH_info()
10373 fprintf(out_stream, "\t tw=%d, th=%d\n", p_j2k->m_cp.tw, p_j2k->m_cp.th); in opj_j2k_dump_MH_info()
10447 cstr_info->tx0 = p_j2k->m_cp.tx0; in j2k_get_cstr_info()
10448 cstr_info->ty0 = p_j2k->m_cp.ty0; in j2k_get_cstr_info()
10449 cstr_info->tdx = p_j2k->m_cp.tdx; in j2k_get_cstr_info()
10450 cstr_info->tdy = p_j2k->m_cp.tdy; in j2k_get_cstr_info()
10451 cstr_info->tw = p_j2k->m_cp.tw; in j2k_get_cstr_info()
10452 cstr_info->th = p_j2k->m_cp.th; in j2k_get_cstr_info()
10629 p_j2k->cstr_index->nb_of_tiles = p_j2k->m_cp.tw * p_j2k->m_cp.th; in opj_j2k_allocate_tile_element_cstr_index()
10662 if (p_j2k->m_cp.tw == 1 && p_j2k->m_cp.th == 1 && in opj_j2k_decode_tiles()
10663 p_j2k->m_cp.tx0 == 0 && p_j2k->m_cp.ty0 == 0 && in opj_j2k_decode_tiles()
10666 p_j2k->m_output_image->x1 == p_j2k->m_cp.tdx && in opj_j2k_decode_tiles()
10667 p_j2k->m_output_image->y1 == p_j2k->m_cp.tdy) { in opj_j2k_decode_tiles()
10701 if (p_j2k->m_cp.tw == 1 && p_j2k->m_cp.th == 1 && in opj_j2k_decode_tiles()
10702 p_j2k->m_cp.tcps[0].m_data != NULL) { in opj_j2k_decode_tiles()
10727 l_current_tile_no + 1, p_j2k->m_cp.th * p_j2k->m_cp.tw); in opj_j2k_decode_tiles()
10732 l_current_tile_no + 1, p_j2k->m_cp.th * p_j2k->m_cp.tw); in opj_j2k_decode_tiles()
10739 if (p_j2k->m_cp.tw == 1 && p_j2k->m_cp.th == 1 && in opj_j2k_decode_tiles()
10746 opj_j2k_tcp_data_destroy(&p_j2k->m_cp.tcps[l_current_tile_no]); in opj_j2k_decode_tiles()
10756 if (++nr_tiles == p_j2k->m_cp.th * p_j2k->m_cp.tw) { in opj_j2k_decode_tiles()
10835 l_nb_tiles = p_j2k->m_cp.tw * p_j2k->m_cp.th; in opj_j2k_decode_one_tile()
10837 p_j2k->m_cp.tcps[i].m_current_tile_part_number = -1; in opj_j2k_decode_one_tile()
10862 l_current_tile_no + 1, p_j2k->m_cp.th * p_j2k->m_cp.tw); in opj_j2k_decode_one_tile()
10868 opj_j2k_tcp_data_destroy(&p_j2k->m_cp.tcps[l_current_tile_no]); in opj_j2k_decode_one_tile()
10984 if (p_j2k->m_cp.m_specific_param.m_dec.m_reduce > 0 && in opj_j2k_decode()
10988 p_j2k->m_cp.m_specific_param.m_dec.m_reduce && in opj_j2k_decode()
10998 p_image->comps[it_comp].factor = p_j2k->m_cp.m_specific_param.m_dec.m_reduce; in opj_j2k_decode()
11050 if (/*(tile_index < 0) &&*/ (tile_index >= p_j2k->m_cp.tw * p_j2k->m_cp.th)) { in opj_j2k_get_tile()
11053 (p_j2k->m_cp.tw * p_j2k->m_cp.th) - 1); in opj_j2k_get_tile()
11058 l_tile_x = tile_index % p_j2k->m_cp.tw; in opj_j2k_get_tile()
11059 l_tile_y = tile_index / p_j2k->m_cp.tw; in opj_j2k_get_tile()
11061 p_image->x0 = l_tile_x * p_j2k->m_cp.tdx + p_j2k->m_cp.tx0; in opj_j2k_get_tile()
11065 p_image->x1 = (l_tile_x + 1) * p_j2k->m_cp.tdx + p_j2k->m_cp.tx0; in opj_j2k_get_tile()
11070 p_image->y0 = l_tile_y * p_j2k->m_cp.tdy + p_j2k->m_cp.ty0; in opj_j2k_get_tile()
11074 p_image->y1 = (l_tile_y + 1) * p_j2k->m_cp.tdy + p_j2k->m_cp.ty0; in opj_j2k_get_tile()
11148 p_j2k->m_cp.m_specific_param.m_dec.m_reduce = res_factor; in opj_j2k_set_decoded_resolution_factor()
11191 l_nb_tiles = p_j2k->m_cp.th * p_j2k->m_cp.tw; in opj_j2k_encode()
11361 p_j2k->m_current_tile_number + 1, p_j2k->m_cp.tw * p_j2k->m_cp.th); in opj_j2k_pre_write_tile()
11364 p_j2k->m_tcd->cur_totnum_tp = p_j2k->m_cp.tcps[p_tile_index].m_nb_tile_parts; in opj_j2k_pre_write_tile()
11556 if (OPJ_IS_CINEMA(p_j2k->m_cp.rsiz)) { in opj_j2k_setup_end_compress()
11639 if (OPJ_IS_CINEMA(p_j2k->m_cp.rsiz)) { in opj_j2k_setup_header_writing()
11645 if (p_j2k->m_cp.rsiz == OPJ_PROFILE_CINEMA_4K) { in opj_j2k_setup_header_writing()
11658 if (p_j2k->m_cp.comment != 00) { in opj_j2k_setup_header_writing()
11666 if (p_j2k->m_cp.rsiz & OPJ_EXTENSION_MCT) { in opj_j2k_setup_header_writing()
11708 l_cp = &(p_j2k->m_cp); in opj_j2k_write_first_tile_part()
11799 l_cp = &(p_j2k->m_cp); in opj_j2k_write_all_tile_parts()
12043 return opj_j2k_calculate_tp(p_j2k, &(p_j2k->m_cp), in opj_j2k_init_info()
12074 if (!opj_tcd_init(p_j2k->m_tcd, p_j2k->m_private_image, &p_j2k->m_cp, in opj_j2k_create_tcd()