[x265] [PATCH] frameencoder: skip active/busy row checks if WPP is disabled

Steve Borho steve at borho.org
Tue Jan 6 08:04:13 CET 2015


# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1420527816 -19800
#      Tue Jan 06 12:33:36 2015 +0530
# Node ID 85ae371b2be5f07a17563cfb808c913cc76e8f8d
# Parent  c07be75099f22d796a8c7180f03538725e83d787
frameencoder: skip active/busy row checks if WPP is disabled

There is no row parallelism, so these flags are not necesssarily accurate. This
was causing rows to be skipped when there were not enough columns to set active
flags.

diff -r c07be75099f2 -r 85ae371b2be5 source/encoder/frameencoder.cpp
--- a/source/encoder/frameencoder.cpp	Tue Jan 06 12:15:33 2015 +0530
+++ b/source/encoder/frameencoder.cpp	Tue Jan 06 12:33:36 2015 +0530
@@ -695,6 +695,7 @@
 {
     CTURow& curRow = m_rows[row];
 
+    if (m_param->bEnableWavefront)
     {
         ScopedLock self(curRow.lock);
         if (!curRow.active)


More information about the x265-devel mailing list