[FFmpeg-cvslog] r24864 - trunk/libavcodec/truemotion1.c

reimar subversion
Sat Aug 21 21:50:37 CEST 2010


Author: reimar
Date: Sat Aug 21 21:50:36 2010
New Revision: 24864

Log:
The 24-bit ydt also should not depend on endianness,
since all of it ends up in a single 32-bit pixel.
This seems likely to be wrong though, since it is different
from the 15 and 16 bit modes and might explain the half-width
issue for 24 bit truemotion.

Modified:
   trunk/libavcodec/truemotion1.c

Modified: trunk/libavcodec/truemotion1.c
==============================================================================
--- trunk/libavcodec/truemotion1.c	Sat Aug 21 21:40:38 2010	(r24863)
+++ trunk/libavcodec/truemotion1.c	Sat Aug 21 21:50:36 2010	(r24864)
@@ -213,11 +213,7 @@ static int make_cdt16_entry(int p1, int 
     return (lo + (lo << 16)) << 1;
 }
 
-#if HAVE_BIGENDIAN
-static int make_ydt24_entry(int p2, int p1, int16_t *ydt)
-#else
 static int make_ydt24_entry(int p1, int p2, int16_t *ydt)
-#endif
 {
     int lo, hi;
 



More information about the ffmpeg-cvslog mailing list