Lines Matching refs:aPalette
472 XColor aPalette[256]; in setBitmapDataPalette() local
483 … aPalette[i].red = ((unsigned short)pData[42 + i*4]) << 8 | ((unsigned short)pData[42 + i*4]); in setBitmapDataPalette()
484 … aPalette[i].green = ((unsigned short)pData[41 + i*4]) << 8 | ((unsigned short)pData[41 + i*4]); in setBitmapDataPalette()
485 … aPalette[i].blue = ((unsigned short)pData[40 + i*4]) << 8 | ((unsigned short)pData[40 + i*4]); in setBitmapDataPalette()
486 XAllocColor( m_pDisplay, m_aColormap, aPalette+i ); in setBitmapDataPalette()
489 aPalette[i].pixel = getTCPixel( pData[42+i*4], pData[41+i*4], pData[40+i*4] ); in setBitmapDataPalette()
531 XPutPixel( pImage, x, y, aPalette[nCol].pixel ); in setBitmapDataPalette()
538 XColor aPalette[216]; in setBitmapDataTCDither() local
549 aPalette[i].red = r == 5 ? 0xffff : r*10922; in setBitmapDataTCDither()
550 aPalette[i].green = g == 5 ? 0xffff : g*10922; in setBitmapDataTCDither()
551 aPalette[i].blue = b == 5 ? 0xffff : b*10922; in setBitmapDataTCDither()
552 aPalette[i].pixel = 0; in setBitmapDataTCDither()
553 if( ! XAllocColor( m_pDisplay, m_aColormap, aPalette+i ) ) in setBitmapDataTCDither()
573 if( aPalette[nIndex].pixel == 0 ) in setBitmapDataTCDither()
574 aPalette[nIndex] = aRealPalette[i]; in setBitmapDataTCDither()
600 XPutPixel( pImage, x, y, aPalette[ i ].pixel ); in setBitmapDataTCDither()