1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 12:55:16 +00:00

fixing quant_store scaling

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7948 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
michael 2002-10-28 22:45:05 +00:00
parent 2d28fdd64c
commit 3357a615d4

View File

@ -1753,7 +1753,7 @@ int slice_process (picture_t * picture, uint8_t code, uint8_t * buffer)
}
#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 @@ int slice_process (picture_t * picture, uint8_t code, uint8_t * buffer)
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 @@ int slice_process (picture_t * picture, uint8_t code, uint8_t * buffer)
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;