Lines Matching refs:colr
88 static int jp2_getcs(jp2_colr_t *colr);
195 if (!dec->colr) { in jp2_decode()
196 dec->colr = box; in jp2_decode()
282 if (!dec->colr) { in jp2_decode()
287 switch (dec->colr->data.colr.method) { in jp2_decode()
289 jas_image_setclrspc(dec->image, jp2_getcs(&dec->colr->data.colr)); in jp2_decode()
292 iccprof = jas_iccprof_createfrombuf(dec->colr->data.colr.iccp, in jp2_decode()
293 dec->colr->data.colr.iccplen); in jp2_decode()
490 dec->colr = 0; in jp2_dec_create()
514 if (dec->colr) { in jp2_dec_destroy()
515 jp2_box_destroy(dec->colr); in jp2_dec_destroy()
571 static int jp2_getcs(jp2_colr_t *colr) in jp2_getcs() argument
573 if (colr->method == JP2_COLR_ENUM) { in jp2_getcs()
574 switch (colr->csid) { in jp2_getcs()