YUV_FIX 37 third_party/libwebp/dsp/yuv.c VP8kVToR[i] = (89858 * (i - 128) + YUV_HALF) >> YUV_FIX; YUV_FIX 40 third_party/libwebp/dsp/yuv.c VP8kUToB[i] = (113618 * (i - 128) + YUV_HALF) >> YUV_FIX; YUV_FIX 43 third_party/libwebp/dsp/yuv.c const int k = ((i - 16) * 76283 + YUV_HALF) >> YUV_FIX; YUV_FIX 49 third_party/libwebp/dsp/yuv.c VP8kVToR[i] = (91881 * (i - 128) + YUV_HALF) >> YUV_FIX; YUV_FIX 52 third_party/libwebp/dsp/yuv.c VP8kUToB[i] = (116130 * (i - 128) + YUV_HALF) >> YUV_FIX; YUV_FIX 64 third_party/libwebp/dsp/yuv.h YUV_HALF = 1 << (YUV_FIX - 1), YUV_FIX 65 third_party/libwebp/dsp/yuv.h YUV_MASK = (256 << YUV_FIX) - 1, YUV_FIX 165 third_party/libwebp/dsp/yuv.h const int g_off = (VP8kVToG[v] + VP8kUToG[u]) >> YUV_FIX; YUV_FIX 175 third_party/libwebp/dsp/yuv.h const int g_off = (VP8kVToG[v] + VP8kUToG[u]) >> YUV_FIX; YUV_FIX 185 third_party/libwebp/dsp/yuv.h const int g_off = (VP8kVToG[v] + VP8kUToG[u]) >> YUV_FIX; YUV_FIX 203 third_party/libwebp/dsp/yuv.h const int g_off = (VP8kVToG[v] + VP8kUToG[u]) >> YUV_FIX; YUV_FIX 270 third_party/libwebp/dsp/yuv.h uv = (uv + rounding + (128 << (YUV_FIX + 2))) >> (YUV_FIX + 2); YUV_FIX 278 third_party/libwebp/dsp/yuv.h return (luma + rounding + (16 << YUV_FIX)) >> YUV_FIX; // no need to clip YUV_FIX 298 third_party/libwebp/dsp/yuv.h return (luma + rounding) >> YUV_FIX; // no need to clip YUV_FIX 594 third_party/libwebp/enc/picture.c return VP8RGBToY(r, g, b, VP8RandomBits(rg, YUV_FIX)); YUV_FIX 598 third_party/libwebp/enc/picture.c return VP8RGBToU(r, g, b, VP8RandomBits(rg, YUV_FIX + 2)); YUV_FIX 602 third_party/libwebp/enc/picture.c return VP8RGBToV(r, g, b, VP8RandomBits(rg, YUV_FIX + 2));