Home | History | Annotate | Download | only in libopenjpeg20

Lines Matching full:comps

564 	jp2->comps = (opj_jp2_comps_t*) opj_calloc(jp2->numcomps, sizeof(opj_jp2_comps_t));
565 if (jp2->comps == 0) {
666 opj_write_bytes(l_current_bpcc_ptr, jp2->comps[i].bpcc, 1); /* write each component information */
701 opj_read_bytes(p_bpc_header_data,&jp2->comps[i].bpcc ,1); /* read each BPCC component */
973 old_comps = image->comps;
1045 image->comps = new_comps;
1240 image->comps[cn].alpha = info[i].typ;
1257 memcpy(&saved, &image->comps[cn], sizeof(opj_image_comp_t));
1258 memcpy(&image->comps[cn], &image->comps[acn], sizeof(opj_image_comp_t));
1259 memcpy(&image->comps[acn], &saved, sizeof(opj_image_comp_t));
1274 image->comps[cn].alpha = info[i].typ;
1816 jp2->comps = (opj_jp2_comps_t*) opj_malloc(jp2->numcomps * sizeof(opj_jp2_comps_t));
1817 if (!jp2->comps) {
1818 jp2->comps = NULL;
1827 depth_0 = image->comps[0].prec - 1;
1828 sign = image->comps[0].sgnd;
1831 OPJ_UINT32 depth = image->comps[i].prec - 1;
1832 sign = image->comps[i].sgnd;
1842 jp2->comps[i].bpcc = image->comps[i].prec - 1 + (image->comps[i].sgnd << 7);
1865 if (image->comps[i].alpha != 0) {
1916 if (image->comps[i].alpha != 0) { /* we'll be here exactly once */
2076 l_is_valid &= ((jp2->comps[i].bpcc & 0x7FU) < 38U); /* 0 is valid, ignore sign for check */
2781 if (jp2->comps) {
2782 opj_free(jp2->comps);
2783 jp2->comps = 00;