• Home
  • Raw
  • Download

Lines Matching refs:numcomps

1233                                       OPJ_UINT32 numcomps,
1959 l_size_len = 40 + 3 * l_image->numcomps; in opj_j2k_write_siz()
2013 opj_write_bytes(l_current_ptr, l_image->numcomps, 2); /* Csiz */ in opj_j2k_write_siz()
2016 for (i = 0; i < l_image->numcomps; ++i) { in opj_j2k_write_siz()
2115 l_image->numcomps = (OPJ_UINT16) l_tmp; in opj_j2k_read_siz()
2122 if (l_image->numcomps != l_nb_comp) { in opj_j2k_read_siz()
2125 l_image->numcomps, l_nb_comp); in opj_j2k_read_siz()
2207 l_cp->exp_comps = l_image->numcomps; in opj_j2k_read_siz()
2212 l_image->comps = (opj_image_comp_t*) opj_calloc(l_image->numcomps, in opj_j2k_read_siz()
2215 l_image->numcomps = 0; in opj_j2k_read_siz()
2226 for (i = 0; i < l_image->numcomps; ++i) { in opj_j2k_read_siz()
2405 (opj_tccp_t*) opj_calloc(l_image->numcomps, sizeof(opj_tccp_t)); in opj_j2k_read_siz()
2438 for (i = 0; i < l_image->numcomps; ++i) { in opj_j2k_read_siz()
2447 l_current_tile_param->tccps = (opj_tccp_t*) opj_calloc(l_image->numcomps, in opj_j2k_read_siz()
2714 for (i = 0; i < l_image->numcomps; ++i) { in opj_j2k_read_cod()
2739 l_image->numcomps * sizeof(OPJ_UINT32)); in opj_j2k_read_cod()
2743 for (i = 0; i < l_image->numcomps; ++i) { in opj_j2k_read_cod()
2765 l_comp_room = (p_j2k->m_private_image->numcomps <= 256) ? 1 : 2; in opj_j2k_write_coc()
2845 l_comp_room = (l_image->numcomps <= 256) ? 1 : 2; in opj_j2k_write_coc_in_memory()
2884 l_nb_comp = p_j2k->m_private_image->numcomps; in opj_j2k_get_max_coc_size()
2926 l_comp_room = l_image->numcomps <= 256 ? 1 : 2; in opj_j2k_read_coc()
2938 if (l_comp_no >= l_image->numcomps) { 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()
3332 l_nb_comp = l_image->numcomps; 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()
3485 l_nb_comp = l_image->numcomps; in opj_j2k_read_poc()
3569 l_nb_comp = p_j2k->m_private_image->numcomps; in opj_j2k_read_crg()
4965 l_nb_comp = l_image->numcomps; in opj_j2k_read_rgn()
5061 l_size_pixel = l_image->numcomps * l_image->comps->prec; in opj_j2k_update_rates()
5166 for (i = 0; i < l_image->numcomps; ++i) { 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()
6182 for (i = 0; i < l_image->numcomps; ++i) { in opj_j2k_read_mco()
6231 if (l_mcc_record->m_nb_comps != p_image->numcomps) { in opj_j2k_add_mct()
6239 l_data_size = MCT_ELEMENT_SIZE[l_deco_array->m_element_type] * p_image->numcomps in opj_j2k_add_mct()
6240 * p_image->numcomps; in opj_j2k_add_mct()
6245 l_nb_elem = p_image->numcomps * p_image->numcomps; in opj_j2k_add_mct()
6261 p_image->numcomps; in opj_j2k_add_mct()
6266 l_nb_elem = p_image->numcomps; in opj_j2k_add_mct()
6280 for (i = 0; i < p_image->numcomps; ++i) { in opj_j2k_add_mct()
6307 l_cbd_size = 6 + p_j2k->m_private_image->numcomps; in opj_j2k_write_cbd()
6331 opj_write_bytes(l_current_data, l_image->numcomps, 2); /* Ncbd */ in opj_j2k_write_cbd()
6336 for (i = 0; i < l_image->numcomps; ++i) { 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()
6686 parameters->tcp_rates[0] = (OPJ_FLOAT32)(image->numcomps * image->comps[0].w * in opj_j2k_set_cinema_parameters()
6699 if (image->numcomps != 3) { in opj_j2k_is_cinema_compliant()
6705 image->numcomps); in opj_j2k_is_cinema_compliant()
6710 for (i = 0; i < image->numcomps; i++) { in opj_j2k_is_cinema_compliant()
6933 temp_size = (OPJ_FLOAT32)(((double)image->numcomps * image->comps[0].w * in opj_j2k_setup_encoder()
6948 temp_rate = (OPJ_FLOAT32)(((double)image->numcomps * image->comps[0].w * in opj_j2k_setup_encoder()
7161 (OPJ_UINT32)parameters->numresolution, image->numcomps, in opj_j2k_setup_encoder()
7220 tcp->tccps = (opj_tccp_t*) opj_calloc(image->numcomps, sizeof(opj_tccp_t)); in opj_j2k_setup_encoder()
7228 OPJ_UINT32 lMctSize = image->numcomps * image->numcomps * (OPJ_UINT32)sizeof( in opj_j2k_setup_encoder()
7261 image->numcomps) == OPJ_FALSE) { in opj_j2k_setup_encoder()
7270 opj_malloc(image->numcomps * sizeof(OPJ_FLOAT64)); in opj_j2k_setup_encoder()
7278 opj_calculate_norms(tcp->mct_norms, image->numcomps, in opj_j2k_setup_encoder()
7282 for (i = 0; i < image->numcomps; i++) { in opj_j2k_setup_encoder()
7293 if (tcp->mct == 1 && image->numcomps >= 3) { /* RGB->YCC MCT is enabled */ in opj_j2k_setup_encoder()
7303 for (i = 0; i < image->numcomps; i++) { in opj_j2k_setup_encoder()
7313 for (i = 0; i < image->numcomps; i++) { in opj_j2k_setup_encoder()
7614 for (j = 0; j < p_j2k->m_private_image->numcomps; ++j) { in opj_j2k_mct_validation()
7675 l_nb_elem = p_image->numcomps * p_image->numcomps; in opj_j2k_setup_mct_encoding()
7725 l_nb_elem = p_image->numcomps; in opj_j2k_setup_mct_encoding()
7781 l_mcc_data->m_nb_comps = p_image->numcomps; in opj_j2k_setup_mct_encoding()
8141 l_tccp_size = l_image->numcomps * (OPJ_UINT32)sizeof(opj_tccp_t); in opj_j2k_copy_default_tcp_and_create_tcd()
8143 l_mct_size = l_image->numcomps * l_image->numcomps * (OPJ_UINT32)sizeof( in opj_j2k_copy_default_tcp_and_create_tcd()
8903 *p_nb_comps = p_j2k->m_tcd->tcd_image->tiles->numcomps; in opj_j2k_read_tile_header()
9035 for (i = 0; i < l_image_src->numcomps; in opj_j2k_update_image_data()
9241 for (it_comp = 0; it_comp < p_image->numcomps; ++it_comp) { in opj_j2k_update_image_dimensions()
9274 OPJ_UINT32 numcomps, in opj_j2k_set_decoded_components() argument
9289 p_j2k->m_private_image->numcomps); in opj_j2k_set_decoded_components()
9294 for (i = 0; i < numcomps; i++) { in opj_j2k_set_decoded_components()
9295 if (comps_indices[i] >= p_j2k->m_private_image->numcomps) { in opj_j2k_set_decoded_components()
9314 if (numcomps) { in opj_j2k_set_decoded_components()
9316 (OPJ_UINT32*) opj_malloc(numcomps * sizeof(OPJ_UINT32)); in opj_j2k_set_decoded_components()
9323 numcomps * sizeof(OPJ_UINT32)); in opj_j2k_set_decoded_components()
9327 p_j2k->m_specific_param.m_decoder.m_numcomps_to_decode = numcomps; in opj_j2k_set_decoded_components()
9358 for (it_comp = 0; it_comp < p_image->numcomps; ++it_comp) { 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()
10207 OPJ_INT32 numcomps, FILE* out_stream) in opj_j2k_dump_tile_info() argument
10218 for (compno = 0; compno < numcomps; compno++) { in opj_j2k_dump_tile_info()
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()
10412 fprintf(out_stream, "%s numcomps=%d\n", tab, img_header->numcomps); in j2k_dump_image_header()
10416 for (compno = 0; compno < img_header->numcomps; compno++) { in j2k_dump_image_header()
10453 OPJ_UINT32 numcomps = p_j2k->m_private_image->numcomps; in j2k_get_cstr_info() local
10461 cstr_info->nbcomps = p_j2k->m_private_image->numcomps; in j2k_get_cstr_info()
10486 for (compno = 0; compno < numcomps; compno++) { in j2k_get_cstr_info()
10704 for (i = 0; i < p_j2k->m_output_image->numcomps; i++) { in opj_j2k_decode_tiles()
10943 for (compno = 0; compno < p_image->numcomps; compno++) { in opj_j2k_move_data_from_codec_to_output_image()
10959 for (compno = 0; compno < p_image->numcomps; compno++) { in opj_j2k_move_data_from_codec_to_output_image()
10964 p_image->numcomps = p_j2k->m_specific_param.m_decoder.m_numcomps_to_decode; in opj_j2k_move_data_from_codec_to_output_image()
10968 for (compno = 0; compno < p_image->numcomps; compno++) { in opj_j2k_move_data_from_codec_to_output_image()
11002 p_j2k->m_private_image->numcomps > 0 && in opj_j2k_decode()
11005 p_image->numcomps > 0 && in opj_j2k_decode()
11013 for (it_comp = 0; it_comp < p_image->numcomps; ++it_comp) { in opj_j2k_decode()
11060 if (p_image->numcomps < p_j2k->m_private_image->numcomps) { in opj_j2k_get_tile()
11096 for (compno = 0; compno < p_j2k->m_private_image->numcomps; ++compno) { 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()
11170 for (it_comp = 0 ; it_comp < p_j2k->m_private_image->numcomps; it_comp++) { in opj_j2k_set_decoded_resolution_factor()
11211 for (j = 0; j < p_j2k->m_tcd->image->numcomps; ++j) { in opj_j2k_encode()
11230 for (j = 0; j < p_j2k->m_tcd->image->numcomps; ++j) { in opj_j2k_encode()
11333 for (it_comp = 0 ; it_comp < p_image->numcomps; it_comp++) { in opj_j2k_start_compress()
11430 for (i = 0; i < p_tcd->image->numcomps; ++i) { in opj_j2k_get_tile_data()
11748 for (compno = 1; compno < p_j2k->m_private_image->numcomps; compno++) { in opj_j2k_write_first_tile_part()
12114 for (j = 0; j < p_j2k->m_tcd->image->numcomps; ++j) { in opj_j2k_write_tile()