• Home
  • Raw
  • Download

Lines Matching refs:gbd

303     cmsGDB* gbd = (cmsGDB*) _cmsMallocZero(ContextID, sizeof(cmsGDB));  in cmsGBDAlloc()  local
304 if (gbd == NULL) return NULL; in cmsGBDAlloc()
306 gbd -> ContextID = ContextID; in cmsGBDAlloc()
308 return (cmsHANDLE) gbd; in cmsGBDAlloc()
314 cmsGDB* gbd = (cmsGDB*) hGBD; in cmsGBDFree() local
316 _cmsFree(gbd->ContextID, (void*) gbd); in cmsGBDFree()
322 cmsGDBPoint* GetPoint(cmsGDB* gbd, const cmsCIELab* Lab, cmsSpherical* sp) in GetPoint() argument
328 _cmsAssert(gbd != NULL); in GetPoint()
339 cmsSignalError(gbd ->ContextID, cmsERROR_RANGE, "spherical value out of range"); in GetPoint()
347 cmsSignalError(gbd ->ContextID, cmsERROR_RANGE, " quadrant out of range"); in GetPoint()
352 return &gbd ->Gamut[theta][alpha]; in GetPoint()
359 cmsGDB* gbd = (cmsGDB*) hGBD; in cmsGDBAddPoint() local
365 ptr = GetPoint(gbd, Lab, &sp); in cmsGDBAddPoint()
391 cmsGDB* gbd = (cmsGDB*) hGBD; in cmsGDBCheckPoint() local
396 ptr = GetPoint(gbd, Lab, &sp); in cmsGDBCheckPoint()
439 int FindNearSectors(cmsGDB* gbd, int alpha, int theta, cmsGDBPoint* Close[]) in FindNearSectors() argument
459 pt = &gbd ->Gamut[t][a]; in FindNearSectors()
473 cmsBool InterpolateMissingSector(cmsGDB* gbd, int alpha, int theta) in InterpolateMissingSector() argument
486 if (gbd ->Gamut[theta][alpha].Type != GP_EMPTY) return TRUE; in InterpolateMissingSector()
489 nCloseSectors = FindNearSectors(gbd, alpha, theta, Close); in InterpolateMissingSector()
539 gbd ->Gamut[theta][alpha].p = closel; in InterpolateMissingSector()
540 gbd ->Gamut[theta][alpha].Type = GP_MODELED; in InterpolateMissingSector()
552 cmsGDB* gbd = (cmsGDB*) hGBD; in cmsGDBCompute() local
559 if (!InterpolateMissingSector(gbd, alpha, 0)) return FALSE; in cmsGDBCompute()
565 if (!InterpolateMissingSector(gbd, alpha, SECTORS-1)) return FALSE; in cmsGDBCompute()
573 if (!InterpolateMissingSector(gbd, alpha, theta)) return FALSE; in cmsGDBCompute()
595 cmsGDB* gbd = (cmsGDB*) hGBD;
676 pt = &gbd ->Gamut[i][j];
701 pt = &gbd ->Gamut[i][j];