Lines Matching refs:asoc
748 l_value = jp2->color.jp2_cdef->info[i].asoc; in opj_jp2_write_cdef()
852 if (info[i].asoc == 65535U) continue; in opj_jp2_check_color()
854 if (info[i].asoc > 0 && (OPJ_UINT32)(info[i].asoc - 1) >= nr_channels) { in opj_jp2_check_color()
855 …opj_event_msg(p_manager, EVT_ERROR, "Invalid component index %d (>= %d).\n", info[i].asoc - 1, nr_… in opj_jp2_check_color()
1222 OPJ_UINT16 i, n, cn, asoc, acn; in opj_jp2_apply_cdef() local
1230 asoc = info[i].asoc; in opj_jp2_apply_cdef()
1238 if(asoc == 0 || asoc == 65535) in opj_jp2_apply_cdef()
1244 acn = (OPJ_UINT16)(asoc - 1); in opj_jp2_apply_cdef()
1345 cdef_info[i].asoc = (OPJ_UINT16) l_value; in opj_jp2_read_cdef()
1913 …jp2->color.jp2_cdef->info[i].asoc = (OPJ_UINT16)(i+1U); /* No overflow + cast is valid : image->nu… in opj_jp2_setup_encoder()
1919 jp2->color.jp2_cdef->info[i].asoc = 0U; /* Apply alpha channel to the whole image */ in opj_jp2_setup_encoder()
1924 jp2->color.jp2_cdef->info[i].asoc = 65535U; in opj_jp2_setup_encoder()