Mercurial > mplayer.hg
changeset 10974:76293091a9c7
mv0
author | michael |
---|---|
date | Thu, 02 Oct 2003 00:28:29 +0000 |
parents | cbed8b88d4ee |
children | 96cd8d4e98d4 |
files | DOCS/en/mplayer.1 libmpcodecs/ve_lavc.c |
diffstat | 2 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/DOCS/en/mplayer.1 Thu Oct 02 00:07:32 2003 +0000 +++ b/DOCS/en/mplayer.1 Thu Oct 02 00:28:29 2003 +0000 @@ -4107,6 +4107,10 @@ will select the coded block pattern which minimizes distortion + lambda*rate this can only be used together with trellis quantization .TP +.B mv0\ \ \ \ +try to encode each MB with MV=<0,0> and choose the better one +this has no effect if mbd=0 +.TP .B last_pred=<0\-99> Amount of motion predictors from the previous frame .PD 0
--- a/libmpcodecs/ve_lavc.c Thu Oct 02 00:07:32 2003 +0000 +++ b/libmpcodecs/ve_lavc.c Thu Oct 02 00:28:29 2003 +0000 @@ -130,6 +130,7 @@ static char *lavc_param_intra_matrix = NULL; static char *lavc_param_inter_matrix = NULL; static int lavc_param_cbp= 0; +static int lavc_param_mv0= 0; #include "m_option.h" @@ -228,6 +229,9 @@ #if LIBAVCODEC_BUILD >= 4681 {"cbp", &lavc_param_cbp, CONF_TYPE_FLAG, 0, 0, CODEC_FLAG_CBP_RD, NULL}, #endif +#if LIBAVCODEC_BUILD >= 4683 + {"mv0", &lavc_param_mv0, CONF_TYPE_FLAG, 0, 0, CODEC_FLAG_MV0, NULL}, +#endif {NULL, NULL, 0, 0, 0, 0, NULL} }; #endif @@ -471,6 +475,7 @@ lavc_venc_context->flags|= lavc_param_v4mv ? CODEC_FLAG_4MV : 0; lavc_venc_context->flags|= lavc_param_data_partitioning; lavc_venc_context->flags|= lavc_param_cbp; + lavc_venc_context->flags|= lavc_param_mv0; if(lavc_param_gray) lavc_venc_context->flags|= CODEC_FLAG_GRAY; if(lavc_param_normalize_aqp) lavc_venc_context->flags|= CODEC_FLAG_NORMALIZE_AQP;