<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Mar 21, 2014 at 8:42 PM, chen <span dir="ltr"><<a href="mailto:chenm003@163.com" target="_blank">chenm003@163.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">At 2014-03-21 13:35:30,<a href="mailto:murugan@multicorewareinc.com">murugan@multicorewareinc.com</a> wrote:<br>
<div class="">># HG changeset patch<br>
># User Murugan Vairavel <<a href="mailto:murugan@multicorewareinc.com">murugan@multicorewareinc.com</a>><br>
># Date 1395379187 -19800<br>
># Fri Mar 21 10:49:47 2014 +0530<br>
># Node ID 435e50b2b92c83e10fdb2bd86bc8e8df91b7338b<br>
># Parent 0c4fdd43325e6501698a281862b1c027238a9c9d<br>
>testbench: code for testing input pixel upShift/downShift primitives<br>
><br>
</div><div class="">> /* [0] --- Random values<br>
>@@ -79,16 +83,22 @@<br>
> short_test_buff1[0][i] = rand() & PIXEL_MAX; // For block copy only<br>
> short_test_buff2[0][i] = rand() % 16383; // for addAvg<br>
> int_test_buff[0][i] = rand() % SHORT_MAX;<br>
>+ ushort_test_buff[0][i] = rand() % ((1 << 10) - 1);<br>
>+ uchar_test_buff[0][i] = rand() % ((1 << 8) - 1);<br>
</div>out code include a clip operator, so you can do more dynamic range to verify that.<br></blockquote><div>Do you mean to increase the Dynamic range of ushort buffer???</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
_______________________________________________<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><div dir="ltr">With Regards,<div><br></div><div>Murugan. V</div><div>+919659287478</div></div>
</div></div>