Searched refs:PNG_FP_1 (Results 1 - 15 of 15) sorted by relevance
/external/libpng/ |
H A D | png.c | 1050 (png_muldiv(>est, colorspace->gamma, PNG_FP_1, gAMA) == 0 || 1203 if (png_muldiv(&xy->redx, XYZ->red_X, PNG_FP_1, d) == 0) 1205 if (png_muldiv(&xy->redy, XYZ->red_Y, PNG_FP_1, d) == 0) 1212 if (png_muldiv(&xy->greenx, XYZ->green_X, PNG_FP_1, d) == 0) 1214 if (png_muldiv(&xy->greeny, XYZ->green_Y, PNG_FP_1, d) == 0) 1221 if (png_muldiv(&xy->bluex, XYZ->blue_X, PNG_FP_1, d) == 0) 1223 if (png_muldiv(&xy->bluey, XYZ->blue_Y, PNG_FP_1, d) == 0) 1232 if (png_muldiv(&xy->whitex, whiteX, PNG_FP_1, dwhite) == 0) 1234 if (png_muldiv(&xy->whitey, whiteY, PNG_FP_1, dwhite) == 0) 1251 if (xy->redx < 0 || xy->redx > PNG_FP_1) retur [all...] |
H A D | pngrtran.c | 220 output_gamma == PNG_FP_1 / PNG_DEFAULT_sRGB) 237 output_gamma == PNG_FP_1 / PNG_GAMMA_MAC_18) 260 output_gamma *= PNG_FP_1; 334 output_gamma = PNG_FP_1; 999 if (red >= 0 && green >= 0 && red + green <= PNG_FP_1) 1088 return !png_muldiv(>est, screen_gamma, file_gamma, PNG_FP_1) || 1329 png_ptr->screen_gamma = png_ptr->colorspace.gamma = PNG_FP_1; 1617 gs = PNG_FP_1; 1632 g = PNG_FP_1; /* back_1 */ 1633 gs = PNG_FP_1; /* bac [all...] |
H A D | png.h | 692 #define PNG_FP_1 100000 macro 1185 #define PNG_GAMMA_LINEAR PNG_FP_1 /* Linear */
|
H A D | pngget.c | 222 if (png_muldiv(&res, (png_int_32)info_ptr->y_pixels_per_unit, PNG_FP_1,
|
H A D | pngread.c | 1364 if (g < PNG_FP_1) 3756 PNG_FP_1) != 0 && png_gamma_significant(gtest) == 0)
|
/external/pdfium/third_party/lpng_v163/ |
H A D | png.c | 985 (!png_muldiv(>est, colorspace->gamma, PNG_FP_1, gAMA) ||
1137 if (!png_muldiv(&xy->redx, XYZ->red_X, PNG_FP_1, d)) return 1;
1138 if (!png_muldiv(&xy->redy, XYZ->red_Y, PNG_FP_1, d)) return 1;
1144 if (!png_muldiv(&xy->greenx, XYZ->green_X, PNG_FP_1, d)) return 1;
1145 if (!png_muldiv(&xy->greeny, XYZ->green_Y, PNG_FP_1, d)) return 1;
1151 if (!png_muldiv(&xy->bluex, XYZ->blue_X, PNG_FP_1, d)) return 1;
1152 if (!png_muldiv(&xy->bluey, XYZ->blue_Y, PNG_FP_1, d)) return 1;
1160 if (!png_muldiv(&xy->whitex, whiteX, PNG_FP_1, dwhite)) return 1;
1161 if (!png_muldiv(&xy->whitey, whiteY, PNG_FP_1, dwhite)) return 1;
1176 if (xy->redx < 0 || xy->redx > PNG_FP_1) retur [all...] |
H A D | pngrtran.c | 218 output_gamma == PNG_FP_1 / PNG_DEFAULT_sRGB)
235 output_gamma == PNG_FP_1 / PNG_GAMMA_MAC_18)
258 output_gamma *= PNG_FP_1;
329 output_gamma = PNG_FP_1;
995 if (red >= 0 && green >= 0 && red + green <= PNG_FP_1)
1084 return !png_muldiv(>est, screen_gamma, file_gamma, PNG_FP_1) ||
1319 png_ptr->screen_gamma = png_ptr->colorspace.gamma = PNG_FP_1;
1608 gs = PNG_FP_1;
1623 g = PNG_FP_1; /* back_1 */
1624 gs = PNG_FP_1; /* bac [all...] |
H A D | pngwrite.c | 1254 ((PNG_WEIGHT_FACTOR*filter_weights[i]+PNG_FP_HALF)/PNG_FP_1);
1257 PNG_FP_1+(filter_weights[i]/2))/filter_weights[i]);
1269 if (filter_costs[i] >= PNG_FP_1)
1277 tmp = PNG_COST_FACTOR*PNG_FP_1 + (filter_costs[i]/2);
1283 tmp /= PNG_FP_1;
|
H A D | png.h | 1016 #define PNG_FP_1 100000 macro 1582 #define PNG_GAMMA_LINEAR PNG_FP_1 /* Linear */
|
H A D | pngget.c | 207 if (png_muldiv(&res, (png_int_32)info_ptr->y_pixels_per_unit, PNG_FP_1,
|
H A D | pngread.c | 1257 if (g < PNG_FP_1)
3619 PNG_FP_1) && !png_gamma_significant(gtest))
|
/external/libpng/contrib/libtests/ |
H A D | pngunknown.c | 89 #define PNG_FP_1 100000 macro 91 ((png_fixed_point)(PNG_GAMMA_THRESHOLD * PNG_FP_1))
|
H A D | makepng.c | 853 gamma = PNG_FP_1; 1718 gamma = PNG_FP_1;
|
H A D | tarith.c | 894 png_fixed_point gfp = floor(g * PNG_FP_1 + .5);
|
H A D | pngvalid.c | 107 #define PNG_FP_1 100000 macro 109 ((png_fixed_point)(PNG_GAMMA_THRESHOLD * PNG_FP_1)) 246 d = floor(d * PNG_FP_1 + .5); 7420 # define API_cvt(x) ((double)(x)/PNG_FP_1)
|
Completed in 256 milliseconds