<div dir="ltr">Thanks, pushed.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 5, 2015 at 11:49 AM, <span dir="ltr"><<a href="mailto:santhoshini@multicorewareinc.com" target="_blank">santhoshini@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 Santhoshini Sekar<<a href="mailto:santhoshini@multicorewareinc.com">santhoshini@multicorewareinc.com</a>><br>
# Date 1423117093 -19800<br>
# Thu Feb 05 11:48:13 2015 +0530<br>
# Node ID bd4febc33ccc0a51228bc4884c7a5287fea8fea8<br>
# Parent 0e3ce940f2f416ba7252d98bea79fb9b8875b559<br>
fix build error, add definition for getICRateNegDiff<br>
<br>
diff -r 0e3ce940f2f4 -r bd4febc33ccc source/common/quant.cpp<br>
--- a/source/common/quant.cpp Wed Feb 04 18:54:10 2015 -0600<br>
+++ b/source/common/quant.cpp Thu Feb 05 11:48:13 2015 +0530<br>
@@ -104,6 +104,20 @@<br>
return rate;<br>
}<br>
<br>
+inline int getICRateNegDiff(uint32_t absLevel, const int* greaterOneBits, const int* levelAbsBits)<br>
+{<br>
+ X265_CHECK(absLevel <= 2, "absLevel check failure\n");<br>
+<br>
+ int rate;<br>
+ if (absLevel == 0)<br>
+ rate = 0;<br>
+ else if (absLevel == 2)<br>
+ rate = greaterOneBits[1] + levelAbsBits[0];<br>
+ else<br>
+ rate = greaterOneBits[0];<br>
+ return rate;<br>
+}<br>
+<br>
inline int getICRateLessVlc(uint32_t absLevel, int32_t diffLevel, const uint32_t absGoRice)<br>
{<br>
X265_CHECK(absGoRice <= 4, "absGoRice check failure\n");<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>