XYZ 854 3rdparty/libpng/png.c int png_xy_from_XYZ(png_xy *xy, png_XYZ XYZ) XYZ 858 3rdparty/libpng/png.c d = XYZ.redX + XYZ.redY + XYZ.redZ; XYZ 859 3rdparty/libpng/png.c if (!png_muldiv(&xy->redx, XYZ.redX, PNG_FP_1, d)) return 1; XYZ 860 3rdparty/libpng/png.c if (!png_muldiv(&xy->redy, XYZ.redY, PNG_FP_1, d)) return 1; XYZ 862 3rdparty/libpng/png.c whiteX = XYZ.redX; XYZ 863 3rdparty/libpng/png.c whiteY = XYZ.redY; XYZ 865 3rdparty/libpng/png.c d = XYZ.greenX + XYZ.greenY + XYZ.greenZ; XYZ 866 3rdparty/libpng/png.c if (!png_muldiv(&xy->greenx, XYZ.greenX, PNG_FP_1, d)) return 1; XYZ 867 3rdparty/libpng/png.c if (!png_muldiv(&xy->greeny, XYZ.greenY, PNG_FP_1, d)) return 1; XYZ 869 3rdparty/libpng/png.c whiteX += XYZ.greenX; XYZ 870 3rdparty/libpng/png.c whiteY += XYZ.greenY; XYZ 872 3rdparty/libpng/png.c d = XYZ.blueX + XYZ.blueY + XYZ.blueZ; XYZ 873 3rdparty/libpng/png.c if (!png_muldiv(&xy->bluex, XYZ.blueX, PNG_FP_1, d)) return 1; XYZ 874 3rdparty/libpng/png.c if (!png_muldiv(&xy->bluey, XYZ.blueY, PNG_FP_1, d)) return 1; XYZ 876 3rdparty/libpng/png.c whiteX += XYZ.blueX; XYZ 877 3rdparty/libpng/png.c whiteY += XYZ.blueY; XYZ 888 3rdparty/libpng/png.c int png_XYZ_from_xy(png_XYZ *XYZ, png_xy xy) XYZ 1118 3rdparty/libpng/png.c if (!png_muldiv(&XYZ->redX, xy.redx, PNG_FP_1, red_inverse)) return 1; XYZ 1119 3rdparty/libpng/png.c if (!png_muldiv(&XYZ->redY, xy.redy, PNG_FP_1, red_inverse)) return 1; XYZ 1120 3rdparty/libpng/png.c if (!png_muldiv(&XYZ->redZ, PNG_FP_1 - xy.redx - xy.redy, PNG_FP_1, XYZ 1124 3rdparty/libpng/png.c if (!png_muldiv(&XYZ->greenX, xy.greenx, PNG_FP_1, green_inverse)) return 1; XYZ 1125 3rdparty/libpng/png.c if (!png_muldiv(&XYZ->greenY, xy.greeny, PNG_FP_1, green_inverse)) return 1; XYZ 1126 3rdparty/libpng/png.c if (!png_muldiv(&XYZ->greenZ, PNG_FP_1 - xy.greenx - xy.greeny, PNG_FP_1, XYZ 1130 3rdparty/libpng/png.c if (!png_muldiv(&XYZ->blueX, xy.bluex, blue_scale, PNG_FP_1)) return 1; XYZ 1131 3rdparty/libpng/png.c if (!png_muldiv(&XYZ->blueY, xy.bluey, blue_scale, PNG_FP_1)) return 1; XYZ 1132 3rdparty/libpng/png.c if (!png_muldiv(&XYZ->blueZ, PNG_FP_1 - xy.bluex - xy.bluey, blue_scale, XYZ 1139 3rdparty/libpng/png.c int png_XYZ_from_xy_checked(png_structp png_ptr, png_XYZ *XYZ, png_xy xy) XYZ 1141 3rdparty/libpng/png.c switch (png_XYZ_from_xy(XYZ, xy)) XYZ 477 3rdparty/libpng/pngget.c png_XYZ XYZ; XYZ 493 3rdparty/libpng/pngget.c if (png_XYZ_from_xy_checked(png_ptr, &XYZ, xy)) XYZ 496 3rdparty/libpng/pngget.c *int_red_X = XYZ.redX; XYZ 498 3rdparty/libpng/pngget.c *int_red_Y = XYZ.redY; XYZ 500 3rdparty/libpng/pngget.c *int_red_Z = XYZ.redZ; XYZ 502 3rdparty/libpng/pngget.c *int_green_X = XYZ.greenX; XYZ 504 3rdparty/libpng/pngget.c *int_green_Y = XYZ.greenY; XYZ 506 3rdparty/libpng/pngget.c *int_green_Z = XYZ.greenZ; XYZ 508 3rdparty/libpng/pngget.c *int_blue_X = XYZ.blueX; XYZ 510 3rdparty/libpng/pngget.c *int_blue_Y = XYZ.blueY; XYZ 512 3rdparty/libpng/pngget.c *int_blue_Z = XYZ.blueZ; XYZ 559 3rdparty/libpng/pngget.c png_XYZ XYZ; XYZ 562 3rdparty/libpng/pngget.c &XYZ.redX, &XYZ.redY, &XYZ.redZ, &XYZ.greenX, &XYZ.greenY, &XYZ.greenZ, XYZ 563 3rdparty/libpng/pngget.c &XYZ.blueX, &XYZ.blueY, &XYZ.blueZ) & PNG_INFO_cHRM) XYZ 566 3rdparty/libpng/pngget.c *red_X = png_float(png_ptr, XYZ.redX, "cHRM red X"); XYZ 568 3rdparty/libpng/pngget.c *red_Y = png_float(png_ptr, XYZ.redY, "cHRM red Y"); XYZ 570 3rdparty/libpng/pngget.c *red_Z = png_float(png_ptr, XYZ.redZ, "cHRM red Z"); XYZ 572 3rdparty/libpng/pngget.c *green_X = png_float(png_ptr, XYZ.greenX, "cHRM green X"); XYZ 574 3rdparty/libpng/pngget.c *green_Y = png_float(png_ptr, XYZ.greenY, "cHRM green Y"); XYZ 576 3rdparty/libpng/pngget.c *green_Z = png_float(png_ptr, XYZ.greenZ, "cHRM green Z"); XYZ 578 3rdparty/libpng/pngget.c *blue_X = png_float(png_ptr, XYZ.blueX, "cHRM blue X"); XYZ 580 3rdparty/libpng/pngget.c *blue_Y = png_float(png_ptr, XYZ.blueY, "cHRM blue Y"); XYZ 582 3rdparty/libpng/pngget.c *blue_Z = png_float(png_ptr, XYZ.blueZ, "cHRM blue Z"); XYZ 1385 3rdparty/libpng/pngpriv.h PNG_EXTERN int png_xy_from_XYZ PNGARG((png_xy *xy, png_XYZ XYZ)); XYZ 1386 3rdparty/libpng/pngpriv.h PNG_EXTERN int png_XYZ_from_xy PNGARG((png_XYZ *XYZ, png_xy xy)); XYZ 1388 3rdparty/libpng/pngpriv.h png_XYZ *XYZ, png_xy xy)); XYZ 1028 3rdparty/libpng/pngrutil.c png_XYZ XYZ; XYZ 1040 3rdparty/libpng/pngrutil.c if (png_XYZ_from_xy_checked(png_ptr, &XYZ, xy)) XYZ 1048 3rdparty/libpng/pngrutil.c if (png_muldiv(&r, XYZ.redY, 32768, PNG_FP_1) && XYZ 1050 3rdparty/libpng/pngrutil.c png_muldiv(&g, XYZ.greenY, 32768, PNG_FP_1) && XYZ 1052 3rdparty/libpng/pngrutil.c png_muldiv(&b, XYZ.blueY, 32768, PNG_FP_1) && XYZ 75 3rdparty/libpng/pngset.c png_XYZ XYZ; XYZ 83 3rdparty/libpng/pngset.c XYZ.redX = int_red_X; XYZ 84 3rdparty/libpng/pngset.c XYZ.redY = int_red_Y; XYZ 85 3rdparty/libpng/pngset.c XYZ.redZ = int_red_Z; XYZ 86 3rdparty/libpng/pngset.c XYZ.greenX = int_green_X; XYZ 87 3rdparty/libpng/pngset.c XYZ.greenY = int_green_Y; XYZ 88 3rdparty/libpng/pngset.c XYZ.greenZ = int_green_Z; XYZ 89 3rdparty/libpng/pngset.c XYZ.blueX = int_blue_X; XYZ 90 3rdparty/libpng/pngset.c XYZ.blueY = int_blue_Y; XYZ 91 3rdparty/libpng/pngset.c XYZ.blueZ = int_blue_Z; XYZ 93 3rdparty/libpng/pngset.c if (png_xy_from_XYZ(&xy, XYZ)) XYZ 915 3rdparty/libtiff/tif_luv.c LogLuv24toXYZ(uint32 p, float XYZ[3]) XYZ 922 3rdparty/libtiff/tif_luv.c XYZ[0] = XYZ[1] = XYZ[2] = 0.; XYZ 934 3rdparty/libtiff/tif_luv.c XYZ[0] = (float)(x/y * L); XYZ 935 3rdparty/libtiff/tif_luv.c XYZ[1] = (float)L; XYZ 936 3rdparty/libtiff/tif_luv.c XYZ[2] = (float)((1.-x-y)/y * L); XYZ 943 3rdparty/libtiff/tif_luv.c LogLuv24fromXYZ(float XYZ[3], int em) XYZ 948 3rdparty/libtiff/tif_luv.c Le = LogL10fromY(XYZ[1], em); XYZ 950 3rdparty/libtiff/tif_luv.c s = XYZ[0] + 15.*XYZ[1] + 3.*XYZ[2]; XYZ 955 3rdparty/libtiff/tif_luv.c u = 4.*XYZ[0] / s; XYZ 956 3rdparty/libtiff/tif_luv.c v = 9.*XYZ[1] / s; XYZ 1056 3rdparty/libtiff/tif_luv.c LogLuv32toXYZ(uint32 p, float XYZ[3]) XYZ 1062 3rdparty/libtiff/tif_luv.c XYZ[0] = XYZ[1] = XYZ[2] = 0.; XYZ 1072 3rdparty/libtiff/tif_luv.c XYZ[0] = (float)(x/y * L); XYZ 1073 3rdparty/libtiff/tif_luv.c XYZ[1] = (float)L; XYZ 1074 3rdparty/libtiff/tif_luv.c XYZ[2] = (float)((1.-x-y)/y * L); XYZ 1081 3rdparty/libtiff/tif_luv.c LogLuv32fromXYZ(float XYZ[3], int em) XYZ 1086 3rdparty/libtiff/tif_luv.c Le = (unsigned int)LogL16fromY(XYZ[1], em); XYZ 1088 3rdparty/libtiff/tif_luv.c s = XYZ[0] + 15.*XYZ[1] + 3.*XYZ[2]; XYZ 1093 3rdparty/libtiff/tif_luv.c u = 4.*XYZ[0] / s; XYZ 1094 3rdparty/libtiff/tif_luv.c v = 9.*XYZ[1] / s; XYZ 193 3rdparty/openexr/Imath/ImathEuler.h Legal = XYZ | XZY | YZX | YXZ | ZXY | ZYX | XYZ 200 3rdparty/openexr/Imath/ImathEuler.h Default = XYZ XYZ 317 3rdparty/openexr/Imath/ImathEuler.h Order order = XYZ); XYZ 759 3rdparty/openexr/Imath/ImathMatrixAlgo.h if (rOrder != Euler<T>::XYZ) XYZ 761 3rdparty/openexr/Imath/ImathMatrixAlgo.h Imath::Euler<T> eXYZ (r, Imath::Euler<T>::XYZ); XYZ 778 3rdparty/openexr/Imath/ImathMatrixAlgo.h return extractSHRT(mat, s, h, r, t, exc, Imath::Euler<T>::XYZ);