• Home
  • Raw
  • Download

Lines Matching refs:jp2_cdef

769     assert(jp2->color.jp2_cdef != 00);  in opj_jp2_write_cdef()
770 assert(jp2->color.jp2_cdef->info != 00); in opj_jp2_write_cdef()
771 assert(jp2->color.jp2_cdef->n > 0U); in opj_jp2_write_cdef()
773 l_cdef_size += 6U * jp2->color.jp2_cdef->n; in opj_jp2_write_cdef()
788 l_value = jp2->color.jp2_cdef->n; in opj_jp2_write_cdef()
792 for (i = 0U; i < jp2->color.jp2_cdef->n; ++i) { in opj_jp2_write_cdef()
793 l_value = jp2->color.jp2_cdef->info[i].cn; in opj_jp2_write_cdef()
796 l_value = jp2->color.jp2_cdef->info[i].typ; in opj_jp2_write_cdef()
799 l_value = jp2->color.jp2_cdef->info[i].asoc; in opj_jp2_write_cdef()
895 if (color->jp2_cdef) { in opj_jp2_check_color()
896 opj_jp2_cdef_info_t *info = color->jp2_cdef->info; in opj_jp2_check_color()
897 OPJ_UINT16 n = color->jp2_cdef->n; in opj_jp2_check_color()
1345 info = color->jp2_cdef->info; in opj_jp2_apply_cdef()
1346 n = color->jp2_cdef->n; in opj_jp2_apply_cdef()
1393 if (color->jp2_cdef->info) { in opj_jp2_apply_cdef()
1394 opj_free(color->jp2_cdef->info); in opj_jp2_apply_cdef()
1397 opj_free(color->jp2_cdef); in opj_jp2_apply_cdef()
1398 color->jp2_cdef = NULL; in opj_jp2_apply_cdef()
1420 if (jp2->color.jp2_cdef) { in opj_jp2_read_cdef()
1449 jp2->color.jp2_cdef = (opj_jp2_cdef_t*)opj_malloc(sizeof(opj_jp2_cdef_t)); in opj_jp2_read_cdef()
1450 if (!jp2->color.jp2_cdef) { in opj_jp2_read_cdef()
1454 jp2->color.jp2_cdef->info = cdef_info; in opj_jp2_read_cdef()
1455 jp2->color.jp2_cdef->n = (OPJ_UINT16) l_value; in opj_jp2_read_cdef()
1457 for (i = 0; i < jp2->color.jp2_cdef->n; ++i) { in opj_jp2_read_cdef()
1662 if (jp2->color.jp2_cdef) { in opj_jp2_decode()
1710 if (jp2->color.jp2_cdef != NULL) { in opj_jp2_write_jp2h()
2063 jp2->color.jp2_cdef = (opj_jp2_cdef_t*)opj_malloc(sizeof(opj_jp2_cdef_t)); in opj_jp2_setup_encoder()
2064 if (!jp2->color.jp2_cdef) { in opj_jp2_setup_encoder()
2071 jp2->color.jp2_cdef->info = (opj_jp2_cdef_info_t*) opj_malloc( in opj_jp2_setup_encoder()
2073 if (!jp2->color.jp2_cdef->info) { in opj_jp2_setup_encoder()
2079 jp2->color.jp2_cdef->n = (OPJ_UINT16) in opj_jp2_setup_encoder()
2082 jp2->color.jp2_cdef->info[i].cn = (OPJ_UINT16) in opj_jp2_setup_encoder()
2084 jp2->color.jp2_cdef->info[i].typ = 0U; in opj_jp2_setup_encoder()
2085 jp2->color.jp2_cdef->info[i].asoc = (OPJ_UINT16)(i + in opj_jp2_setup_encoder()
2090 jp2->color.jp2_cdef->info[i].cn = (OPJ_UINT16) in opj_jp2_setup_encoder()
2092 jp2->color.jp2_cdef->info[i].typ = 1U; /* Opacity channel */ in opj_jp2_setup_encoder()
2093 jp2->color.jp2_cdef->info[i].asoc = in opj_jp2_setup_encoder()
2097 jp2->color.jp2_cdef->info[i].cn = (OPJ_UINT16) in opj_jp2_setup_encoder()
2099 jp2->color.jp2_cdef->info[i].typ = 65535U; in opj_jp2_setup_encoder()
2100 jp2->color.jp2_cdef->info[i].asoc = 65535U; in opj_jp2_setup_encoder()
3047 if (jp2->color.jp2_cdef) { in opj_jp2_destroy()
3048 if (jp2->color.jp2_cdef->info) { in opj_jp2_destroy()
3049 opj_free(jp2->color.jp2_cdef->info); in opj_jp2_destroy()
3050 jp2->color.jp2_cdef->info = NULL; in opj_jp2_destroy()
3053 opj_free(jp2->color.jp2_cdef); in opj_jp2_destroy()
3054 jp2->color.jp2_cdef = 00; in opj_jp2_destroy()
3170 if (p_jp2->color.jp2_cdef) { in opj_jp2_get_tile()
3207 jp2->color.jp2_cdef = NULL; in opj_jp2_create()