Home
last modified time | relevance | path

Searched refs:pcol (Results 1 – 8 of 8) sorted by relevance

/external/pdfium/third_party/libopenjpeg20/
D0005-jp2_apply_pclr.patch6 …_event_msg(p_manager, EVT_ERROR, "Invalid component/palette index for direct mapping %d.\n", pcol);
9 - else if (pcol_usage[pcol] && cmap[i].mtyp == 1) {
10 + else if (pcol_usage[pcol] && cmap[i].mtyp != 0) {
11 opj_event_msg(p_manager, EVT_ERROR, "Component %d is mapped twice.\n", pcol);
15 assert( pcol == 0 );
18 - assert( i == pcol );
19 - new_comps[pcol] = old_comps[cmp];
20 + assert( i == pcol ); // probably wrong?
26 cmp = cmap[i].cmp; pcol = cmap[i].pcol;
29 - max = new_comps[pcol].w * new_comps[pcol].h;
[all …]
D0008-jp2_check_color.patch9 - OPJ_UINT16 pcol = cmap[i].pcol;
16 + OPJ_UINT16 pcol = cmap[i].pcol;
17 if (pcol >= nr_channels) {
18 …_event_msg(p_manager, EVT_ERROR, "Invalid component/palette index for direct mapping %d.\n", pcol);
Djp2.c904 OPJ_UINT16 pcol = cmap[i].pcol; in opj_jp2_check_color() local
905 if (pcol >= nr_channels) { in opj_jp2_check_color()
906 …_event_msg(p_manager, EVT_ERROR, "Invalid component/palette index for direct mapping %d.\n", pcol); in opj_jp2_check_color()
909 else if (pcol_usage[pcol] && cmap[i].mtyp != 0) { in opj_jp2_check_color()
910 opj_event_msg(p_manager, EVT_ERROR, "Component %d is mapped twice.\n", pcol); in opj_jp2_check_color()
913 else if (cmap[i].mtyp == 0 && cmap[i].pcol != 0) { in opj_jp2_check_color()
916 opj_event_msg(p_manager, EVT_ERROR, "Direct use at #%d however pcol=%d.\n", i, pcol); in opj_jp2_check_color()
920 pcol_usage[pcol] = OPJ_TRUE; in opj_jp2_check_color()
942 cmap[i].pcol = (OPJ_BYTE) i; in opj_jp2_check_color()
964 OPJ_UINT16 i, nr_channels, cmp, pcol; in opj_jp2_apply_pclr() local
[all …]
Djp2.h115 OPJ_BYTE mtyp, pcol; member
/external/eigen/Eigen/src/SparseCore/
DSparseColEtree.h80 Index pcol = col; variable
81 if(perm) pcol = perm[col];
82 for (typename MatrixType::InnerIterator it(mat, pcol); it; ++it)
102 Index pcol = col; variable
103 if(perm) pcol = perm[col];
104 for (typename MatrixType::InnerIterator it(mat, pcol); it||!found_diag; ++it)
/external/opencv3/3rdparty/libjasper/
Djp2_dec.c331 if (dec->cmap->data.cmap.ents[i].pcol >= dec->pclr->data.pclr.numchans) { in jp2_decode()
359 lutents[i] = pclrd->lutdata[cmapent->pcol + i * pclrd->numchans]; in jp2_decode()
362 …cmapent->cmptno, pclrd->numlutents, lutents, JP2_BPCTODTYPE(pclrd->bpc[cmapent->pcol]), newcmptno); in jp2_decode()
Djp2_cod.h229 uint_fast8_t pcol; member
Djp2_cod.c784 jp2_getuint8(in, &ent->pcol)) { in jp2_cmap_getdata()
810 (int) ent->cmptno, (int) ent->map, (int) ent->pcol); in jp2_cmap_dumpdata()