[FFmpeg-cvslog] r27591 - trunk/libswscale/swscale.c

michael subversion
Fri Sep 12 23:25:43 CEST 2008


Author: michael
Date: Fri Sep 12 23:25:42 2008
New Revision: 27591

Log:
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.


Modified:
   trunk/libswscale/swscale.c

Modified: trunk/libswscale/swscale.c
==============================================================================
--- trunk/libswscale/swscale.c	(original)
+++ trunk/libswscale/swscale.c	Fri Sep 12 23:25:42 2008
@@ -540,7 +540,7 @@ static inline void yuv2nv12XinC(int16_t 
         }
 
 #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];   \




More information about the ffmpeg-cvslog mailing list