Mercurial > mplayer.hg
changeset 5517:a3337d7b853f
export qscale for postproc
author | arpi |
---|---|
date | Sun, 07 Apr 2002 16:40:54 +0000 |
parents | 113ed5725b47 |
children | 04a40454bdbb |
files | libmpcodecs/vd_ffmpeg.c |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c Sun Apr 07 16:34:15 2002 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Sun Apr 07 16:40:54 2002 +0000 @@ -31,6 +31,10 @@ 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 @@ mpi->stride[2]*=2; } +#ifdef FF_POSTPROCESS + mpi->qscale=&quant_store[0][0]; + mpi->qstride=MBC+1; +#endif + return mpi; }