[FFmpeg-cvslog] r17264 - trunk/libavcodec/mpegvideo_xvmc.c

iive subversion
Sat Feb 14 20:09:33 CET 2009


Author: iive
Date: Sat Feb 14 20:09:33 2009
New Revision: 17264

Log:
Clarify TODO comment

Modified:
   trunk/libavcodec/mpegvideo_xvmc.c

Modified: trunk/libavcodec/mpegvideo_xvmc.c
==============================================================================
--- trunk/libavcodec/mpegvideo_xvmc.c	Sat Feb 14 20:08:47 2009	(r17263)
+++ trunk/libavcodec/mpegvideo_xvmc.c	Sat Feb 14 20:09:33 2009	(r17264)
@@ -271,7 +271,9 @@ void ff_xvmc_decode_mb(MpegEncContext *s
                 s->pblocks[i][0] -= 1 << 10;
             if (!render->idct) {
                 s->dsp.idct(s->pblocks[i]);
-                //!!TODO!clip!!!
+                /*It is unclear if MC hardware requires pixel diff values to be in
+                range [-255;255]. TODO cliping if such hardware is ever found.
+                As of now it would only be unnecessery slowdown. */
             }
 //copy blocks only if the codec doesn't support pblocks reordering
             if (s->avctx->xvmc_acceleration == 1) {




More information about the ffmpeg-cvslog mailing list