Mercurial > mplayer.hg
changeset 14892:fb3a1db63672
35% faster turbo mode with 0.01dB drop. Based Loren Merritt's suggestions.
Next step would be to make turbo mode accept a "quality" argument to control the
speed vs quality tradeoff.
author | gpoirier |
---|---|
date | Wed, 02 Mar 2005 19:28:42 +0000 |
parents | df86a299788b |
children | faa87d404b0a |
files | libmpcodecs/ve_lavc.c |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/ve_lavc.c Wed Mar 02 19:24:27 2005 +0000 +++ b/libmpcodecs/ve_lavc.c Wed Mar 02 19:28:42 2005 +0000 @@ -678,14 +678,12 @@ /* Disables diamond motion estimation */ lavc_venc_context->pre_dia_size = 0; - lavc_venc_context->dia_size = 0; + lavc_venc_context->dia_size = 1; lavc_venc_context->quantizer_noise_shaping = 0; // qns=0 lavc_venc_context->noise_reduction = 0; // nr=0 + lavc_venc_context->mb_decision = 0; // mbd=0 ("realtime" encoding) - if (lavc_param_mb_decision) { - lavc_venc_context->mb_decision = 1; // mbd=0 ("realtime" encoding) - } lavc_venc_context->flags &= ~CODEC_FLAG_QPEL; lavc_venc_context->flags &= ~CODEC_FLAG_4MV; lavc_venc_context->flags &= ~CODEC_FLAG_TRELLIS_QUANT;