Lines Matching refs:numcomps
1224 * @param numcomps the number of components
1233 OPJ_UINT32 numcomps,
1958 l_size_len = 40 + 3 * l_image->numcomps;
2012 opj_write_bytes(l_current_ptr, l_image->numcomps, 2); /* Csiz */
2015 for (i = 0; i < l_image->numcomps; ++i) {
2114 l_image->numcomps = (OPJ_UINT16) l_tmp;
2121 if (l_image->numcomps != l_nb_comp) {
2124 l_image->numcomps, l_nb_comp);
2183 if (l_image->numcomps != ((len - 38) / 3)) {
2186 l_image->numcomps, ((len - 38) / 3));
2193 if (l_image->numcomps < ((len - 38) / 3)) {
2194 len = 38 + 3 * l_image->numcomps;
2198 l_image->numcomps = ((len - 38) / 3);
2200 l_image->numcomps);
2206 l_cp->exp_comps = l_image->numcomps;
2211 l_image->comps = (opj_image_comp_t*) opj_calloc(l_image->numcomps,
2214 l_image->numcomps = 0;
2225 for (i = 0; i < l_image->numcomps; ++i) {
2404 (opj_tccp_t*) opj_calloc(l_image->numcomps, sizeof(opj_tccp_t));
2437 for (i = 0; i < l_image->numcomps; ++i) {
2446 l_current_tile_param->tccps = (opj_tccp_t*) opj_calloc(l_image->numcomps,
2708 for (i = 0; i < l_image->numcomps; ++i) {
2733 l_image->numcomps * sizeof(OPJ_UINT32));
2737 for (i = 0; i < l_image->numcomps; ++i) {
2759 l_comp_room = (p_j2k->m_private_image->numcomps <= 256) ? 1 : 2;
2839 l_comp_room = (l_image->numcomps <= 256) ? 1 : 2;
2878 l_nb_comp = p_j2k->m_private_image->numcomps;
2920 l_comp_room = l_image->numcomps <= 256 ? 1 : 2;
2932 if (l_comp_no >= l_image->numcomps) {
3066 l_qcc_size += p_j2k->m_private_image->numcomps <= 256 ? 0 : 1;
3126 if (p_j2k->m_private_image->numcomps <= 256) {
3178 l_num_comp = p_j2k->m_private_image->numcomps;
3224 if (l_comp_no >= p_j2k->m_private_image->numcomps) {
3227 l_comp_no, p_j2k->m_private_image->numcomps);
3263 l_nb_comp = p_j2k->m_private_image->numcomps;
3326 l_nb_comp = l_image->numcomps;
3432 l_nb_comps = p_j2k->m_private_image->numcomps - 1;
3479 l_nb_comp = l_image->numcomps;
3563 l_nb_comp = p_j2k->m_private_image->numcomps;
4954 l_nb_comp = l_image->numcomps;
5050 l_size_pixel = l_image->numcomps * l_image->comps->prec;
5155 for (i = 0; i < l_image->numcomps; ++i) {
5330 for (compno = 1; compno < p_j2k->m_private_image->numcomps; ++compno) {
5354 for (compno = 1; compno < p_j2k->m_private_image->numcomps; ++compno) {
5379 for (compno = 0; compno < p_j2k->m_private_image->numcomps; ++compno) {
5382 if (! opj_j2k_write_rgn(p_j2k, 0, compno, p_j2k->m_private_image->numcomps,
6171 for (i = 0; i < l_image->numcomps; ++i) {
6220 if (l_mcc_record->m_nb_comps != p_image->numcomps) {
6228 l_data_size = MCT_ELEMENT_SIZE[l_deco_array->m_element_type] * p_image->numcomps
6229 * p_image->numcomps;
6234 l_nb_elem = p_image->numcomps * p_image->numcomps;
6250 p_image->numcomps;
6255 l_nb_elem = p_image->numcomps;
6269 for (i = 0; i < p_image->numcomps; ++i) {
6296 l_cbd_size = 6 + p_j2k->m_private_image->numcomps;
6320 opj_write_bytes(l_current_data, l_image->numcomps, 2); /* Ncbd */
6325 for (i = 0; i < l_image->numcomps; ++i) {
6365 l_num_comp = p_j2k->m_private_image->numcomps;
6367 if (p_header_size != (p_j2k->m_private_image->numcomps + 2)) {
6673 parameters->tcp_rates[0] = (OPJ_FLOAT32)(image->numcomps * image->comps[0].w *
6686 if (image->numcomps != 3) {
6692 image->numcomps);
6697 for (i = 0; i < image->numcomps; i++) {
6920 temp_size = (OPJ_FLOAT32)(((double)image->numcomps * image->comps[0].w *
6935 temp_rate = (OPJ_FLOAT32)(((double)image->numcomps * image->comps[0].w *
7148 (OPJ_UINT32)parameters->numresolution, image->numcomps,
7207 tcp->tccps = (opj_tccp_t*) opj_calloc(image->numcomps, sizeof(opj_tccp_t));
7215 OPJ_UINT32 lMctSize = image->numcomps * image->numcomps * (OPJ_UINT32)sizeof(
7248 image->numcomps) == OPJ_FALSE) {
7257 opj_malloc(image->numcomps * sizeof(OPJ_FLOAT64));
7265 opj_calculate_norms(tcp->mct_norms, image->numcomps,
7269 for (i = 0; i < image->numcomps; i++) {
7280 if (tcp->mct == 1 && image->numcomps >= 3) { /* RGB->YCC MCT is enabled */
7290 for (i = 0; i < image->numcomps; i++) {
7300 for (i = 0; i < image->numcomps; i++) {
7601 for (j = 0; j < p_j2k->m_private_image->numcomps; ++j) {
7662 l_nb_elem = p_image->numcomps * p_image->numcomps;
7712 l_nb_elem = p_image->numcomps;
7768 l_mcc_data->m_nb_comps = p_image->numcomps;
8128 l_tccp_size = l_image->numcomps * (OPJ_UINT32)sizeof(opj_tccp_t);
8130 l_mct_size = l_image->numcomps * l_image->numcomps * (OPJ_UINT32)sizeof(
8887 *p_nb_comps = p_j2k->m_tcd->tcd_image->tiles->numcomps;
9019 for (i = 0; i < l_image_src->numcomps;
9225 for (it_comp = 0; it_comp < p_image->numcomps; ++it_comp) {
9258 OPJ_UINT32 numcomps,
9273 p_j2k->m_private_image->numcomps);
9278 for (i = 0; i < numcomps; i++) {
9279 if (comps_indices[i] >= p_j2k->m_private_image->numcomps) {
9298 if (numcomps) {
9300 (OPJ_UINT32*) opj_malloc(numcomps * sizeof(OPJ_UINT32));
9307 numcomps * sizeof(OPJ_UINT32));
9311 p_j2k->m_specific_param.m_decoder.m_numcomps_to_decode = numcomps;
9342 for (it_comp = 0; it_comp < p_image->numcomps; ++it_comp) {
9582 assert(p_comp_no < p_j2k->m_private_image->numcomps);
9662 assert(p_comp_no < (p_j2k->m_private_image->numcomps));
9730 if (compno >= p_j2k->m_private_image->numcomps) {
9734 assert(compno < p_j2k->m_private_image->numcomps);
9874 for (i = 1; i < p_j2k->m_private_image->numcomps; ++i) {
9905 assert(p_comp_no < p_j2k->m_private_image->numcomps);
9992 assert(p_comp_no < p_j2k->m_private_image->numcomps);
10068 if (p_comp_no >= p_j2k->m_private_image->numcomps) {
10182 for (i = 1; i < p_j2k->m_private_image->numcomps; ++i) {
10191 OPJ_INT32 numcomps, FILE* out_stream)
10202 for (compno = 0; compno < numcomps; compno++) {
10271 opj_j2k_dump_tile_info(l_tcp, (OPJ_INT32)p_j2k->m_private_image->numcomps,
10375 (OPJ_INT32)p_j2k->m_private_image->numcomps, out_stream);
10396 fprintf(out_stream, "%s numcomps=%d\n", tab, img_header->numcomps);
10400 for (compno = 0; compno < img_header->numcomps; compno++) {
10437 OPJ_UINT32 numcomps = p_j2k->m_private_image->numcomps;
10445 cstr_info->nbcomps = p_j2k->m_private_image->numcomps;
10470 for (compno = 0; compno < numcomps; compno++) {
10688 for (i = 0; i < p_j2k->m_output_image->numcomps; i++) {
10927 for (compno = 0; compno < p_image->numcomps; compno++) {
10943 for (compno = 0; compno < p_image->numcomps; compno++) {
10948 p_image->numcomps = p_j2k->m_specific_param.m_decoder.m_numcomps_to_decode;
10952 for (compno = 0; compno < p_image->numcomps; compno++) {
10986 p_j2k->m_private_image->numcomps > 0 &&
10989 p_image->numcomps > 0 &&
10997 for (it_comp = 0; it_comp < p_image->numcomps; ++it_comp) {
11044 if (p_image->numcomps < p_j2k->m_private_image->numcomps) {
11080 for (compno = 0; compno < p_j2k->m_private_image->numcomps; ++compno) {
11100 if (p_image->numcomps > p_j2k->m_private_image->numcomps) {
11104 for (compno = p_j2k->m_private_image->numcomps; compno < p_image->numcomps;
11109 p_image->numcomps = p_j2k->m_private_image->numcomps;
11154 for (it_comp = 0 ; it_comp < p_j2k->m_private_image->numcomps; it_comp++) {
11195 for (j = 0; j < p_j2k->m_tcd->image->numcomps; ++j) {
11214 for (j = 0; j < p_j2k->m_tcd->image->numcomps; ++j) {
11317 for (it_comp = 0 ; it_comp < p_image->numcomps; it_comp++) {
11414 for (i = 0; i < p_tcd->image->numcomps; ++i) {
11732 for (compno = 1; compno < p_j2k->m_private_image->numcomps; compno++) {
12024 /*l_cstr_info->numcomps = p_j2k->m_image->numcomps;
12028 l_cstr_info->numdecompos = (OPJ_INT32*) opj_malloc(p_j2k->m_image->numcomps * sizeof(OPJ_INT32));
12030 for (compno=0; compno < p_j2k->m_image->numcomps; compno++) {
12098 for (j = 0; j < p_j2k->m_tcd->image->numcomps; ++j) {