Searched refs:pcol_usage (Results 1 – 3 of 3) sorted by relevance
9 - else if (pcol_usage[pcol] && cmap[i].mtyp == 1) {10 + else if (pcol_usage[pcol] && cmap[i].mtyp != 0) {
13 + opj_free(pcol_usage);
882 OPJ_BOOL *pcol_usage, is_sane = OPJ_TRUE; in opj_jp2_check_color() local892 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()