]> granicus.if.org Git - libx264/commitdiff
Add support for psy-rd/trellis to encoder_reconfig
authorAlexander Strange <astrange@ithinksw.com>
Wed, 22 Oct 2008 22:55:30 +0000 (15:55 -0700)
committerFiona Glaser <fiona@x264.com>
Wed, 22 Oct 2008 22:55:30 +0000 (15:55 -0700)
encoder/encoder.c

index a96306d8f28fcad9017ea3ad95b27ba02d2be480..b359e3fd003ed4ef30f9748e5b6ec64d61cde881 100644 (file)
@@ -823,6 +823,8 @@ int x264_encoder_reconfig( x264_t *h, x264_param_t *param )
     COPY( analyse.b_dct_decimate );
     COPY( analyse.b_fast_pskip );
     COPY( analyse.b_mixed_references );
+    COPY( analyse.f_psy_rd );
+    COPY( analyse.f_psy_trellis );
     // can only twiddle these if they were enabled to begin with:
     if( h->pps->b_transform_8x8_mode )
         COPY( analyse.b_transform_8x8 );