Home
last modified time | relevance | path

Searched refs:numchans (Results 1 – 7 of 7) sorted by relevance

/external/opencv3/3rdparty/libjasper/
Djp2_cod.c442 for (i = 0; i < cdef->numchans; ++i) { in jp2_cdef_dumpdata()
461 if (jp2_getuint16(in, &cdef->numchans)) { in jp2_cdef_getdata()
464 if (!(cdef->ents = jas_alloc2(cdef->numchans, sizeof(jp2_cdefchan_t)))) { in jp2_cdef_getdata()
467 for (channo = 0; channo < cdef->numchans; ++channo) { in jp2_cdef_getdata()
608 if (jp2_putuint16(out, cdef->numchans)) { in jp2_cdef_putdata()
612 for (i = 0; i < cdef->numchans; ++i) { in jp2_cdef_putdata()
776 cmap->numchans = (box->datalen) / 4; in jp2_cmap_getdata()
777 if (!(cmap->ents = jas_alloc2(cmap->numchans, sizeof(jp2_cmapent_t)))) { in jp2_cmap_getdata()
780 for (i = 0; i < cmap->numchans; ++i) { in jp2_cmap_getdata()
806 fprintf(out, "numchans = %d\n", (int) cmap->numchans); in jp2_cmap_dumpdata()
[all …]
Djp2_dec.c320 …dec->numchans = dec->cmap ? dec->cmap->data.cmap.numchans : JAS_CAST(uint, jas_image_numcmpts(dec-… in jp2_decode()
324 for (i = 0; i < dec->numchans; ++i) { in jp2_decode()
331 if (dec->cmap->data.cmap.ents[i].pcol >= dec->pclr->data.pclr.numchans) { in jp2_decode()
339 if (!(dec->chantocmptlut = jas_alloc2(dec->numchans, sizeof(uint_fast16_t)))) { in jp2_decode()
345 for (i = 0; i < dec->numchans; ++i) { in jp2_decode()
352 for (channo = 0; channo < cmapd->numchans; ++channo) { in jp2_decode()
359 lutents[i] = pclrd->lutdata[cmapent->pcol + i * pclrd->numchans]; in jp2_decode()
388 for (i = 0; i < dec->numchans; ++i) { in jp2_decode()
395 for (i = 0; i < dec->numchans; ++i) { in jp2_decode()
Djp2_cod.h190 uint_fast8_t numchans; member
222 uint_fast16_t numchans; member
233 uint_fast16_t numchans; member
Djp2_dec.h80 uint_fast16_t numchans; member
Djas_cm.c187 assert(prof->numchans == 3 && prof->numrefchans == 3); in jas_cmprof_createsycc()
261 prof->numchans = jas_clrspc_numchans(prof->clrspc); in jas_cmprof_createfromiccprof()
264 if (prof->numchans == 1) { in jas_cmprof_createfromiccprof()
269 } else if (prof->numchans == 3) { in jas_cmprof_createfromiccprof()
279 if (prof->numchans > 1) { in jas_cmprof_createfromiccprof()
346 newprof->numchans = prof->numchans; in jas_cmprof_copy()
Djp2_enc.c290 cdef->numchans = jas_image_numcmpts(image); in jp2_write_header()
291 cdef->ents = jas_alloc2(cdef->numchans, sizeof(jp2_cdefchan_t)); in jp2_write_header()
/external/opencv3/3rdparty/libjasper/jasper/
Djas_cm.h217 int numchans; member