Searched refs:palSize (Results 1 – 1 of 1) sorted by relevance
106 int palSize = 3*(1 << m_bpp); in ReadHeader() local118 m_maptype == RMT_EQUAL_RGB && m_maplength <= palSize && m_bpp <= 8)) in ReadHeader()131 palSize = m_maplength/3; in ReadHeader()133 for( i = 0; i < palSize; i++ ) in ReadHeader()135 m_palette[i].b = buffer[i + 2*palSize]; in ReadHeader()136 m_palette[i].g = buffer[i + palSize]; in ReadHeader()