Searched refs:pRamp (Results 1 – 1 of 1) sorted by relevance
166 static Boolean GetDeviceGammaRampGD (GDHandle hGD, Ptr pRamp) in GetDeviceGammaRampGD() argument172 if (pRamp) /* ensure pRamp is allocated */ in GetDeviceGammaRampGD()187 *((unsigned char *) pRamp + (indexChan * 256) + indexEntry) = in GetDeviceGammaRampGD()194 *((unsigned char *) pRamp + indexChan + indexEntry) = in GetDeviceGammaRampGD()306 static Boolean SetDeviceGammaRampGD (GDHandle hGD, Ptr pRamp) in SetDeviceGammaRampGD() argument317 if (pRamp) /* ensure pRamp is allocated */ in SetDeviceGammaRampGD()329 BlockMove ((Ptr)pRamp, (Ptr)pGammaBase, channels * entries); /* move everything */ in SetDeviceGammaRampGD()340 …long temp = *((unsigned char *)pRamp + (indexChan << 8) + (indexEntry << 8) / entries); /* get dat… in SetDeviceGammaRampGD()