Lines Matching refs:QuantumRange
354 transpix.red=(double) (QuantumRange*ReadBlobByte(image)/31); in ReadPALMImage()
355 transpix.green=(double) (QuantumRange*ReadBlobByte(image)/63); in ReadPALMImage()
356 transpix.blue=(double) (QuantumRange*ReadBlobByte(image)/31); in ReadPALMImage()
484 SetPixelRed(image,(Quantum) ((QuantumRange*((color16 >> 11) & in ReadPALMImage()
486 SetPixelGreen(image,(Quantum) ((QuantumRange*((color16 >> 5) & in ReadPALMImage()
488 SetPixelBlue(image,(Quantum) ((QuantumRange*((color16 >> 0) & in ReadPALMImage()
872 (size_t) QuantumRange) << 11) | (((63*(size_t) in WritePALMImage()
873 GetPixelGreen(image,p))/(size_t) QuantumRange) << 5) | in WritePALMImage()
874 ((31*(size_t) GetPixelBlue(image,p))/(size_t) QuantumRange)); in WritePALMImage()
964 (void) WriteBlobByte(image,(unsigned char) ((31*transpix.red)/QuantumRange)); in WritePALMImage()
965 (void) WriteBlobByte(image,(unsigned char) ((63*transpix.green)/QuantumRange)); in WritePALMImage()
966 (void) WriteBlobByte(image,(unsigned char) ((31*transpix.blue)/QuantumRange)); in WritePALMImage()