Searched refs:PNG_FP_1 (Results 1 - 10 of 10) sorted by relevance
/external/libpng/ |
H A D | png.c | 1049 (!png_muldiv(>est, 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 D | pngrtran.c | 219 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(>est, 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 D | pngwrite.c | 1320 ((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 D | png.h | 778 #define PNG_FP_1 100000 macro 1273 #define PNG_GAMMA_LINEAR PNG_FP_1 /* Linear */
|
H A D | pngget.c | 208 if (png_muldiv(&res, (png_int_32)info_ptr->y_pixels_per_unit, PNG_FP_1,
|
H A D | pngread.c | 1516 if (g < PNG_FP_1) 3889 PNG_FP_1) && !png_gamma_significant(gtest))
|
/external/libpng/contrib/libtests/ |
H A D | makepng.c | 603 gamma = PNG_FP_1; 1303 gamma = PNG_FP_1;
|
H A D | pngunknown.c | 78 #define PNG_FP_1 100000 macro 80 ((png_fixed_point)(PNG_GAMMA_THRESHOLD * PNG_FP_1))
|
H A D | tarith.c | 894 png_fixed_point gfp = floor(g * PNG_FP_1 + .5);
|
H A D | pngvalid.c | 97 #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