Home
last modified time | relevance | path

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

/external/libpng/contrib/libtests/
Dpngvalid.c9034 double file_inverse; /* Inverse of file gamma. */ member
9137 vi->file_inverse = 1/dp->file_gamma; in init_validate_info()
9138 if (fabs(vi->file_inverse-1) < PNG_GAMMA_THRESHOLD) in init_validate_info()
9139 vi->file_inverse = 0; in init_validate_info()
9296 if (vi->file_inverse > 0) in gamma_component_validate()
9297 input_sample = pow(input_sample, vi->file_inverse); in gamma_component_validate()
9502 else if (alpha >= 0 && vi->file_inverse > 0 && tmp < 1) in gamma_component_validate()
9503 tmp = pow(tmp, vi->file_inverse); in gamma_component_validate()
9521 else if (alpha >= 0 && vi->file_inverse > 0 && tmp < 1) in gamma_component_validate()
9522 tmp = pow(tmp, vi->file_inverse); in gamma_component_validate()
[all …]