Mercurial > libavcodec.hg
comparison vc1.c @ 3377:dc4813852345 libavcodec
0xFFFF l of cola. Now P-frames are decoded almost without distortions.
author | kostya |
---|---|
date | Sat, 01 Jul 2006 07:13:52 +0000 |
parents | 9bf829b51da0 |
children | d7dda9fd99c8 |
comparison
equal
deleted
inserted
replaced
3376:9bf829b51da0 | 3377:dc4813852345 |
---|---|
2042 } | 2042 } |
2043 scale = 2 * mquant; | 2043 scale = 2 * mquant; |
2044 | 2044 |
2045 // convert transforms like 8X4_TOP to generic TT and SUBBLKPAT | 2045 // convert transforms like 8X4_TOP to generic TT and SUBBLKPAT |
2046 if(ttblk == TT_8X4_TOP || ttblk == TT_8X4_BOTTOM) { | 2046 if(ttblk == TT_8X4_TOP || ttblk == TT_8X4_BOTTOM) { |
2047 subblkpat = 2 - (ttblk == TT_8X4_TOP); | |
2047 ttblk = TT_8X4; | 2048 ttblk = TT_8X4; |
2048 subblkpat = 2 - (ttblk == TT_8X4_TOP); | |
2049 } | 2049 } |
2050 if(ttblk == TT_4X8_RIGHT || ttblk == TT_4X8_LEFT) { | 2050 if(ttblk == TT_4X8_RIGHT || ttblk == TT_4X8_LEFT) { |
2051 subblkpat = 2 - (ttblk == TT_4X8_LEFT); | |
2051 ttblk = TT_4X8; | 2052 ttblk = TT_4X8; |
2052 subblkpat = 2 - (ttblk == TT_4X8_LEFT); | |
2053 } | 2053 } |
2054 switch(ttblk) { | 2054 switch(ttblk) { |
2055 case TT_8X8: | 2055 case TT_8X8: |
2056 i = 0; | 2056 i = 0; |
2057 last = 0; | 2057 last = 0; |