<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div>it is magic number, just algorithm trick.</div><div> </div><div>When you analyze H265 interp Dynamic Range.</div><div>You will found it is not balance, it means the middle point is not 0x8000 (unsigned) or 0 (signed)</div><div>The offset magic to avoid overflow.</div><div> </div><div>Thanks,</div><div>Min</div><pre><br>At 2015-06-19 06:21:02,dave <dtyx265@gmail.com> wrote:
>For the interpolation primitives there are multiple versions, pp, ps, 
>sp, and ss.  Each one adding an offset before a shift.  Yet as I review 
>the interpolation section 8.5.3.3.3 of the h265 spec, I don't see where 
>an offset is added.  Am I missing something?  Or perhaps the offset 
>helps decision making?
>
>thanks,
>Dave
>_______________________________________________
>x265-devel mailing list
>x265-devel@videolan.org
>https://mailman.videolan.org/listinfo/x265-devel
</pre></div>