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.c883 OPJ_BOOL *pcol_usage, is_sane = OPJ_TRUE; in opj_jp2_check_color() local
893 pcol_usage = opj_calloc(nr_channels, sizeof(OPJ_BOOL)); in opj_jp2_check_color()
894 if (!pcol_usage) { in opj_jp2_check_color()
902 opj_free(pcol_usage); in opj_jp2_check_color()
910 else if (pcol_usage[pcol] && cmap[i].mtyp != 0) { in opj_jp2_check_color()
921 pcol_usage[pcol] = OPJ_TRUE; in opj_jp2_check_color()
925 if (!pcol_usage[i] && cmap[i].mtyp != 0) { in opj_jp2_check_color()
933 if (!pcol_usage[i]) { in opj_jp2_check_color()
947 opj_free(pcol_usage); in opj_jp2_check_color()