0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

qscale exporting for postprocess

patch by Fabian Franz <FabianFranz@gmx.de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9856 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2003-04-06 16:37:37 +00:00
parent b26c266cfd
commit df67e3e8e2
2 changed files with 7 additions and 0 deletions

View File

@ -135,6 +135,10 @@ struct decoder_s {
int second_field;
int mpeg1;
/* for MPlayer: */
char* quant_store;
int quant_stride;
};
typedef struct {

View File

@ -1420,6 +1420,9 @@ do { \
#define NEXT_MACROBLOCK \
do { \
if(decoder->quant_store) \
decoder->quant_store[decoder->quant_stride*(decoder->v_offset>>4) \
+(decoder->offset>>4)] = decoder->quantizer_scale; \
decoder->offset += 16; \
if (decoder->offset == decoder->width) { \
do { /* just so we can use the break statement */ \