diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-09-12 21:25:42 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-09-12 21:25:42 +0000 |
commit | b82ecd6258b840b9351c886171119bd0b0a1f077 (patch) | |
tree | 3eda6e97640673883135a5fa8be2fba704011a0c /libswscale | |
parent | 78454dfc017af59f92ad30fc46e25a5a846f90c1 (diff) | |
download | ffmpeg-b82ecd6258b840b9351c886171119bd0b0a1f077.tar.gz |
The yuv->rgb tables are too small for cliping to be avoidable,
thus revert the respective optimization. The table generator code
has to be rewritten anyway one day by some volunteer because its
not LGPL, fixing the GPL table generator thus seems like wasted time.
Originally committed as revision 27591 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/swscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index b0ce120cfd..81cc945f1a 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -540,7 +540,7 @@ static inline void yuv2nv12XinC(int16_t *lumFilter, int16_t **lumSrc, int lumFil } #define YSCALE_YUV_2_RGBX_C(type) \ - YSCALE_YUV_2_PACKEDX_NOCLIP_C(type) \ + YSCALE_YUV_2_PACKEDX_C(type) /* FIXME fix tables so that cliping is not needed and then use _NOCLIP*/\ r = (type *)c->table_rV[V]; \ g = (type *)(c->table_gU[U] + c->table_gV[V]); \ b = (type *)c->table_bU[U]; \ |