Home | History | Annotate | Download | only in libopenjpeg20

Lines Matching defs:pcol

904 			OPJ_UINT16 pcol = cmap[i].pcol;
905 if (pcol >= nr_channels) {
906 opj_event_msg(p_manager, EVT_ERROR, "Invalid component/palette index for direct mapping %d.\n", pcol);
909 else if (pcol_usage[pcol] && cmap[i].mtyp != 0) {
910 opj_event_msg(p_manager, EVT_ERROR, "Component %d is mapped twice.\n", pcol);
913 else if (cmap[i].mtyp == 0 && cmap[i].pcol != 0) {
914 /* I.5.3.5 PCOL: If the value of the MTYP field for this channel is 0, then
916 opj_event_msg(p_manager, EVT_ERROR, "Direct use at #%d however pcol=%d.\n", i, pcol);
920 pcol_usage[pcol] = OPJ_TRUE;
942 cmap[i].pcol = (OPJ_BYTE) i;
964 OPJ_UINT16 i, nr_channels, cmp, pcol;
982 pcol = cmap[i].pcol; cmp = cmap[i].cmp;
986 assert( pcol == 0 );
989 assert( i == pcol ); // probably wrong?
1011 cmp = cmap[i].cmp; pcol = cmap[i].pcol;
1026 assert( i == pcol ); // probably wrong?
1034 dst[j] = (OPJ_INT32)entries[k * nr_channels + pcol];
1209 opj_read_bytes(p_cmap_header_data, &l_value, 1); /* PCOL^i */
1211 cmap[i].pcol = (OPJ_BYTE) l_value;