OSDN Git Service

Clarify TODO comment
authorIvan Kalvachev <ikalvachev@gmail.com>
Sat, 14 Feb 2009 19:09:33 +0000 (19:09 +0000)
committerIvan Kalvachev <ikalvachev@gmail.com>
Sat, 14 Feb 2009 19:09:33 +0000 (19:09 +0000)
Originally committed as revision 17264 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mpegvideo_xvmc.c

index 2cc6dd8..c8a055f 100644 (file)
@@ -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) {