kGammaScale 625 third_party/libwebp/enc/picture.c const double scale = 1. / kGammaScale; kGammaScale 628 third_party/libwebp/enc/picture.c (uint16_t)(pow(v / 255., kGamma) * kGammaScale + .5);