1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-18 13:14:36 +00:00

export qscale for postproc

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5518 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-04-07 16:40:54 +00:00
parent 4a3916336d
commit 41d9f1e6de

View File

@ -31,6 +31,10 @@ LIBVD_EXTERN(ffmpeg)
int avcodec_inited=0;
#ifdef FF_POSTPROCESS
int quant_store[MBR+1][MBC+1];
#endif
typedef struct {
AVCodecContext *avctx;
int last_aspect;
@ -197,6 +201,11 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
mpi->stride[2]*=2;
}
#ifdef FF_POSTPROCESS
mpi->qscale=&quant_store[0][0];
mpi->qstride=MBC+1;
#endif
return mpi;
}