Home
last modified time | relevance | path

Searched refs:newprof (Results 1 – 2 of 2) sorted by relevance

/external/opencv3/3rdparty/libjasper/
Djas_icc.c226 jas_iccprof_t *newprof; in jas_iccprof_copy() local
227 newprof = 0; in jas_iccprof_copy()
228 if (!(newprof = jas_iccprof_create())) in jas_iccprof_copy()
230 newprof->hdr = prof->hdr; in jas_iccprof_copy()
231 newprof->tagtab.numents = 0; in jas_iccprof_copy()
232 newprof->tagtab.ents = 0; in jas_iccprof_copy()
233 assert(newprof->attrtab); in jas_iccprof_copy()
234 jas_iccattrtab_destroy(newprof->attrtab); in jas_iccprof_copy()
235 if (!(newprof->attrtab = jas_iccattrtab_copy(prof->attrtab))) in jas_iccprof_copy()
237 return newprof; in jas_iccprof_copy()
[all …]
Djas_cm.c340 jas_cmprof_t *newprof; in jas_cmprof_copy() local
343 if (!(newprof = jas_cmprof_create())) in jas_cmprof_copy()
345 newprof->clrspc = prof->clrspc; in jas_cmprof_copy()
346 newprof->numchans = prof->numchans; in jas_cmprof_copy()
347 newprof->refclrspc = prof->refclrspc; in jas_cmprof_copy()
348 newprof->numrefchans = prof->numrefchans; in jas_cmprof_copy()
349 newprof->iccprof = jas_iccprof_copy(prof->iccprof); in jas_cmprof_copy()
352 if (!(newprof->pxformseqs[i] = jas_cmpxformseq_copy(prof->pxformseqs[i]))) in jas_cmprof_copy()
356 return newprof; in jas_cmprof_copy()