<div dir="ltr">Not required, ignore please.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 13, 2013 at 1:11 PM, <span dir="ltr"><<a href="mailto:praveen@multicorewareinc.com" target="_blank">praveen@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 Praveen Tiwari<br>
# Date 1384328504 -19800<br>
# Node ID d62a0b19e4a49f0fb8348b858a713be77fd86820<br>
# Parent 1e0476f339c9fc39d59b48c76ca053898e64a73a<br>
TComYuv.cpp, calculate luma partEnum only if true<br>
<br>
diff -r 1e0476f339c9 -r d62a0b19e4a4 source/Lib/TLibCommon/TComYuv.cpp<br>
--- a/source/Lib/TLibCommon/TComYuv.cpp Wed Nov 13 12:54:00 2013 +0530<br>
+++ b/source/Lib/TLibCommon/TComYuv.cpp Wed Nov 13 13:11:44 2013 +0530<br>
@@ -245,9 +245,11 @@<br>
<br>
void TComYuv::copyPartToPartYuv(TComYuv* dstPicYuv, uint32_t partIdx, uint32_t width, uint32_t height, bool bLuma, bool bChroma)<br>
{<br>
- int part = partitionFromSizes(width, height);<br>
if (bLuma)<br>
+ {<br>
+ int part = partitionFromSizes(width, height);<br>
copyPartToPartLuma(dstPicYuv, partIdx, part);<br>
+ }<br>
if (bChroma)<br>
copyPartToPartChroma(dstPicYuv, partIdx, width >> m_hChromaShift, height >> m_vChromaShift);<br>
}<br>
</blockquote></div><br></div>