Searched refs:YUV_HALF (Results 1 – 7 of 7) sorted by relevance
/external/webp/src/dsp/ |
D | yuv.c | 124 YUV_HALF); in ConvertARGBToY_C() 141 const int tmp_u = VP8RGBToU(r, g, b, YUV_HALF << 2); in WebPConvertARGBToUV_C() 142 const int tmp_v = VP8RGBToV(r, g, b, YUV_HALF << 2); in WebPConvertARGBToUV_C() 157 const int tmp_u = VP8RGBToU(r, g, b, YUV_HALF << 2); in WebPConvertARGBToUV_C() 158 const int tmp_v = VP8RGBToV(r, g, b, YUV_HALF << 2); in WebPConvertARGBToUV_C() 174 y[i] = VP8RGBToY(rgb[0], rgb[1], rgb[2], YUV_HALF); in ConvertRGB24ToY_C() 181 y[i] = VP8RGBToY(bgr[2], bgr[1], bgr[0], YUV_HALF); in ConvertBGR24ToY_C() 190 u[i] = VP8RGBToU(r, g, b, YUV_HALF << 2); in WebPConvertRGBA32ToUV_C() 191 v[i] = VP8RGBToV(r, g, b, YUV_HALF << 2); in WebPConvertRGBA32ToUV_C()
|
D | yuv_neon.c | 57 y[i] = VP8RGBToY(rgb[0], rgb[1], rgb[2], YUV_HALF); in ConvertRGB24ToY_NEON() 69 y[i] = VP8RGBToY(bgr[2], bgr[1], bgr[0], YUV_HALF); in ConvertBGR24ToY_NEON() 83 YUV_HALF); in ConvertARGBToY_NEON() 129 u[i] = VP8RGBToU(r, g, b, YUV_HALF << 2); in ConvertRGBA32ToUV_NEON() 130 v[i] = VP8RGBToV(r, g, b, YUV_HALF << 2); in ConvertRGBA32ToUV_NEON()
|
D | yuv_sse41.c | 375 const __m128i kHALF_Y = _mm_set1_epi32((16 << YUV_FIX) + YUV_HALF); in ConvertRGBToY_SSE41() 393 const __m128i kHALF_UV = _mm_set1_epi32(((128 << YUV_FIX) + YUV_HALF) << 2); in ConvertRGBToUV_SSE41() 438 y[i] = VP8RGBToY(rgb[0], rgb[1], rgb[2], YUV_HALF); in ConvertRGB24ToY_SSE41() 472 y[i] = VP8RGBToY(bgr[2], bgr[1], bgr[0], YUV_HALF); in ConvertBGR24ToY_SSE41() 489 YUV_HALF); in ConvertARGBToY_SSE41()
|
D | yuv_sse2.c | 529 const __m128i kHALF_Y = _mm_set1_epi32((16 << YUV_FIX) + YUV_HALF); in ConvertRGBToY_SSE2() 547 const __m128i kHALF_UV = _mm_set1_epi32(((128 << YUV_FIX) + YUV_HALF) << 2); in ConvertRGBToUV_SSE2() 592 y[i] = VP8RGBToY(rgb[0], rgb[1], rgb[2], YUV_HALF); in ConvertRGB24ToY_SSE2() 626 y[i] = VP8RGBToY(bgr[2], bgr[1], bgr[0], YUV_HALF); in ConvertBGR24ToY_SSE2() 643 YUV_HALF); in ConvertARGBToY_SSE2()
|
D | yuv.h | 50 YUV_HALF = 1 << (YUV_FIX - 1), enumerator
|
/external/webp/src/enc/ |
D | picture_tools_enc.c | 206 const int Y0 = VP8RGBToY(red, green, blue, YUV_HALF); in WebPBlendAlpha() 208 const int U0 = VP8RGBToU(4 * red, 4 * green, 4 * blue, 4 * YUV_HALF); in WebPBlendAlpha() 209 const int V0 = VP8RGBToV(4 * red, 4 * green, 4 * blue, 4 * YUV_HALF); in WebPBlendAlpha()
|
D | picture_csp_enc.c | 141 return (rg == NULL) ? VP8RGBToY(r, g, b, YUV_HALF) in RGBToY() 146 return (rg == NULL) ? VP8RGBToU(r, g, b, YUV_HALF << 2) in RGBToU() 151 return (rg == NULL) ? VP8RGBToV(r, g, b, YUV_HALF << 2) in RGBToV() 264 const int luma = 13933 * r + 46871 * g + 4732 * b + YUV_HALF; in RGBToGray()
|