Home
last modified time | relevance | path

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

/external/libpng/contrib/libtests/
Dpngvalid.c7954 PNG_CONST double bg_inverse = 1/dp->background_gamma; in init_validate_info() local
7965 if (fabs(bg_inverse-1) >= PNG_GAMMA_THRESHOLD) in init_validate_info()
7968 r = pow(r, bg_inverse); in init_validate_info()
7969 g = pow(g, bg_inverse); in init_validate_info()
7970 b = pow(b, bg_inverse); in init_validate_info()