Lines Matching refs:red_primary
156 red_primary, member
752 bmp_info.red_primary.x=(double) ReadBlobLSBLong(image)/BMP_DENOM; in ReadBMPImage()
753 bmp_info.red_primary.y=(double) ReadBlobLSBLong(image)/BMP_DENOM; in ReadBMPImage()
754 bmp_info.red_primary.z=(double) ReadBlobLSBLong(image)/BMP_DENOM; in ReadBMPImage()
762 gamma=bmp_info.red_primary.x+bmp_info.red_primary.y+ in ReadBMPImage()
763 bmp_info.red_primary.z; in ReadBMPImage()
765 bmp_info.red_primary.x*=gamma; in ReadBMPImage()
766 bmp_info.red_primary.y*=gamma; in ReadBMPImage()
767 image->chromaticity.red_primary.x=bmp_info.red_primary.x; in ReadBMPImage()
768 image->chromaticity.red_primary.y=bmp_info.red_primary.y; in ReadBMPImage()
2317 if (isgreater(image->chromaticity.red_primary.x, 1.0) || in WriteBMPImage()
2318 !isgreater(image->chromaticity.red_primary.x, 0.0)) in WriteBMPImage()
2319 image->chromaticity.red_primary.x = 0.0; in WriteBMPImage()
2320 if (isgreater(image->chromaticity.red_primary.y, 1.0) || in WriteBMPImage()
2321 !isgreater(image->chromaticity.red_primary.y, 0.0)) in WriteBMPImage()
2322 image->chromaticity.red_primary.y = 0.0; in WriteBMPImage()
2346 (image->chromaticity.red_primary.x*0x40000000)); in WriteBMPImage()
2348 (image->chromaticity.red_primary.y*0x40000000)); in WriteBMPImage()
2350 ((1.000f-(image->chromaticity.red_primary.x+ in WriteBMPImage()
2351 image->chromaticity.red_primary.y))*0x40000000)); in WriteBMPImage()