Mercurial > mplayer.hg
changeset 7947:4d36307f12aa
fixing quant_store scaling
author | michael |
---|---|
date | Mon, 28 Oct 2002 22:45:05 +0000 |
parents | f483ab704252 |
children | 5a6cbe774760 |
files | libmpeg2/slice.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpeg2/slice.c Mon Oct 28 19:31:04 2002 +0000 +++ b/libmpeg2/slice.c Mon Oct 28 22:45:05 2002 +0000 @@ -1753,7 +1753,7 @@ } #ifdef MPEG12_POSTPROC - picture->current_frame->quant_store[code][(offset>>4)+1] = picture->quantizer_scale; + picture->current_frame->quant_store[code][(offset>>4)+1] = picture->quantizer_scale>>1; #endif offset += 16; CHECK_DISPLAY; @@ -1785,7 +1785,7 @@ MOTION (motion_fi_zero, MACROBLOCK_MOTION_FORWARD); #ifdef MPEG12_POSTPROC - picture->current_frame->quant_store[code][(offset>>4)+1] = picture->quantizer_scale; + picture->current_frame->quant_store[code][(offset>>4)+1] = picture->quantizer_scale>>1; #endif offset += 16; @@ -1801,7 +1801,7 @@ MOTION (motion_fi_reuse, macroblock_modes); #ifdef MPEG12_POSTPROC - picture->current_frame->quant_store[code][(offset>>4)+1] = picture->quantizer_scale; + picture->current_frame->quant_store[code][(offset>>4)+1] = picture->quantizer_scale>>1; #endif offset += 16;