summaryrefslogtreecommitdiffstats
path: root/libmpeg2/slice.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-07 16:32:54 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-07 16:32:54 +0000
commit2563ac95f0642cde33c1dc911027d31a5a117802 (patch)
tree9b1a468037c3e78069dbc5e9aeeeb4a9da5c5089 /libmpeg2/slice.c
parente3ae844c0ee4751b74268b9aba0b585fc364f2eb (diff)
downloadmpv-2563ac95f0642cde33c1dc911027d31a5a117802.tar.bz2
mpv-2563ac95f0642cde33c1dc911027d31a5a117802.tar.xz
quant_store moved to frame struct
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5516 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpeg2/slice.c')
-rw-r--r--libmpeg2/slice.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libmpeg2/slice.c b/libmpeg2/slice.c
index 0c072aeb2b..2fdeb48375 100644
--- a/libmpeg2/slice.c
+++ b/libmpeg2/slice.c
@@ -32,9 +32,9 @@ extern mc_functions_t mc_functions;
extern void (* idct_block_copy) (int16_t * block, uint8_t * dest, int stride);
extern void (* idct_block_add) (int16_t * block, uint8_t * dest, int stride);
-#ifdef MPEG12_POSTPROC
-extern int quant_store[MPEG2_MBR+1][MPEG2_MBC+1]; // [Review]
-#endif
+//#ifdef MPEG12_POSTPROC
+//extern int quant_store[MPEG2_MBR+1][MPEG2_MBC+1]; // [Review]
+//#endif
#include "vlc.h"
@@ -1753,7 +1753,7 @@ int slice_process (picture_t * picture, uint8_t code, uint8_t * buffer)
}
#ifdef MPEG12_POSTPROC
- quant_store[code][(offset>>4)+1] = picture->quantizer_scale;
+ picture->current_frame->quant_store[code][(offset>>4)+1] = picture->quantizer_scale;
#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
- quant_store[code][(offset>>4)+1] = picture->quantizer_scale;
+ picture->current_frame->quant_store[code][(offset>>4)+1] = picture->quantizer_scale;
#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
- quant_store[code][(offset>>4)+1] = picture->quantizer_scale;
+ picture->current_frame->quant_store[code][(offset>>4)+1] = picture->quantizer_scale;
#endif
offset += 16;