[x264-devel] commit: Fix noise reduction in threaded mode. Previously enabling noise reduction with threads had no effect. ( Alexander Strange )

git version control git at videolan.org
Mon Jun 2 20:15:54 CEST 2008


x264 | branch: master | Alexander Strange <astrange at ithinksw.com> | Mon Jun  2 12:16:51 2008 -0600| [f7e1d82a90b0ec21e1fda5842cf5146bdb6125dc]

Fix noise reduction in threaded mode.  Previously enabling noise reduction with threads had no effect.

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=f7e1d82a90b0ec21e1fda5842cf5146bdb6125dc
---

 encoder/encoder.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/encoder/encoder.c b/encoder/encoder.c
index 39c5d5f..aa9d372 100644
--- a/encoder/encoder.c
+++ b/encoder/encoder.c
@@ -1602,7 +1602,7 @@ static void x264_encoder_frame_end( x264_t *h, x264_t *thread_current,
     /* restore CPU state (before using float again) */
     x264_emms();
 
-    x264_noise_reduction_update( h );
+    x264_noise_reduction_update( thread_current );
 
     /* ---------------------- Compute/Print statistics --------------------- */
     x264_thread_sync_stat( h, h->thread[0] );



More information about the x264-devel mailing list