Home
last modified time | relevance | path

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

/external/webp/src/dsp/
Dyuv.c36 VP8kVToR[i] = (89858 * (i - 128) + YUV_HALF) >> YUV_FIX; in VP8YUVInit()
37 VP8kUToG[i] = -22014 * (i - 128) + YUV_HALF; in VP8YUVInit()
39 VP8kUToB[i] = (113618 * (i - 128) + YUV_HALF) >> YUV_FIX; in VP8YUVInit()
42 const int k = ((i - 16) * 76283 + YUV_HALF) >> YUV_FIX; in VP8YUVInit()
48 VP8kVToR[i] = (91881 * (i - 128) + YUV_HALF) >> YUV_FIX; in VP8YUVInit()
49 VP8kUToG[i] = -22554 * (i - 128) + YUV_HALF; in VP8YUVInit()
51 VP8kUToB[i] = (116130 * (i - 128) + YUV_HALF) >> YUV_FIX; in VP8YUVInit()
Dyuv.h64 YUV_HALF = 1 << (YUV_FIX - 1), enumerator
/external/chromium_org/third_party/libwebp/dsp/
Dyuv.c36 VP8kVToR[i] = (89858 * (i - 128) + YUV_HALF) >> YUV_FIX; in VP8YUVInit()
37 VP8kUToG[i] = -22014 * (i - 128) + YUV_HALF; in VP8YUVInit()
39 VP8kUToB[i] = (113618 * (i - 128) + YUV_HALF) >> YUV_FIX; in VP8YUVInit()
42 const int k = ((i - 16) * 76283 + YUV_HALF) >> YUV_FIX; in VP8YUVInit()
48 VP8kVToR[i] = (91881 * (i - 128) + YUV_HALF) >> YUV_FIX; in VP8YUVInit()
49 VP8kUToG[i] = -22554 * (i - 128) + YUV_HALF; in VP8YUVInit()
51 VP8kUToB[i] = (116130 * (i - 128) + YUV_HALF) >> YUV_FIX; in VP8YUVInit()
Dyuv.h64 YUV_HALF = 1 << (YUV_FIX - 1), enumerator
/external/webp/src/enc/
Dpicture_tools.c139 const int Y0 = VP8RGBToY(red, green, blue, YUV_HALF); in WebPBlendAlpha()
141 const int U0 = VP8RGBToU(4 * red, 4 * green, 4 * blue, 4 * YUV_HALF); in WebPBlendAlpha()
142 const int V0 = VP8RGBToV(4 * red, 4 * green, 4 * blue, 4 * YUV_HALF); in WebPBlendAlpha()
/external/chromium_org/third_party/libwebp/enc/
Dpicture_tools.c139 const int Y0 = VP8RGBToY(red, green, blue, YUV_HALF); in WebPBlendAlpha()
141 const int U0 = VP8RGBToU(4 * red, 4 * green, 4 * blue, 4 * YUV_HALF); in WebPBlendAlpha()
142 const int V0 = VP8RGBToV(4 * red, 4 * green, 4 * blue, 4 * YUV_HALF); in WebPBlendAlpha()
/external/webp/src/dec/
Dvp8l.c488 YUV_HALF); in ConvertToYUVA()
507 u[i] = VP8RGBToU(r, g, b, YUV_HALF << 2); in ConvertToYUVA()
508 v[i] = VP8RGBToV(r, g, b, YUV_HALF << 2); in ConvertToYUVA()
510 const int tmp_u = VP8RGBToU(r, g, b, YUV_HALF << 2); in ConvertToYUVA()
511 const int tmp_v = VP8RGBToV(r, g, b, YUV_HALF << 2); in ConvertToYUVA()
523 u[i] = VP8RGBToU(r, g, b, YUV_HALF << 2); in ConvertToYUVA()
524 v[i] = VP8RGBToV(r, g, b, YUV_HALF << 2); in ConvertToYUVA()
526 const int tmp_u = VP8RGBToU(r, g, b, YUV_HALF << 2); in ConvertToYUVA()
527 const int tmp_v = VP8RGBToV(r, g, b, YUV_HALF << 2); in ConvertToYUVA()
/external/chromium_org/third_party/libwebp/dec/
Dvp8l.c488 YUV_HALF); in ConvertToYUVA()
507 u[i] = VP8RGBToU(r, g, b, YUV_HALF << 2); in ConvertToYUVA()
508 v[i] = VP8RGBToV(r, g, b, YUV_HALF << 2); in ConvertToYUVA()
510 const int tmp_u = VP8RGBToU(r, g, b, YUV_HALF << 2); in ConvertToYUVA()
511 const int tmp_v = VP8RGBToV(r, g, b, YUV_HALF << 2); in ConvertToYUVA()
523 u[i] = VP8RGBToU(r, g, b, YUV_HALF << 2); in ConvertToYUVA()
524 v[i] = VP8RGBToV(r, g, b, YUV_HALF << 2); in ConvertToYUVA()
526 const int tmp_u = VP8RGBToU(r, g, b, YUV_HALF << 2); in ConvertToYUVA()
527 const int tmp_v = VP8RGBToV(r, g, b, YUV_HALF << 2); in ConvertToYUVA()