[FFmpeg-cvslog] cabac test: match encode and decode side
Michael Niedermayer
git at videolan.org
Wed Sep 21 21:08:32 CEST 2011
ffmpeg | branch: release/0.8 | Michael Niedermayer <michaelni at gmx.at> | Sat Sep 10 19:20:28 2011 +0200| [f38b2a6be8866b55ccdb2ed4515d132015f02dfc] | committer: Michael Niedermayer
cabac test: match encode and decode side
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit 830d7d5c4fbf81265ca5260d59fe8467ac97b2e6)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f38b2a6be8866b55ccdb2ed4515d132015f02dfc
---
libavcodec/cabac.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/libavcodec/cabac.c b/libavcodec/cabac.c
index c94a560..e39ad2e 100644
--- a/libavcodec/cabac.c
+++ b/libavcodec/cabac.c
@@ -209,6 +209,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);
@@ -220,7 +221,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