Searched refs:grayhi (Results 1 – 1 of 1) sorted by relevance
/third_party/skia/third_party/externals/libpng/contrib/libtests/ |
D | pngvalid.c | 7919 double rlo, rhi, glo, ghi, blo, bhi, graylo, grayhi; in image_transform_png_set_rgb_to_gray_mod() local 8014 grayhi = DU(rhi * (data.red_coefficient+ce) + in image_transform_png_set_rgb_to_gray_mod() 8017 if (grayhi < gray) in image_transform_png_set_rgb_to_gray_mod() 8018 grayhi = gray; in image_transform_png_set_rgb_to_gray_mod() 8039 grayhi = DU(pow(grayhi, power), sample_depth, 1); in image_transform_png_set_rgb_to_gray_mod() 8055 err = fabs(grayhi-gray); in image_transform_png_set_rgb_to_gray_mod() 8141 double rhi, ghi, bhi, grayhi; in image_transform_png_set_rgb_to_gray_mod() local 8169 grayhi = rhi * data.red_coefficient + ghi * data.green_coefficient + in image_transform_png_set_rgb_to_gray_mod() 8171 grayhi *= (1 + 6 * DBL_EPSILON); in image_transform_png_set_rgb_to_gray_mod() 8172 if (grayhi >= 1) in image_transform_png_set_rgb_to_gray_mod() [all …]
|