Mercurial > libavcodec.hg
changeset 3363:4c5227327416 libavcodec
VC1 Intra blocks in P-frames use different zigzag table than I-frames.
author | kostya |
---|---|
date | Tue, 27 Jun 2006 15:34:14 +0000 |
parents | c43fcf831f7c |
children | 59c10b66fbbc |
files | vc1.c |
diffstat | 1 files changed, 1 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/vc1.c Tue Jun 27 12:13:01 2006 +0000 +++ b/vc1.c Tue Jun 27 15:34:14 2006 +0000 @@ -1927,13 +1927,7 @@ scale = mquant * 2 + v->halfpq; - if(v->s.ac_pred) { - if(!dc_pred_dir) - zz_table = vc1_horizontal_zz; - else - zz_table = vc1_vertical_zz; - } else - zz_table = vc1_normal_zz; + zz_table = vc1_simple_progressive_8x8_zz; ac_val = s->ac_val[0][0] + s->block_index[n] * 16; ac_val2 = ac_val;