Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/libwebp/imageio/
Dpngdec.c303 double image_gamma = 1 / 2.2, screen_gamma = 2.2; in ReadPNG() local
306 png_get_gAMA(png, info, &image_gamma)) { in ReadPNG()
307 png_set_gamma(png, screen_gamma, image_gamma); in ReadPNG()
/third_party/skia/third_party/externals/libpng/
Dexample.c459 double image_gamma;
460 if (png_get_gAMA(png_ptr, info_ptr, &image_gamma) != 0)
461 png_set_gamma(png_ptr, screen_gamma, image_gamma);