diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2009-02-22 09:22:05 +0000 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2009-02-22 09:22:05 +0000 |
commit | e76709d8a66cbc3f541ec79d482862a2c3100d5a (patch) | |
tree | ae01eb70367a1dae541071a02a7c8d8f2b9945d2 /libswscale/swscale.c | |
parent | 21effaa4b20bbd34ecc11e5bef1211dcca6fc2bc (diff) | |
download | ffmpeg-e76709d8a66cbc3f541ec79d482862a2c3100d5a.tar.gz |
New LGPLed YUV2RGB table generator for SwScaler
Originally committed as revision 28700 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale.c')
-rw-r--r-- | libswscale/swscale.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 6ba56bcb96..2982857209 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -2331,14 +2331,12 @@ SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat, int d { c->swScale= PlanarToNV12Wrapper; } -#if CONFIG_GPL /* yuv2bgr */ if ((srcFormat==PIX_FMT_YUV420P || srcFormat==PIX_FMT_YUV422P) && (isBGR(dstFormat) || isRGB(dstFormat)) && !(flags & SWS_ACCURATE_RND) && !(dstH&1)) { c->swScale= sws_yuv2rgb_get_func_ptr(c); } -#endif if (srcFormat==PIX_FMT_YUV410P && dstFormat==PIX_FMT_YUV420P && !(flags & SWS_BITEXACT)) { |