Lines Matching refs:iccprof
146 jas_iccprof_t *iccprof; in jas_cmprof_createfromclrspc() local
149 iccprof = 0; in jas_cmprof_createfromclrspc()
157 if (!(iccprof = jas_iccprof_createfromclrspc(clrspc))) in jas_cmprof_createfromclrspc()
159 if (!(prof = jas_cmprof_createfromiccprof(iccprof))) in jas_cmprof_createfromclrspc()
161 jas_iccprof_destroy(iccprof); in jas_cmprof_createfromclrspc()
162 iccprof = 0; in jas_cmprof_createfromclrspc()
169 if (iccprof) in jas_cmprof_createfromclrspc()
170 jas_iccprof_destroy(iccprof); in jas_cmprof_createfromclrspc()
243 jas_cmprof_t *jas_cmprof_createfromiccprof(jas_iccprof_t *iccprof) in jas_cmprof_createfromiccprof() argument
256 jas_iccprof_gethdr(iccprof, &icchdr); in jas_cmprof_createfromiccprof()
257 if (!(prof->iccprof = jas_iccprof_copy(iccprof))) in jas_cmprof_createfromiccprof()
265 if (mono(prof->iccprof, 0, &fwdpxformseq)) in jas_cmprof_createfromiccprof()
267 if (mono(prof->iccprof, 1, &revpxformseq)) in jas_cmprof_createfromiccprof()
270 if (triclr(prof->iccprof, 0, &fwdpxformseq)) in jas_cmprof_createfromiccprof()
272 if (triclr(prof->iccprof, 1, &revpxformseq)) in jas_cmprof_createfromiccprof()
280 lut(prof->iccprof, 0, PER, &pxformseq); in jas_cmprof_createfromiccprof()
282 lut(prof->iccprof, 1, PER, &pxformseq); in jas_cmprof_createfromiccprof()
284 lut(prof->iccprof, 0, CLR, &pxformseq); in jas_cmprof_createfromiccprof()
286 lut(prof->iccprof, 1, CLR, &pxformseq); in jas_cmprof_createfromiccprof()
288 lut(prof->iccprof, 0, SAT, &pxformseq); in jas_cmprof_createfromiccprof()
290 lut(prof->iccprof, 1, SAT, &pxformseq); in jas_cmprof_createfromiccprof()
318 prof->iccprof = 0; in jas_cmprof_create()
333 if (prof->iccprof) in jas_cmprof_destroy()
334 jas_iccprof_destroy(prof->iccprof); in jas_cmprof_destroy()
349 newprof->iccprof = jas_iccprof_copy(prof->iccprof); in jas_cmprof_copy()
1068 static int mono(jas_iccprof_t *iccprof, int op, jas_cmpxformseq_t **retpxformseq) in mono() argument
1077 if (!(graytrc = jas_iccprof_getattr(iccprof, JAS_ICC_TAG_GRYTRC)) || in mono()
1121 static int triclr(jas_iccprof_t *iccprof, int op, jas_cmpxformseq_t **retpxformseq) in triclr() argument
1140 if (!(trcs[0] = jas_iccprof_getattr(iccprof, JAS_ICC_TAG_REDTRC)) || in triclr()
1141 !(trcs[1] = jas_iccprof_getattr(iccprof, JAS_ICC_TAG_GRNTRC)) || in triclr()
1142 !(trcs[2] = jas_iccprof_getattr(iccprof, JAS_ICC_TAG_BLUTRC)) || in triclr()
1143 !(cols[0] = jas_iccprof_getattr(iccprof, JAS_ICC_TAG_REDMATCOL)) || in triclr()
1144 !(cols[1] = jas_iccprof_getattr(iccprof, JAS_ICC_TAG_GRNMATCOL)) || in triclr()
1145 !(cols[2] = jas_iccprof_getattr(iccprof, JAS_ICC_TAG_BLUMATCOL))) in triclr()
1279 return jas_iccprof_copy(prof->iccprof); in jas_iccprof_createfromcmprof()