Lines Matching refs:colr
104 jp2_colr_t *colr; in jp2_write_header() local
217 colr = &box->data.colr; in jp2_write_header()
222 colr->method = JP2_COLR_ENUM; in jp2_write_header()
223 colr->csid = clrspctojp2(jas_image_clrspc(image)); in jp2_write_header()
224 colr->pri = JP2_COLR_PRI; in jp2_write_header()
225 colr->approx = 0; in jp2_write_header()
228 colr->method = JP2_COLR_ICC; in jp2_write_header()
229 colr->pri = JP2_COLR_PRI; in jp2_write_header()
230 colr->approx = 0; in jp2_write_header()
239 colr->iccplen = pos; in jp2_write_header()
240 colr->iccp = jas_malloc(pos); in jp2_write_header()
241 assert(colr->iccp); in jp2_write_header()
243 if (jas_stream_read(iccstream, colr->iccp, colr->iccplen) != colr->iccplen) in jp2_write_header()