<div dir="ltr">Thanks, this logical change was pushed on top of a refactor.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 13, 2014 at 10:21 PM, <span dir="ltr"><<a href="mailto:dtyx265@gmail.com" target="_blank">dtyx265@gmail.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 David T Yuen <<a href="mailto:dtyx265@gmail.com">dtyx265@gmail.com</a>><br>
# Date 1407948618 25200<br>
# Node ID b4bbfeeb31875c853c3947fc096270127bfe7336<br>
# Parent d43e9a6a7cced5b60284c25bd987c55c522c1212<br>
Initialized variable to prevent compiler warning<br>
<br>
diff -r d43e9a6a7cce -r b4bbfeeb3187 source/encoder/slicetype.cpp<br>
--- a/source/encoder/slicetype.cpp Wed Aug 13 00:19:31 2014 -0500<br>
+++ b/source/encoder/slicetype.cpp Wed Aug 13 09:50:18 2014 -0700<br>
@@ -1680,7 +1680,7 @@<br>
// generate 35 intra predictions into m_predictions<br>
pixelcmp_t satd = primitives.satd[partitionFromLog2Size(X265_LOWRES_CU_BITS)];<br>
int icost = m_me.COST_MAX, cost, highcost, lowcost, acost = m_me.COST_MAX;<br>
- uint32_t lowmode, mode;<br>
+ uint32_t mode;<br>
primitives.intra_pred[sizeIdx][DC_IDX](m_predictions, cuSize, left0, above0, 0, (cuSize <= 16));<br>
cost = satd(m_me.fenc, FENC_STRIDE, m_predictions, cuSize);<br>
if (cost < icost)<br>
@@ -1699,6 +1699,7 @@<br>
// fast-intra angle search<br>
if (m_param->bEnableFastIntra)<br>
{<br>
+ uint32_t lowmode = 4;<br>
for (mode = 4; mode < 35; mode += 5)<br>
{<br>
if (mode < 18)<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></div>