changeset 4339:fa7fd2988829 libavcodec

enable bidirectional me with x264 patch by Robert Swain <robert =dot= swain =at= gmail =dot= com>
author mru
date Sun, 07 Jan 2007 18:04:11 +0000
parents 9400cebc4c85
children 268811f3f1ef
files x264.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/x264.c	Sun Jan 07 00:07:10 2007 +0000
+++ b/x264.c	Sun Jan 07 18:04:11 2007 +0000
@@ -225,6 +225,7 @@
     x4->params.analyse.i_me_range = avctx->me_range;
     x4->params.analyse.i_subpel_refine = avctx->me_subpel_quality;
 
+    x4->params.analyse.b_bidir_me = (avctx->bidir_refine > 0);
     x4->params.analyse.b_bframe_rdo = (avctx->flags2 & CODEC_FLAG2_BRDO);
     x4->params.analyse.b_mixed_references =
         (avctx->flags2 & CODEC_FLAG2_MIXED_REFS);