Searched refs:pal_length (Results 1 – 1 of 1) sorted by relevance
361 int pal_length = -1; in ReadHeader() local483 pal_length = count / 3; in ReadHeader()484 if( pal_length > 256 ) in ReadHeader()486 for( i = 0; i < pal_length; i++ ) in ReadHeader()489 m_palette[i].g = (uchar)(m_temp_palette[i + pal_length] >> 8); in ReadHeader()490 m_palette[i].b = (uchar)(m_temp_palette[i + pal_length*2] >> 8); in ReadHeader()517 photometric == 3 && pal_length == (1 << m_bpp)) && in ReadHeader()520 if( pal_length < 0 ) in ReadHeader()531 else if( photometric == 2 && pal_length < 0 && in ReadHeader()