Home | History | Annotate | Download | only in maccommon

Lines Matching refs:ramp

57  * ADC Gamma Ramp support...
59 * Mac Gamma Ramp code was originally from sample code provided by
177 /* fill ramp */
180 short shiftRightValue = pTableGammaTemp->gDataWidth - 8; /* number of right shifts device -> ramp */
192 for (indexChan = 0; indexChan < 768; indexChan += 256) /* repeat for all 3 channels (step by ramp size) */
334 short shiftRightValue = 8 - dataBits; /* number of right shifts ramp -> device */
340 long temp = *((unsigned char *)pRamp + (indexChan << 8) + (indexEntry << 8) / entries); /* get data from ramp */
394 /* end of ADC Gamma Ramp support code... */
409 int Mac_SetGammaRamp(_THIS, Uint16 *ramp)
416 shiftedRamp[i] = ramp[i] >> 8;
425 int Mac_GetGammaRamp(_THIS, Uint16 *ramp)
432 ramp[i] = shiftedRamp[i] << 8;