Searched refs:MaxRed (Results 1 – 1 of 1) sorted by relevance
91 unsigned MaxRed; member479 PalHeader.MaxRed=ReadBlobLSBShort(palette); in ReadCUTImage()490 if(PalHeader.MaxRed==0) PalHeader.MaxRed=(unsigned int) QuantumRange; /*avoid division by 0*/ in ReadCUTImage()505 if (QuantumRange != (Quantum) PalHeader.MaxRed) in ReadCUTImage()508 image->colormap[i].red*QuantumRange+(PalHeader.MaxRed>>1))/ in ReadCUTImage()509 PalHeader.MaxRed); in ReadCUTImage()