<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div><br> </div><blockquote id="isReplyContent" style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;"><div dir="ltr"><div class="gmail_extra"><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: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;">At 2014-03-21 13:35:30,<a href="mailto:murugan@multicorewareinc.com">murugan@multicorewareinc.com</a> wrote:<br>
<div>># 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>> /* [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: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;"><p>
</p><p>Yes, more dynamic range may verify our CLIP code</p></blockquote></div></div></div>
</blockquote></div>