Searched refs:PNG_FP_1 (Results 1 - 10 of 10) sorted by relevance

/external/libpng/
H A Dpng.c1049 (!png_muldiv(&gtest, colorspace->gamma, PNG_FP_1, gAMA) ||
1201 if (!png_muldiv(&xy->redx, XYZ->red_X, PNG_FP_1, d)) return 1;
1202 if (!png_muldiv(&xy->redy, XYZ->red_Y, PNG_FP_1, d)) return 1;
1208 if (!png_muldiv(&xy->greenx, XYZ->green_X, PNG_FP_1, d)) return 1;
1209 if (!png_muldiv(&xy->greeny, XYZ->green_Y, PNG_FP_1, d)) return 1;
1215 if (!png_muldiv(&xy->bluex, XYZ->blue_X, PNG_FP_1, d)) return 1;
1216 if (!png_muldiv(&xy->bluey, XYZ->blue_Y, PNG_FP_1, d)) return 1;
1224 if (!png_muldiv(&xy->whitex, whiteX, PNG_FP_1, dwhite)) return 1;
1225 if (!png_muldiv(&xy->whitey, whiteY, PNG_FP_1, dwhite)) return 1;
1240 if (xy->redx < 0 || xy->redx > PNG_FP_1) retur
[all...]
H A Dpngrtran.c219 output_gamma == PNG_FP_1 / PNG_DEFAULT_sRGB)
236 output_gamma == PNG_FP_1 / PNG_GAMMA_MAC_18)
259 output_gamma *= PNG_FP_1;
330 output_gamma = PNG_FP_1;
996 if (red >= 0 && green >= 0 && red + green <= PNG_FP_1)
1085 return !png_muldiv(&gtest, screen_gamma, file_gamma, PNG_FP_1) ||
1326 png_ptr->screen_gamma = png_ptr->colorspace.gamma = PNG_FP_1;
1615 gs = PNG_FP_1;
1630 g = PNG_FP_1; /* back_1 */
1631 gs = PNG_FP_1; /* bac
[all...]
H A Dpngwrite.c1320 ((PNG_WEIGHT_FACTOR*filter_weights[i]+PNG_FP_HALF)/PNG_FP_1);
1323 PNG_FP_1+(filter_weights[i]/2))/filter_weights[i]);
1335 if (filter_costs[i] >= PNG_FP_1)
1343 tmp = PNG_COST_FACTOR*PNG_FP_1 + (filter_costs[i]/2);
1349 tmp /= PNG_FP_1;
H A Dpng.h778 #define PNG_FP_1 100000 macro
1273 #define PNG_GAMMA_LINEAR PNG_FP_1 /* Linear */
H A Dpngget.c208 if (png_muldiv(&res, (png_int_32)info_ptr->y_pixels_per_unit, PNG_FP_1,
H A Dpngread.c1516 if (g < PNG_FP_1)
3889 PNG_FP_1) && !png_gamma_significant(gtest))
/external/libpng/contrib/libtests/
H A Dmakepng.c603 gamma = PNG_FP_1;
1303 gamma = PNG_FP_1;
H A Dpngunknown.c78 #define PNG_FP_1 100000 macro
80 ((png_fixed_point)(PNG_GAMMA_THRESHOLD * PNG_FP_1))
H A Dtarith.c894 png_fixed_point gfp = floor(g * PNG_FP_1 + .5);
H A Dpngvalid.c97 #define PNG_FP_1 100000 macro
99 ((png_fixed_point)(PNG_GAMMA_THRESHOLD * PNG_FP_1))
201 d = floor(d * PNG_FP_1 + .5);
6854 # define API_cvt(x) ((double)(x)/PNG_FP_1)

Completed in 644 milliseconds