Home
last modified time | relevance | path

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

/external/webp/src/dsp/
Dyuv.h159 extern uint8_t VP8kClip[YUV_RANGE_MAX - YUV_RANGE_MIN];
167 rgb[0] = VP8kClip[y + r_off - YUV_RANGE_MIN]; in VP8YuvToRgb()
168 rgb[1] = VP8kClip[y + g_off - YUV_RANGE_MIN]; in VP8YuvToRgb()
169 rgb[2] = VP8kClip[y + b_off - YUV_RANGE_MIN]; in VP8YuvToRgb()
177 bgr[0] = VP8kClip[y + b_off - YUV_RANGE_MIN]; in VP8YuvToBgr()
178 bgr[1] = VP8kClip[y + g_off - YUV_RANGE_MIN]; in VP8YuvToBgr()
179 bgr[2] = VP8kClip[y + r_off - YUV_RANGE_MIN]; in VP8YuvToBgr()
187 const int rg = ((VP8kClip[y + r_off - YUV_RANGE_MIN] & 0xf8) | in VP8YuvToRgb565()
188 (VP8kClip[y + g_off - YUV_RANGE_MIN] >> 5)); in VP8YuvToRgb565()
189 const int gb = (((VP8kClip[y + g_off - YUV_RANGE_MIN] << 3) & 0xe0) | in VP8YuvToRgb565()
[all …]
Dyuv.c26 uint8_t VP8kClip[YUV_RANGE_MAX - YUV_RANGE_MIN]; variable
43 VP8kClip[i - YUV_RANGE_MIN] = clip(k, 255); in VP8YUVInit()
55 VP8kClip[i - YUV_RANGE_MIN] = clip(k, 255); in VP8YUVInit()