Lines Matching refs:numchans
442 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()
807 for (i = 0; i < cmap->numchans; ++i) { in jp2_cmap_dumpdata()
835 jp2_getuint8(in, &pclr->numchans)) { in jp2_pclr_getdata()
838 lutsize = pclr->numlutents * pclr->numchans; in jp2_pclr_getdata()
842 if (!(pclr->bpc = jas_alloc2(pclr->numchans, sizeof(uint_fast8_t)))) { in jp2_pclr_getdata()
845 for (i = 0; i < pclr->numchans; ++i) { in jp2_pclr_getdata()
851 for (j = 0; j < pclr->numchans; ++j) { in jp2_pclr_getdata()
856 pclr->lutdata[i * pclr->numchans + j] = x; in jp2_pclr_getdata()
879 (int) pclr->numchans); in jp2_pclr_dumpdata()
881 for (j = 0; j < pclr->numchans; ++j) { in jp2_pclr_dumpdata()
882 fprintf(out, "LUT[%d][%d]=%d\n", i, j, (int)pclr->lutdata[i * pclr->numchans + j]); in jp2_pclr_dumpdata()
972 for (i = 0; i < cdef->numchans; ++i) { in jp2_cdef_lookup()