Searched refs:curv (Results 1 – 3 of 3) sorted by relevance
973 jas_icccurv_t *curv = &attrval->data.curv; in jas_icccurv_destroy() local974 if (curv->ents) in jas_icccurv_destroy()975 jas_free(curv->ents); in jas_icccurv_destroy()993 jas_icccurv_t *curv = &attrval->data.curv; in jas_icccurv_input() local996 curv->numents = 0; in jas_icccurv_input()997 curv->ents = 0; in jas_icccurv_input()999 if (jas_iccgetuint32(in, &curv->numents)) in jas_icccurv_input()1001 if (!(curv->ents = jas_alloc2(curv->numents, sizeof(jas_iccuint16_t)))) in jas_icccurv_input()1003 for (i = 0; i < curv->numents; ++i) { in jas_icccurv_input()1004 if (jas_iccgetuint16(in, &curv->ents[i])) in jas_icccurv_input()[all …]
135 static int jas_cmshapmatlut_set(jas_cmshapmatlut_t *lut, jas_icccurv_t *curv);882 static int jas_cmshapmatlut_set(jas_cmshapmatlut_t *lut, jas_icccurv_t *curv) in jas_cmshapmatlut_set() argument888 if (curv->numents == 0) { in jas_cmshapmatlut_set()894 } else if (curv->numents == 1) { in jas_cmshapmatlut_set()898 gamma = curv->ents[0] / 256.0; in jas_cmshapmatlut_set()903 lut->size = curv->numents; in jas_cmshapmatlut_set()907 lut->data[i] = curv->ents[i] / 65535.0; in jas_cmshapmatlut_set()1099 if (jas_cmshapmatlut_set(&shapmat->luts[0], &graytrc->data.curv)) in mono()1107 if (jas_cmshapmatlut_set(&lut, &graytrc->data.curv)) in mono()1174 if (jas_cmshapmatlut_set(&shapmat->luts[i], &trcs[i]->data.curv)) in triclr()[all …]
312 jas_icccurv_t curv; member