Home
last modified time | relevance | path

Searched refs:pcol_usage (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/third_party/libopenjpeg20/
D0005-jp2_apply_pclr.patch9 - else if (pcol_usage[pcol] && cmap[i].mtyp == 1) {
10 + else if (pcol_usage[pcol] && cmap[i].mtyp != 0) {
D0008-jp2_check_color.patch13 + opj_free(pcol_usage);
Djp2.c882 OPJ_BOOL *pcol_usage, is_sane = OPJ_TRUE; in opj_jp2_check_color() local
892 pcol_usage = opj_calloc(nr_channels, sizeof(OPJ_BOOL)); in opj_jp2_check_color()
893 if (!pcol_usage) { in opj_jp2_check_color()
901 opj_free(pcol_usage); in opj_jp2_check_color()
909 else if (pcol_usage[pcol] && cmap[i].mtyp != 0) { in opj_jp2_check_color()
920 pcol_usage[pcol] = OPJ_TRUE; in opj_jp2_check_color()
924 if (!pcol_usage[i] && cmap[i].mtyp != 0) { in opj_jp2_check_color()
932 if (!pcol_usage[i]) { in opj_jp2_check_color()
946 opj_free(pcol_usage); in opj_jp2_check_color()