Lines Matching refs:compno
275 OPJ_UINT32 compno,
341 OPJ_UINT32 compno,
1625 OPJ_UINT32 index, resno, compno, layno; in opj_j2k_check_poc_val() local
1652 for (compno = p_pocs->compno0 ; compno < p_pocs->compno1 ; ++compno) { in opj_j2k_check_poc_val()
1681 for (compno = p_pocs->compno0 ; compno < p_pocs->compno1 ; ++compno) { in opj_j2k_check_poc_val()
1703 for (compno = 0; compno < p_num_comps; ++compno) { in opj_j2k_check_poc_val()
5323 OPJ_UINT32 compno; in opj_j2k_write_all_coc() local
5330 for (compno = 1; compno < p_j2k->m_private_image->numcomps; ++compno) { in opj_j2k_write_all_coc()
5332 if (! opj_j2k_compare_coc(p_j2k, 0, compno)) { in opj_j2k_write_all_coc()
5333 if (! opj_j2k_write_coc(p_j2k, compno, p_stream, p_manager)) { in opj_j2k_write_all_coc()
5347 OPJ_UINT32 compno; in opj_j2k_write_all_qcc() local
5354 for (compno = 1; compno < p_j2k->m_private_image->numcomps; ++compno) { in opj_j2k_write_all_qcc()
5356 if (! opj_j2k_compare_qcc(p_j2k, 0, compno)) { in opj_j2k_write_all_qcc()
5357 if (! opj_j2k_write_qcc(p_j2k, compno, p_stream, p_manager)) { in opj_j2k_write_all_qcc()
5369 OPJ_UINT32 compno; in opj_j2k_write_regions() local
5379 for (compno = 0; compno < p_j2k->m_private_image->numcomps; ++compno) { in opj_j2k_write_regions()
5382 if (! opj_j2k_write_rgn(p_j2k, 0, compno, p_j2k->m_private_image->numcomps, in opj_j2k_write_regions()
9708 OPJ_UINT32 compno, in opj_j2k_read_SPCod_SPCoc() argument
9730 if (compno >= p_j2k->m_private_image->numcomps) { in opj_j2k_read_SPCod_SPCoc()
9734 assert(compno < p_j2k->m_private_image->numcomps); in opj_j2k_read_SPCod_SPCoc()
9736 l_tccp = &l_tcp->tccps[compno]; in opj_j2k_read_SPCod_SPCoc()
9762 compno, l_cp->m_specific_param.m_dec.m_reduce, l_tccp->numresolutions); in opj_j2k_read_SPCod_SPCoc()
9827 if (p_j2k->cstr_info && compno == 0) { in opj_j2k_read_SPCod_SPCoc()
9830 p_j2k->cstr_info->tile[p_j2k->m_current_tile_number].tccp_info[compno].cblkh = in opj_j2k_read_SPCod_SPCoc()
9832 p_j2k->cstr_info->tile[p_j2k->m_current_tile_number].tccp_info[compno].cblkw = in opj_j2k_read_SPCod_SPCoc()
9834 p_j2k->cstr_info->tile[p_j2k->m_current_tile_number].tccp_info[compno].numresolutions in opj_j2k_read_SPCod_SPCoc()
9836 p_j2k->cstr_info->tile[p_j2k->m_current_tile_number].tccp_info[compno].cblksty = in opj_j2k_read_SPCod_SPCoc()
9838 p_j2k->cstr_info->tile[p_j2k->m_current_tile_number].tccp_info[compno].qmfbid = in opj_j2k_read_SPCod_SPCoc()
10194 OPJ_INT32 compno; in opj_j2k_dump_tile_info() local
10202 for (compno = 0; compno < numcomps; compno++) { in opj_j2k_dump_tile_info()
10203 opj_tccp_t *l_tccp = &(l_default_tile->tccps[compno]); in opj_j2k_dump_tile_info()
10208 fprintf(out_stream, "\t\t comp %d {\n", compno); in opj_j2k_dump_tile_info()
10399 OPJ_UINT32 compno; in j2k_dump_image_header() local
10400 for (compno = 0; compno < img_header->numcomps; compno++) { in j2k_dump_image_header()
10401 fprintf(out_stream, "%s\t component %d {\n", tab, compno); in j2k_dump_image_header()
10402 j2k_dump_image_comp_header(&(img_header->comps[compno]), dev_dump_flag, in j2k_dump_image_header()
10436 OPJ_UINT32 compno; in j2k_get_cstr_info() local
10470 for (compno = 0; compno < numcomps; compno++) { in j2k_get_cstr_info()
10471 opj_tccp_t *l_tccp = &(l_default_tile->tccps[compno]); in j2k_get_cstr_info()
10473 (cstr_info->m_default_tile_info.tccp_info[compno]); in j2k_get_cstr_info()
10914 OPJ_UINT32 compno; in opj_j2k_move_data_from_codec_to_output_image() local
10927 for (compno = 0; compno < p_image->numcomps; compno++) { in opj_j2k_move_data_from_codec_to_output_image()
10928 opj_image_data_free(p_image->comps[compno].data); in opj_j2k_move_data_from_codec_to_output_image()
10929 p_image->comps[compno].data = NULL; in opj_j2k_move_data_from_codec_to_output_image()
10931 for (compno = 0; in opj_j2k_move_data_from_codec_to_output_image()
10932 compno < p_j2k->m_specific_param.m_decoder.m_numcomps_to_decode; compno++) { in opj_j2k_move_data_from_codec_to_output_image()
10934 p_j2k->m_specific_param.m_decoder.m_comps_indices_to_decode[compno]; in opj_j2k_move_data_from_codec_to_output_image()
10935 memcpy(&(newcomps[compno]), in opj_j2k_move_data_from_codec_to_output_image()
10938 newcomps[compno].resno_decoded = in opj_j2k_move_data_from_codec_to_output_image()
10940 newcomps[compno].data = p_j2k->m_output_image->comps[src_compno].data; in opj_j2k_move_data_from_codec_to_output_image()
10943 for (compno = 0; compno < p_image->numcomps; compno++) { in opj_j2k_move_data_from_codec_to_output_image()
10944 assert(p_j2k->m_output_image->comps[compno].data == NULL); in opj_j2k_move_data_from_codec_to_output_image()
10945 opj_image_data_free(p_j2k->m_output_image->comps[compno].data); in opj_j2k_move_data_from_codec_to_output_image()
10946 p_j2k->m_output_image->comps[compno].data = NULL; in opj_j2k_move_data_from_codec_to_output_image()
10952 for (compno = 0; compno < p_image->numcomps; compno++) { in opj_j2k_move_data_from_codec_to_output_image()
10953 p_image->comps[compno].resno_decoded = in opj_j2k_move_data_from_codec_to_output_image()
10954 p_j2k->m_output_image->comps[compno].resno_decoded; in opj_j2k_move_data_from_codec_to_output_image()
10955 opj_image_data_free(p_image->comps[compno].data); in opj_j2k_move_data_from_codec_to_output_image()
10956 p_image->comps[compno].data = p_j2k->m_output_image->comps[compno].data; in opj_j2k_move_data_from_codec_to_output_image()
10959 sprintf(fn, "/tmp/%d.raw", compno); in opj_j2k_move_data_from_codec_to_output_image()
10961 fwrite(p_image->comps[compno].data, sizeof(OPJ_INT32), in opj_j2k_move_data_from_codec_to_output_image()
10962 p_image->comps[compno].w * p_image->comps[compno].h, debug); in opj_j2k_move_data_from_codec_to_output_image()
10965 p_j2k->m_output_image->comps[compno].data = NULL; in opj_j2k_move_data_from_codec_to_output_image()
11035 OPJ_UINT32 compno; in opj_j2k_get_tile() local
11080 for (compno = 0; compno < p_j2k->m_private_image->numcomps; ++compno) { in opj_j2k_get_tile()
11083 l_img_comp->factor = p_j2k->m_private_image->comps[compno].factor; in opj_j2k_get_tile()
11104 for (compno = p_j2k->m_private_image->numcomps; compno < p_image->numcomps; in opj_j2k_get_tile()
11105 ++compno) { in opj_j2k_get_tile()
11106 opj_image_data_free(p_image->comps[compno].data); in opj_j2k_get_tile()
11107 p_image->comps[compno].data = NULL; in opj_j2k_get_tile()
11732 for (compno = 1; compno < p_j2k->m_private_image->numcomps; compno++) { in opj_j2k_write_first_tile_part()
11734 opj_j2k_write_coc_in_memory(p_j2k, compno, p_data, &l_current_nb_bytes_written, in opj_j2k_write_first_tile_part()
11741 opj_j2k_write_qcc_in_memory(p_j2k, compno, p_data, &l_current_nb_bytes_written, in opj_j2k_write_first_tile_part()