Home | History | Annotate | Download | only in libjasper

Lines Matching refs:pclr

183             if (!dec->pclr) {
184 dec->pclr = box;
304 /* If a CMAP box is present, a PCLR box must also be present. */
305 if (dec->cmap && !dec->pclr) {
306 jas_eprintf("warning: missing PCLR box or superfluous CMAP box\n");
311 /* If a CMAP box is not present, a PCLR box must not be present. */
312 if (!dec->cmap && dec->pclr) {
313 jas_eprintf("warning: missing CMAP box or superfluous PCLR box\n");
314 jp2_box_destroy(dec->pclr);
315 dec->pclr = 0;
331 if (dec->cmap->data.cmap.ents[i].pcol >= dec->pclr->data.pclr.numchans) {
350 pclrd = &dec->pclr->data.pclr;
486 dec->pclr = 0;
505 if (dec->pclr) {
506 jp2_box_destroy(dec->pclr);