Home
last modified time | relevance | path

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

/external/libpng/contrib/libtests/
Dpngvalid.c9406 double gamma_correction; /* Overall correction required. */ member
9506 vi->gamma_correction = 1/(dp->file_gamma*dp->screen_gamma); in init_validate_info()
9507 if (fabs(vi->gamma_correction-1) < PNG_GAMMA_THRESHOLD) in init_validate_info()
9508 vi->gamma_correction = 0; in init_validate_info()
9632 if (alpha >= 0 && vi->gamma_correction > 0) in gamma_component_validate()
9633 encoded_sample = pow(encoded_sample, vi->gamma_correction); in gamma_component_validate()
10110 if (vi->gamma_correction > 0) in gamma_component_validate()
10113 pos = safecatd(msg, sizeof msg, pos, vi->gamma_correction, 2); in gamma_component_validate()
10230 processing = (vi.gamma_correction > 0 && !dp->threshold_test) in gamma_image_validate()
/external/skia/third_party/libpng/
Dpngrtran.c1300 int gamma_correction = 0; in png_init_read_transformations() local
1305 gamma_correction = png_gamma_threshold(png_ptr->colorspace.gamma, in png_init_read_transformations()
1342 if (gamma_correction != 0) in png_init_read_transformations()
/external/pdfium/third_party/libpng16/
Dpngrtran.c1300 int gamma_correction = 0; in png_init_read_transformations() local
1305 gamma_correction = png_gamma_threshold(png_ptr->colorspace.gamma, in png_init_read_transformations()
1342 if (gamma_correction != 0) in png_init_read_transformations()
/external/libpng/
Dpngrtran.c1300 int gamma_correction = 0; in png_init_read_transformations() local
1305 gamma_correction = png_gamma_threshold(png_ptr->colorspace.gamma, in png_init_read_transformations()
1342 if (gamma_correction != 0) in png_init_read_transformations()