Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.15/src/video/maccommon/
DSDL_macwm.c166 static Boolean GetDeviceGammaRampGD (GDHandle hGD, Ptr pRamp) in GetDeviceGammaRampGD() argument
172 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() argument
317 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()