[FFmpeg-cvslog] cabac test: match encode and decode side

Michael Niedermayer git at videolan.org
Sat Sep 10 20:11:20 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Sep 10 19:20:28 2011 +0200| [830d7d5c4fbf81265ca5260d59fe8467ac97b2e6] | committer: Michael Niedermayer

cabac test: match encode and decode side

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=830d7d5c4fbf81265ca5260d59fe8467ac97b2e6
---

 libavcodec/cabac.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/libavcodec/cabac.c b/libavcodec/cabac.c
index 81bba51..50c2ea6 100644
--- a/libavcodec/cabac.c
+++ b/libavcodec/cabac.c
@@ -332,6 +332,7 @@ START_TIMER
 STOP_TIMER("put_cabac")
     }
 
+#if 0
     for(i=0; i<SIZE; i++){
 START_TIMER
         put_cabac_u(&c, state, r[i], 6, 3, i&1);
@@ -343,7 +344,7 @@ START_TIMER
         put_cabac_ueg(&c, state, r[i], 3, 0, 1, 2);
 STOP_TIMER("put_cabac_ueg")
     }
-
+#endif
     put_cabac_terminate(&c, 1);
 
     ff_init_cabac_decoder(&c, b, SIZE);



More information about the ffmpeg-cvslog mailing list