Commit 830d7d5c authored by Michael Niedermayer's avatar Michael Niedermayer

cabac test: match encode and decode side

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 89653ea7
...@@ -332,6 +332,7 @@ START_TIMER ...@@ -332,6 +332,7 @@ START_TIMER
STOP_TIMER("put_cabac") STOP_TIMER("put_cabac")
} }
#if 0
for(i=0; i<SIZE; i++){ for(i=0; i<SIZE; i++){
START_TIMER START_TIMER
put_cabac_u(&c, state, r[i], 6, 3, i&1); put_cabac_u(&c, state, r[i], 6, 3, i&1);
...@@ -343,7 +344,7 @@ START_TIMER ...@@ -343,7 +344,7 @@ START_TIMER
put_cabac_ueg(&c, state, r[i], 3, 0, 1, 2); put_cabac_ueg(&c, state, r[i], 3, 0, 1, 2);
STOP_TIMER("put_cabac_ueg") STOP_TIMER("put_cabac_ueg")
} }
#endif
put_cabac_terminate(&c, 1); put_cabac_terminate(&c, 1);
ff_init_cabac_decoder(&c, b, SIZE); ff_init_cabac_decoder(&c, b, SIZE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment