• Home
  • Raw
  • Download

Lines Matching refs:lpMod

361     cmsCIECAM02* lpMod;  in cmsCIECAM02Init()  local
365 if((lpMod = (cmsCIECAM02*) _cmsMallocZero(ContextID, sizeof(cmsCIECAM02))) == NULL) { in cmsCIECAM02Init()
369 lpMod ->ContextID = ContextID; in cmsCIECAM02Init()
371 lpMod ->adoptedWhite.XYZ[0] = pVC ->whitePoint.X; in cmsCIECAM02Init()
372 lpMod ->adoptedWhite.XYZ[1] = pVC ->whitePoint.Y; in cmsCIECAM02Init()
373 lpMod ->adoptedWhite.XYZ[2] = pVC ->whitePoint.Z; in cmsCIECAM02Init()
375 lpMod -> LA = pVC ->La; in cmsCIECAM02Init()
376 lpMod -> Yb = pVC ->Yb; in cmsCIECAM02Init()
377 lpMod -> D = pVC ->D_value; in cmsCIECAM02Init()
378 lpMod -> surround = pVC ->surround; in cmsCIECAM02Init()
380 switch (lpMod -> surround) { in cmsCIECAM02Init()
384 lpMod->F = 0.8; in cmsCIECAM02Init()
385 lpMod->c = 0.41; in cmsCIECAM02Init()
386 lpMod->Nc = 0.8; in cmsCIECAM02Init()
390 lpMod -> F = 0.8; in cmsCIECAM02Init()
391 lpMod -> c = 0.525; in cmsCIECAM02Init()
392 lpMod -> Nc = 0.8; in cmsCIECAM02Init()
396 lpMod -> F = 0.9; in cmsCIECAM02Init()
397 lpMod -> c = 0.59; in cmsCIECAM02Init()
398 lpMod -> Nc = 0.95; in cmsCIECAM02Init()
403 lpMod -> F = 1.0; in cmsCIECAM02Init()
404 lpMod -> c = 0.69; in cmsCIECAM02Init()
405 lpMod -> Nc = 1.0; in cmsCIECAM02Init()
408 lpMod -> n = compute_n(lpMod); in cmsCIECAM02Init()
409 lpMod -> z = compute_z(lpMod); in cmsCIECAM02Init()
410 lpMod -> Nbb = computeNbb(lpMod); in cmsCIECAM02Init()
411 lpMod -> FL = computeFL(lpMod); in cmsCIECAM02Init()
413 if (lpMod -> D == D_CALCULATE) { in cmsCIECAM02Init()
414 lpMod -> D = computeD(lpMod); in cmsCIECAM02Init()
417 lpMod -> Ncb = lpMod -> Nbb; in cmsCIECAM02Init()
419 lpMod -> adoptedWhite = XYZtoCAT02(lpMod -> adoptedWhite); in cmsCIECAM02Init()
420 lpMod -> adoptedWhite = ChromaticAdaptation(lpMod -> adoptedWhite, lpMod); in cmsCIECAM02Init()
421 lpMod -> adoptedWhite = CAT02toHPE(lpMod -> adoptedWhite); in cmsCIECAM02Init()
422 lpMod -> adoptedWhite = NonlinearCompression(lpMod -> adoptedWhite, lpMod); in cmsCIECAM02Init()
424 return (cmsHANDLE) lpMod; in cmsCIECAM02Init()
430 cmsCIECAM02* lpMod = (cmsCIECAM02*) hModel; in cmsCIECAM02Done() local
432 if (lpMod) _cmsFree(lpMod ->ContextID, lpMod); in cmsCIECAM02Done()
439 cmsCIECAM02* lpMod = (cmsCIECAM02*) hModel; in cmsCIECAM02Forward() local
441 _cmsAssert(lpMod != NULL); in cmsCIECAM02Forward()
452 clr = ChromaticAdaptation(clr, lpMod); in cmsCIECAM02Forward()
454 clr = NonlinearCompression(clr, lpMod); in cmsCIECAM02Forward()
455 clr = ComputeCorrelates(clr, lpMod); in cmsCIECAM02Forward()
465 cmsCIECAM02* lpMod = (cmsCIECAM02*) hModel; in cmsCIECAM02Reverse() local
467 _cmsAssert(lpMod != NULL); in cmsCIECAM02Reverse()
477 clr = InverseCorrelates(clr, lpMod); in cmsCIECAM02Reverse()
478 clr = InverseNonlinearity(clr, lpMod); in cmsCIECAM02Reverse()
480 clr = InverseChromaticAdaptation(clr, lpMod); in cmsCIECAM02Reverse()