Lines Matching refs:green_primary
157 green_primary, member
755 bmp_info.green_primary.x=(double) ReadBlobLSBLong(image)/BMP_DENOM; in ReadBMPImage()
756 bmp_info.green_primary.y=(double) ReadBlobLSBLong(image)/BMP_DENOM; in ReadBMPImage()
757 bmp_info.green_primary.z=(double) ReadBlobLSBLong(image)/BMP_DENOM; in ReadBMPImage()
770 gamma=bmp_info.green_primary.x+bmp_info.green_primary.y+ in ReadBMPImage()
771 bmp_info.green_primary.z; in ReadBMPImage()
773 bmp_info.green_primary.x*=gamma; in ReadBMPImage()
774 bmp_info.green_primary.y*=gamma; in ReadBMPImage()
775 image->chromaticity.green_primary.x=bmp_info.green_primary.x; in ReadBMPImage()
776 image->chromaticity.green_primary.y=bmp_info.green_primary.y; in ReadBMPImage()
2323 if (isgreater(image->chromaticity.green_primary.x, 1.0) || in WriteBMPImage()
2324 !isgreater(image->chromaticity.green_primary.x, 0.0)) in WriteBMPImage()
2325 image->chromaticity.green_primary.x = 0.0; in WriteBMPImage()
2326 if (isgreater(image->chromaticity.green_primary.y, 1.0) || in WriteBMPImage()
2327 !isgreater(image->chromaticity.green_primary.y, 0.0)) in WriteBMPImage()
2328 image->chromaticity.green_primary.y = 0.0; in WriteBMPImage()
2353 (image->chromaticity.green_primary.x*0x40000000)); in WriteBMPImage()
2355 (image->chromaticity.green_primary.y*0x40000000)); in WriteBMPImage()
2357 ((1.000f-(image->chromaticity.green_primary.x+ in WriteBMPImage()
2358 image->chromaticity.green_primary.y))*0x40000000)); in WriteBMPImage()