changeset 8865:25fd53df6f3e libavcodec

Clarify TODO comment
author iive
date Sat, 14 Feb 2009 19:09:33 +0000
parents 96c91837eb36
children 09d0ff5cdc81
files mpegvideo_xvmc.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mpegvideo_xvmc.c	Sat Feb 14 19:08:47 2009 +0000
+++ b/mpegvideo_xvmc.c	Sat Feb 14 19:09:33 2009 +0000
@@ -271,7 +271,9 @@
                 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) {