Mercurial > mplayer.hg
changeset 7504:568a1a0b4bec
interlaced dct
author | michael |
---|---|
date | Thu, 26 Sep 2002 00:48:25 +0000 |
parents | f0888351bd46 |
children | 3a2685099095 |
files | libmpcodecs/ve_lavc.c |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/ve_lavc.c Thu Sep 26 00:28:32 2002 +0000 +++ b/libmpcodecs/ve_lavc.c Thu Sep 26 00:48:25 2002 +0000 @@ -95,6 +95,7 @@ static float lavc_param_spatial_cplx_masking= 0.0; static float lavc_param_p_masking= 0.0; static int lavc_param_normalize_aqp= 0; +static int lavc_param_interlaced_dct= 0; #include "cfgparser.h" @@ -164,6 +165,9 @@ #if LIBAVCODEC_BUILD >= 4626 {"dark_mask", &lavc_param_dark_masking, CONF_TYPE_FLOAT, CONF_RANGE, -1.0, 1.0, NULL}, #endif +#if LIBAVCODEC_BUILD >= 4627 + {"ildct", &lavc_param_interlaced_dct, CONF_TYPE_FLAG, 0, 0, 1, NULL}, +#endif {NULL, NULL, 0, 0, 0, 0, NULL} }; #endif @@ -332,6 +336,9 @@ #if LIBAVCODEC_BUILD >= 4625 if(lavc_param_normalize_aqp) lavc_venc_context->flags|= CODEC_FLAG_NORMALIZE_AQP; #endif +#if LIBAVCODEC_BUILD >= 4627 + if(lavc_param_interlaced_dct) lavc_venc_context->flags|= CODEC_FLAG_INTERLACED_DCT; +#endif /* lavc internal 2pass bitrate control */ #ifdef HAVE_DIVX4ENCORE