Searched refs:pIndexed (Results 1 – 2 of 2) sorted by relevance
174 FindBestColor(miIndexedPtr pIndexed, Pixel * pixels, int num, in FindBestColor() argument184 CARD32 v = pIndexed->rgba[pixel]; in FindBestColor()203 FindBestGray(miIndexedPtr pIndexed, Pixel * pixels, int num, int gray) in FindBestGray() argument213 CARD32 v = pIndexed->rgba[pixel]; in FindBestGray()232 miIndexedPtr pIndexed; in miInitIndexed() local252 pIndexed = malloc(sizeof(miIndexedRec)); in miInitIndexed()253 if (!pIndexed) in miInitIndexed()259 free(pIndexed); in miInitIndexed()274 pIndexed->rgba[p] = (0xff000000 | in miInitIndexed()286 pIndexed->color = FALSE; in miInitIndexed()[all …]
395 miIndexedPtr pIndexed; in miRenderColorToPixel() local410 pIndexed = (miIndexedPtr) (format->index.devPrivate); in miRenderColorToPixel()411 if (pIndexed->color) { in miRenderColorToPixel()415 *pixel = miIndexToEnt15(pIndexed, (r << 10) | (g << 5) | b); in miRenderColorToPixel()421 *pixel = miIndexToEntY24(pIndexed, (r << 16) | (g << 8) | b); in miRenderColorToPixel()475 miIndexedPtr pIndexed; in miRenderPixelToColor() local489 pIndexed = (miIndexedPtr) (format->index.devPrivate); in miRenderPixelToColor()490 pixel = pIndexed->rgba[pixel & (MI_MAX_INDEXED - 1)]; in miRenderPixelToColor()