[x265] [PATCH] framefilter: assert for threadId only when wpp is on

aarthi at multicorewareinc.com aarthi at multicorewareinc.com
Wed Jul 2 08:23:09 CEST 2014


# HG changeset patch
# User Aarthi Thirumalai
# Date 1404282140 -19800
#      Wed Jul 02 11:52:20 2014 +0530
# Node ID b8b5bfbbbf1be682458ddc115cfb99de921557f3
# Parent  a18972fd05b1d6242a881bef979b9e1ff17543d9
framefilter: assert for threadId only when wpp is on

diff -r a18972fd05b1 -r b8b5bfbbbf1b source/encoder/framefilter.cpp
--- a/source/encoder/framefilter.cpp	Tue Jul 01 14:58:35 2014 -0500
+++ b/source/encoder/framefilter.cpp	Wed Jul 02 11:52:20 2014 +0530
@@ -124,7 +124,7 @@
 void FrameFilter::processRow(int row, const int threadId)
 {
     PPAScopeEvent(Thread_filterCU);
-    assert(threadId >= 0);
+    assert(threadId >= 0 || !m_param->bEnableWavefront);
     ThreadLocalData& tld = Encoder::m_threadLocalData[threadId];
 
     if (!m_param->bEnableLoopFilter && !m_param->bEnableSAO)


More information about the x265-devel mailing list