<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Oct 1, 2013 at 3:25 AM, <span dir="ltr"><<a href="mailto:shazeb@multicorewareinc.com" target="_blank">shazeb@multicorewareinc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"># HG changeset patch<br>
# User Shazeb Nawaz Khan <<a href="mailto:shazeb@multicorewareinc.com">shazeb@multicorewareinc.com</a>><br>
# Date 1380615750 -19800<br>
# Tue Oct 01 13:52:30 2013 +0530<br>
# Node ID dc8e619a6c41bebfb63adc9d642cb21bc6fa22a2<br>
# Parent b8fa0fa81997e668ad983618c2ccf9d76d75f83c<br>
Inserted call to applyWeight, in compressCTURows<br>
<br>
the call is currently commented, shall be enabled when unidir weighted prediction is fully attached<br></blockquote><div><br></div><div>would prefer not applying this and simply wait for the feature to be implemented before adding these lines</div>
<div><br></div><div>the rest looks reasonable</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
diff -r b8fa0fa81997 -r dc8e619a6c41 source/encoder/frameencoder.cpp<br>
--- a/source/encoder/frameencoder.cpp Tue Oct 01 13:46:27 2013 +0530<br>
+++ b/source/encoder/frameencoder.cpp Tue Oct 01 13:52:30 2013 +0530<br>
@@ -914,6 +914,12 @@<br>
{<br>
refpic->m_reconRowWait.wait();<br>
}<br>
+#if 0 // will be enabled after complete support for Unidirectional Weighted Prediction<br>
+ if(slice->getPPS()->getUseWP())<br>
+ {<br>
+ slice->m_mref[list][ref]->applyWeight(refpic, row + refLagRows, m_numRows);<br>
+ }<br>
+#endif<br>
}<br>
}<br>
<br>
@@ -946,6 +952,12 @@<br>
{<br>
refpic->m_reconRowWait.wait();<br>
}<br>
+#if 0 // will be enabled after complete support for Unidirectional Weighted Prediction<br>
+ if(slice->getPPS()->getUseWP())<br>
+ {<br>
+ slice->m_mref[list][ref]->applyWeight(refpic, row + refLagRows, m_numRows);<br>
+ }<br>
+#endif<br>
}<br>
}<br>
<br>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Steve Borho
</div></div>