Home
last modified time | relevance | path

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

/external/opencv3/3rdparty/libwebp/dsp/
Dyuv.c24 uint8_t VP8kClip[YUV_RANGE_MAX - YUV_RANGE_MIN];
25 uint8_t VP8kClip4Bits[YUV_RANGE_MAX - YUV_RANGE_MIN];
45 for (i = YUV_RANGE_MIN; i < YUV_RANGE_MAX; ++i) { in VP8YUVInit()
47 VP8kClip[i - YUV_RANGE_MIN] = clip(k, 255); in VP8YUVInit()
48 VP8kClip4Bits[i - YUV_RANGE_MIN] = clip((k + 8) >> 4, 15); in VP8YUVInit()
57 for (i = YUV_RANGE_MIN; i < YUV_RANGE_MAX; ++i) { in VP8YUVInit()
59 VP8kClip[i - YUV_RANGE_MIN] = clip(k, 255); in VP8YUVInit()
60 VP8kClip4Bits[i - YUV_RANGE_MIN] = clip((k + 8) >> 4, 15); in VP8YUVInit()
Dyuv.h62 YUV_RANGE_MIN = -227, // min value of r/g/b output enumerator
70 extern uint8_t VP8kClip[YUV_RANGE_MAX - YUV_RANGE_MIN];
71 extern uint8_t VP8kClip4Bits[YUV_RANGE_MAX - YUV_RANGE_MIN];
78 rgb[0] = VP8kClip[y + r_off - YUV_RANGE_MIN]; in VP8YuvToRgb()
79 rgb[1] = VP8kClip[y + g_off - YUV_RANGE_MIN]; in VP8YuvToRgb()
80 rgb[2] = VP8kClip[y + b_off - YUV_RANGE_MIN]; in VP8YuvToRgb()
88 bgr[0] = VP8kClip[y + b_off - YUV_RANGE_MIN]; in VP8YuvToBgr()
89 bgr[1] = VP8kClip[y + g_off - YUV_RANGE_MIN]; in VP8YuvToBgr()
90 bgr[2] = VP8kClip[y + r_off - YUV_RANGE_MIN]; in VP8YuvToBgr()
98 const uint8_t rg = ((VP8kClip[y + r_off - YUV_RANGE_MIN] & 0xf8) | in VP8YuvToRgb565()
[all …]
/external/webp/src/dsp/
Dyuv.c26 uint8_t VP8kClip[YUV_RANGE_MAX - YUV_RANGE_MIN];
27 uint8_t VP8kClip4Bits[YUV_RANGE_MAX - YUV_RANGE_MIN];
41 for (i = YUV_RANGE_MIN; i < YUV_RANGE_MAX; ++i) { in VP8YUVInit()
43 VP8kClip[i - YUV_RANGE_MIN] = clip(k, 255); in VP8YUVInit()
44 VP8kClip4Bits[i - YUV_RANGE_MIN] = clip((k + 8) >> 4, 15); in VP8YUVInit()
53 for (i = YUV_RANGE_MIN; i < YUV_RANGE_MAX; ++i) { in VP8YUVInit()
55 VP8kClip[i - YUV_RANGE_MIN] = clip(k, 255); in VP8YUVInit()
56 VP8kClip4Bits[i - YUV_RANGE_MIN] = clip((k + 8) >> 4, 15); in VP8YUVInit()
Dyuv.h62 YUV_RANGE_MIN = -227, // min value of r/g/b output enumerator