Mercurial > libavcodec.hg
comparison mpegvideo.c @ 1215:9182f5e70e9b libavcodec
typo in a comment ...
author | michaelni |
---|---|
date | Fri, 25 Apr 2003 16:18:35 +0000 |
parents | 327c5a36dfe7 |
children | 358bbc952e27 |
comparison
equal
deleted
inserted
replaced
1214:327c5a36dfe7 | 1215:9182f5e70e9b |
---|---|
3857 for(;i<64;i++) { | 3857 for(;i<64;i++) { |
3858 j = scantable[i]; | 3858 j = scantable[i]; |
3859 level = block[j]; | 3859 level = block[j]; |
3860 level = level * qmat[j]; | 3860 level = level * qmat[j]; |
3861 | 3861 |
3862 // if( bias+level >= (1<<(QMAT_SHIFT - 3)) | 3862 // if( bias+level >= (1<<QMAT_SHIFT) |
3863 // || bias-level >= (1<<(QMAT_SHIFT - 3))){ | 3863 // || bias-level >= (1<<QMAT_SHIFT)){ |
3864 if(((unsigned)(level+threshold1))>threshold2){ | 3864 if(((unsigned)(level+threshold1))>threshold2){ |
3865 if(level>0){ | 3865 if(level>0){ |
3866 level= (bias + level)>>QMAT_SHIFT; | 3866 level= (bias + level)>>QMAT_SHIFT; |
3867 block[j]= level; | 3867 block[j]= level; |
3868 }else{ | 3868 }else{ |