Home
last modified time | relevance | path

Searched refs:invlut (Results 1 – 1 of 1) sorted by relevance

/external/opencv3/3rdparty/libjasper/
Djas_cm.c930 static int jas_cmshapmatlut_invert(jas_cmshapmatlut_t *invlut, in jas_cmshapmatlut_invert() argument
943 if (invlut->data) { in jas_cmshapmatlut_invert()
944 jas_free(invlut->data); in jas_cmshapmatlut_invert()
945 invlut->data = 0; in jas_cmshapmatlut_invert()
954 if (!(invlut->data = jas_alloc2(n, sizeof(jas_cmreal_t)))) in jas_cmshapmatlut_invert()
956 invlut->size = n; in jas_cmshapmatlut_invert()
957 for (i = 0; i < invlut->size; ++i) { in jas_cmshapmatlut_invert()
958 sy = ((double) i) / (invlut->size - 1); in jas_cmshapmatlut_invert()
990 invlut->data[i] = sx; in jas_cmshapmatlut_invert()
995 for (i=0;i<invlut->size;++i) in jas_cmshapmatlut_invert()
[all …]