Home
last modified time | relevance | path

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

/external/libpng/contrib/libtests/
Dpngvalid.c9407 double file_inverse; /* Inverse of file gamma. */ member
9510 vi->file_inverse = 1/dp->file_gamma; in init_validate_info()
9511 if (fabs(vi->file_inverse-1) < PNG_GAMMA_THRESHOLD) in init_validate_info()
9512 vi->file_inverse = 0; in init_validate_info()
9669 if (vi->file_inverse > 0) in gamma_component_validate()
9670 input_sample = pow(input_sample, vi->file_inverse); in gamma_component_validate()
9875 else if (alpha >= 0 && vi->file_inverse > 0 && tmp < 1) in gamma_component_validate()
9876 tmp = pow(tmp, vi->file_inverse); in gamma_component_validate()
9894 else if (alpha >= 0 && vi->file_inverse > 0 && tmp < 1) in gamma_component_validate()
9895 tmp = pow(tmp, vi->file_inverse); in gamma_component_validate()
[all …]