Lines Matching refs:PaletteEntry

362 void CvtPaletteToGray( const PaletteEntry* palette, uchar* grayPalette, int entries )  in CvtPaletteToGray()
372 void FillGrayPalette( PaletteEntry* palette, int bpp, bool negative ) in FillGrayPalette()
386 bool IsColorPalette( PaletteEntry* palette, int bpp ) in IsColorPalette()
404 int count3, PaletteEntry clr ) in FillUniColor()
465 uchar* FillColorRow8( uchar* data, uchar* indices, int len, PaletteEntry* palette ) in FillColorRow8()
470 *((PaletteEntry*)(data-3)) = palette[*indices++]; in FillColorRow8()
472 PaletteEntry clr = palette[indices[0]]; in FillColorRow8()
489 uchar* FillColorRow4( uchar* data, uchar* indices, int len, PaletteEntry* palette ) in FillColorRow4()
496 *((PaletteEntry*)(data-6)) = palette[idx >> 4]; in FillColorRow4()
497 *((PaletteEntry*)(data-3)) = palette[idx & 15]; in FillColorRow4()
501 PaletteEntry clr = palette[idx >> 4]; in FillColorRow4()
536 uchar* FillColorRow1( uchar* data, uchar* indices, int len, PaletteEntry* palette ) in FillColorRow1()
543 *((PaletteEntry*)(data - 24)) = palette[(idx & 128) != 0]; in FillColorRow1()
544 *((PaletteEntry*)(data - 21)) = palette[(idx & 64) != 0]; in FillColorRow1()
545 *((PaletteEntry*)(data - 18)) = palette[(idx & 32) != 0]; in FillColorRow1()
546 *((PaletteEntry*)(data - 15)) = palette[(idx & 16) != 0]; in FillColorRow1()
547 *((PaletteEntry*)(data - 12)) = palette[(idx & 8) != 0]; in FillColorRow1()
548 *((PaletteEntry*)(data - 9)) = palette[(idx & 4) != 0]; in FillColorRow1()
549 *((PaletteEntry*)(data - 6)) = palette[(idx & 2) != 0]; in FillColorRow1()
550 *((PaletteEntry*)(data - 3)) = palette[(idx & 1) != 0]; in FillColorRow1()
556 PaletteEntry clr = palette[idx < 0]; in FillColorRow1()