summaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-09-12 21:25:42 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-09-12 21:25:42 +0000
commite5f0ead24f5f24b9ed57584167f93b8f5ccf16d2 (patch)
treef5a5ed52c3cb736867b4042fbe7f496bf271e1be /libswscale
parentdf44f03e48729ed1e72485af4a0893b2ec65f005 (diff)
downloadmpv-e5f0ead24f5f24b9ed57584167f93b8f5ccf16d2.tar.bz2
mpv-e5f0ead24f5f24b9ed57584167f93b8f5ccf16d2.tar.xz
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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27591 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/swscale.c2
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]; \