[x265] analysis: initialise chroma sa8d for slave pmode threads as well

Deepthi Nandakumar deepthi at multicorewareinc.com
Fri Mar 18 11:36:32 CET 2016


# HG changeset patch
# User Deepthi Nandakumar <deepthi at multicorewareinc.com>
# Date 1458297322 -19800
#      Fri Mar 18 16:05:22 2016 +0530
# Node ID ed744166c37e0796ec576ac315dfec76b5614d14
# Parent  f60818c73f3b2c8c42d987c6d25d9c73ef6bc089
analysis: initialise chroma sa8d for slave pmode threads as well

diff -r f60818c73f3b -r ed744166c37e source/encoder/analysis.cpp
--- a/source/encoder/analysis.cpp Fri Mar 18 15:03:08 2016 +0530
+++ b/source/encoder/analysis.cpp Fri Mar 18 16:05:22 2016 +0530
@@ -432,6 +432,7 @@
         slave.m_slice = m_slice;
         slave.m_frame = m_frame;
         slave.m_param = m_param;
+        slave.m_bChromaSa8d = m_param->rdLevel >= 3;
         slave.setLambdaFromQP(md.pred[PRED_2Nx2N].cu, m_rdCost.m_qp);
         slave.invalidateContexts(0);

 slave.m_rqt[pmode.cuGeom.depth].cur.load(m_rqt[pmode.cuGeom.depth].cur);


-- 
Deepthi Nandakumar
Engineering Manager, x265
Multicoreware, Inc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20160318/365e22e9/attachment-0001.html>


More information about the x265-devel mailing list