Lines Matching refs:m_private_image
1957 l_image = p_j2k->m_private_image; in opj_j2k_write_siz()
2070 l_image = p_j2k->m_private_image; in opj_j2k_read_siz()
2649 l_image = p_j2k->m_private_image; in opj_j2k_read_cod()
2765 l_comp_room = (p_j2k->m_private_image->numcomps <= 256) ? 1 : 2; in opj_j2k_write_coc()
2844 l_image = p_j2k->m_private_image; in opj_j2k_write_coc_in_memory()
2884 l_nb_comp = p_j2k->m_private_image->numcomps; in opj_j2k_get_max_coc_size()
2924 l_image = p_j2k->m_private_image; in opj_j2k_read_coc()
3072 l_qcc_size += p_j2k->m_private_image->numcomps <= 256 ? 0 : 1; in opj_j2k_write_qcc()
3132 if (p_j2k->m_private_image->numcomps <= 256) { in opj_j2k_write_qcc_in_memory()
3184 l_num_comp = p_j2k->m_private_image->numcomps; in opj_j2k_read_qcc()
3230 if (l_comp_no >= p_j2k->m_private_image->numcomps) { in opj_j2k_read_qcc()
3233 l_comp_no, p_j2k->m_private_image->numcomps); in opj_j2k_read_qcc()
3269 l_nb_comp = p_j2k->m_private_image->numcomps; in opj_j2k_write_poc()
3331 l_image = p_j2k->m_private_image; in opj_j2k_write_poc_in_memory()
3438 l_nb_comps = p_j2k->m_private_image->numcomps - 1; in opj_j2k_get_specific_header_sizes()
3484 l_image = p_j2k->m_private_image; in opj_j2k_read_poc()
3569 l_nb_comp = p_j2k->m_private_image->numcomps; in opj_j2k_read_crg()
4964 l_image = p_j2k->m_private_image; in opj_j2k_read_rgn()
5057 l_image = p_j2k->m_private_image; in opj_j2k_update_rates()
5341 for (compno = 1; compno < p_j2k->m_private_image->numcomps; ++compno) { in opj_j2k_write_all_coc()
5365 for (compno = 1; compno < p_j2k->m_private_image->numcomps; ++compno) { in opj_j2k_write_all_qcc()
5390 for (compno = 0; compno < p_j2k->m_private_image->numcomps; ++compno) { in opj_j2k_write_regions()
5393 if (! opj_j2k_write_rgn(p_j2k, 0, compno, p_j2k->m_private_image->numcomps, in opj_j2k_write_regions()
6155 l_image = p_j2k->m_private_image; in opj_j2k_read_mco()
6196 if (! opj_j2k_add_mct(l_tcp, p_j2k->m_private_image, l_tmp)) { in opj_j2k_read_mco()
6306 l_image = p_j2k->m_private_image; in opj_j2k_write_cbd()
6307 l_cbd_size = 6 + p_j2k->m_private_image->numcomps; in opj_j2k_write_cbd()
6376 l_num_comp = p_j2k->m_private_image->numcomps; in opj_j2k_read_cbd()
6378 if (p_header_size != (p_j2k->m_private_image->numcomps + 2)) { in opj_j2k_read_cbd()
6392 l_comp = p_j2k->m_private_image->comps; in opj_j2k_read_cbd()
7500 p_j2k->m_private_image = opj_image_create0(); in opj_j2k_read_header()
7501 if (! p_j2k->m_private_image) { in opj_j2k_read_header()
7507 opj_image_destroy(p_j2k->m_private_image); in opj_j2k_read_header()
7508 p_j2k->m_private_image = NULL; in opj_j2k_read_header()
7514 opj_image_destroy(p_j2k->m_private_image); in opj_j2k_read_header()
7515 p_j2k->m_private_image = NULL; in opj_j2k_read_header()
7521 opj_image_destroy(p_j2k->m_private_image); in opj_j2k_read_header()
7522 p_j2k->m_private_image = NULL; in opj_j2k_read_header()
7528 opj_image_destroy(p_j2k->m_private_image); in opj_j2k_read_header()
7529 p_j2k->m_private_image = NULL; in opj_j2k_read_header()
7539 opj_copy_image_header(p_j2k->m_private_image, *p_image); in opj_j2k_read_header()
7614 for (j = 0; j < p_j2k->m_private_image->numcomps; ++j) { in opj_j2k_mct_validation()
8138 l_image = p_j2k->m_private_image; in opj_j2k_copy_default_tcp_and_create_tcd()
8333 opj_image_destroy(p_j2k->m_private_image); in opj_j2k_destroy()
8334 p_j2k->m_private_image = NULL; in opj_j2k_destroy()
8944 p_j2k->m_private_image; in opj_j2k_decode_tile()
9281 if (p_j2k->m_private_image == NULL) { in opj_j2k_set_decoded_components()
9289 p_j2k->m_private_image->numcomps); in opj_j2k_set_decoded_components()
9295 if (comps_indices[i] >= p_j2k->m_private_image->numcomps) { in opj_j2k_set_decoded_components()
9340 opj_image_t * l_image = p_j2k->m_private_image; in opj_j2k_set_decode_area()
9598 assert(p_comp_no < p_j2k->m_private_image->numcomps); in opj_j2k_get_SPCod_SPCoc_size()
9678 assert(p_comp_no < (p_j2k->m_private_image->numcomps)); in opj_j2k_write_SPCod_SPCoc()
9746 if (compno >= p_j2k->m_private_image->numcomps) { in opj_j2k_read_SPCod_SPCoc()
9750 assert(compno < p_j2k->m_private_image->numcomps); in opj_j2k_read_SPCod_SPCoc()
9890 for (i = 1; i < p_j2k->m_private_image->numcomps; ++i) { in opj_j2k_copy_tile_component_parameters()
9921 assert(p_comp_no < p_j2k->m_private_image->numcomps); in opj_j2k_get_SQcd_SQcc_size()
10008 assert(p_comp_no < p_j2k->m_private_image->numcomps); in opj_j2k_write_SQcd_SQcc()
10084 if (p_comp_no >= p_j2k->m_private_image->numcomps) { in opj_j2k_read_SQcd_SQcc()
10198 for (i = 1; i < p_j2k->m_private_image->numcomps; ++i) { in opj_j2k_copy_tile_quantization_parameters()
10269 if (p_j2k->m_private_image) { in j2k_dump()
10270 j2k_dump_image_header(p_j2k->m_private_image, 0, out_stream); in j2k_dump()
10276 if (p_j2k->m_private_image) { in j2k_dump()
10285 if (p_j2k->m_private_image) { in j2k_dump()
10287 opj_j2k_dump_tile_info(l_tcp, (OPJ_INT32)p_j2k->m_private_image->numcomps, in j2k_dump()
10391 (OPJ_INT32)p_j2k->m_private_image->numcomps, out_stream); in opj_j2k_dump_MH_info()
10453 OPJ_UINT32 numcomps = p_j2k->m_private_image->numcomps; in j2k_get_cstr_info()
10461 cstr_info->nbcomps = p_j2k->m_private_image->numcomps; in j2k_get_cstr_info()
10756 !(p_j2k->m_output_image->x0 == p_j2k->m_private_image->x0 && in opj_j2k_decode_tiles()
10757 p_j2k->m_output_image->y0 == p_j2k->m_private_image->y0 && in opj_j2k_decode_tiles()
10758 p_j2k->m_output_image->x1 == p_j2k->m_private_image->x1 && in opj_j2k_decode_tiles()
10759 p_j2k->m_output_image->y1 == p_j2k->m_private_image->y1)) { in opj_j2k_decode_tiles()
10939 opj_image_destroy(p_j2k->m_private_image); in opj_j2k_move_data_from_codec_to_output_image()
10940 p_j2k->m_private_image = NULL; in opj_j2k_move_data_from_codec_to_output_image()
11001 p_j2k->m_private_image != NULL && in opj_j2k_decode()
11002 p_j2k->m_private_image->numcomps > 0 && in opj_j2k_decode()
11003 p_j2k->m_private_image->comps[0].factor == in opj_j2k_decode()
11036 opj_image_destroy(p_j2k->m_private_image); in opj_j2k_decode()
11037 p_j2k->m_private_image = NULL; in opj_j2k_decode()
11060 if (p_image->numcomps < p_j2k->m_private_image->numcomps) { in opj_j2k_get_tile()
11078 if (p_image->x0 < p_j2k->m_private_image->x0) { in opj_j2k_get_tile()
11079 p_image->x0 = p_j2k->m_private_image->x0; in opj_j2k_get_tile()
11082 if (p_image->x1 > p_j2k->m_private_image->x1) { in opj_j2k_get_tile()
11083 p_image->x1 = p_j2k->m_private_image->x1; in opj_j2k_get_tile()
11087 if (p_image->y0 < p_j2k->m_private_image->y0) { in opj_j2k_get_tile()
11088 p_image->y0 = p_j2k->m_private_image->y0; in opj_j2k_get_tile()
11091 if (p_image->y1 > p_j2k->m_private_image->y1) { in opj_j2k_get_tile()
11092 p_image->y1 = p_j2k->m_private_image->y1; in opj_j2k_get_tile()
11096 for (compno = 0; compno < p_j2k->m_private_image->numcomps; ++compno) { in opj_j2k_get_tile()
11099 l_img_comp->factor = p_j2k->m_private_image->comps[compno].factor; in opj_j2k_get_tile()
11116 if (p_image->numcomps > p_j2k->m_private_image->numcomps) { in opj_j2k_get_tile()
11120 for (compno = p_j2k->m_private_image->numcomps; compno < p_image->numcomps; in opj_j2k_get_tile()
11125 p_image->numcomps = p_j2k->m_private_image->numcomps; in opj_j2k_get_tile()
11149 opj_image_destroy(p_j2k->m_private_image); in opj_j2k_get_tile()
11150 p_j2k->m_private_image = NULL; in opj_j2k_get_tile()
11166 if (p_j2k->m_private_image) { in opj_j2k_set_decoded_resolution_factor()
11167 if (p_j2k->m_private_image->comps) { in opj_j2k_set_decoded_resolution_factor()
11170 for (it_comp = 0 ; it_comp < p_j2k->m_private_image->numcomps; it_comp++) { in opj_j2k_set_decoded_resolution_factor()
11178 p_j2k->m_private_image->comps[it_comp].factor = res_factor; in opj_j2k_set_decoded_resolution_factor()
11323 p_j2k->m_private_image = opj_image_create0(); in opj_j2k_start_compress()
11324 if (! p_j2k->m_private_image) { in opj_j2k_start_compress()
11328 opj_copy_image_header(p_image, p_j2k->m_private_image); in opj_j2k_start_compress()
11335 p_j2k->m_private_image->comps[it_comp].data = p_image->comps[it_comp].data; in opj_j2k_start_compress()
11748 for (compno = 1; compno < p_j2k->m_private_image->numcomps; compno++) { in opj_j2k_write_first_tile_part()
12060 … &p_j2k->m_specific_param.m_encoder.m_total_tile_parts, p_j2k->m_private_image, in opj_j2k_init_info()
12090 if (!opj_tcd_init(p_j2k->m_tcd, p_j2k->m_private_image, &p_j2k->m_cp, in opj_j2k_create_tcd()