Home
last modified time | relevance | path

Searched refs:in_qe (Results 1 – 1 of 1) sorted by relevance

/external/libpng/contrib/libtests/
Dpngvalid.c8137 double in_qe = (that->sample_depth > 8 ? .5/65535 : .5/255); in image_transform_png_set_rgb_to_gray_mod() local
8144 rhi = r + re + in_qe; if (rhi > 1) rhi = 1; in image_transform_png_set_rgb_to_gray_mod()
8145 r -= re + in_qe; if (r < 0) r = 0; in image_transform_png_set_rgb_to_gray_mod()
8146 ghi = g + ge + in_qe; if (ghi > 1) ghi = 1; in image_transform_png_set_rgb_to_gray_mod()
8147 g -= ge + in_qe; if (g < 0) g = 0; in image_transform_png_set_rgb_to_gray_mod()
8148 bhi = b + be + in_qe; if (bhi > 1) bhi = 1; in image_transform_png_set_rgb_to_gray_mod()
8149 b -= be + in_qe; if (b < 0) b = 0; in image_transform_png_set_rgb_to_gray_mod()
8180 if (err <= in_qe) in image_transform_png_set_rgb_to_gray_mod()
8184 err -= in_qe; in image_transform_png_set_rgb_to_gray_mod()