Lines Matching defs:pIndexed
174 FindBestColor(miIndexedPtr pIndexed, Pixel * pixels, int num,
184 CARD32 v = pIndexed->rgba[pixel];
203 FindBestGray(miIndexedPtr pIndexed, Pixel * pixels, int num, int gray)
213 CARD32 v = pIndexed->rgba[pixel];
232 miIndexedPtr pIndexed;
252 pIndexed = malloc(sizeof(miIndexedRec));
253 if (!pIndexed)
259 free(pIndexed);
274 pIndexed->rgba[p] = (0xff000000 |
286 pIndexed->color = FALSE;
288 pIndexed->ent[r] = FindBestGray(pIndexed, pixels, num, r);
291 pIndexed->color = TRUE;
296 pIndexed->ent[p] = FindBestColor(pIndexed, pixels, num,
302 pFormat->index.devPrivate = pIndexed;
319 miIndexedPtr pIndexed = pFormat->index.devPrivate;
321 if (pIndexed) {
323 pIndexed->rgba[pdef->pixel] = (0xff000000 |