[x265] [PATCH 2 of 2] Inserted call to applyWeight, in compressCTURows

shazeb at multicorewareinc.com shazeb at multicorewareinc.com
Tue Oct 1 10:25:15 CEST 2013


# HG changeset patch
# User Shazeb Nawaz Khan <shazeb at multicorewareinc.com>
# Date 1380615750 -19800
#      Tue Oct 01 13:52:30 2013 +0530
# Node ID dc8e619a6c41bebfb63adc9d642cb21bc6fa22a2
# Parent  b8fa0fa81997e668ad983618c2ccf9d76d75f83c
Inserted call to applyWeight, in compressCTURows

the call is currently commented, shall be enabled when unidir weighted prediction is fully attached

diff -r b8fa0fa81997 -r dc8e619a6c41 source/encoder/frameencoder.cpp
--- a/source/encoder/frameencoder.cpp	Tue Oct 01 13:46:27 2013 +0530
+++ b/source/encoder/frameencoder.cpp	Tue Oct 01 13:52:30 2013 +0530
@@ -914,6 +914,12 @@
                     {
                         refpic->m_reconRowWait.wait();
                     }
+#if 0               // will be enabled after complete support for Unidirectional Weighted Prediction
+                    if(slice->getPPS()->getUseWP())
+                    {
+                        slice->m_mref[list][ref]->applyWeight(refpic, row + refLagRows, m_numRows);
+                    }
+#endif
                 }
             }
 
@@ -946,6 +952,12 @@
                         {
                             refpic->m_reconRowWait.wait();
                         }
+#if 0                   // will be enabled after complete support for Unidirectional Weighted Prediction
+                        if(slice->getPPS()->getUseWP())
+                        {
+                            slice->m_mref[list][ref]->applyWeight(refpic, row + refLagRows, m_numRows);
+                        }
+#endif
                     }
                 }
 


More information about the x265-devel mailing list