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);
883 OPJ_BOOL *pcol_usage, is_sane = OPJ_TRUE; in opj_jp2_check_color() local893 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()