Searched refs:paletteSize (Results 1 – 3 of 3) sorted by relevance
182 int paletteSize = channels > 1 ? 0 : 1024; in loadImageBytes() local183 int headerSize = 14 /* fileheader */ + bitmapHeaderSize + paletteSize; in loadImageBytes()
505 int paletteSize = channels > 1 ? 0 : 1024; in WriteImage() local506 int headerSize = 14 /* fileheader */ + bitmapHeaderSize + paletteSize; in WriteImage()
1733 int paletteSize = entrySize * 256; in GL_Upload8_EXT() local1754 memcpy(pDest, pSrc, paletteSize); in GL_Upload8_EXT()1758 bytesUsed = paletteSize; in GL_Upload8_EXT()1759 pTex += paletteSize; in GL_Upload8_EXT()