SSE2: yuv->rgb speed-up for point-sampling

- use statically initialized tables (if WEBP_YUV_USE_SSE2_TABLES is defined)
 - use SSE2 row conversion for yuv->ARGB / RGBA / ABGR / RGB / BGR
 - clean-up and harmonize the WebpUpsamplers[] usage.

Change-Id: Ic5f3659a995927bd7363defac99c1fc03a85a47d
This commit is contained in:
skal
2014-05-22 09:49:42 +02:00
parent 1b99c09cdc
commit a05dc1402c
11 changed files with 863 additions and 161 deletions

View File

@ -236,6 +236,9 @@ NEON_UPSAMPLE_FUNC(UpsampleBgraLinePair, Bgra, 4)
//------------------------------------------------------------------------------
extern void WebPInitUpsamplersNEON(void);
extern void WebPInitPremultiplyNEON(void);
#ifdef FANCY_UPSAMPLING
extern WebPUpsampleLinePairFunc WebPUpsamplers[/* MODE_LAST */];
@ -262,4 +265,3 @@ void WebPInitPremultiplyNEON(void) {
void WebPInitPremultiplyNEON(void) {}
#endif // FANCY_UPSAMPLING