There have series performance issues, such as, uint32_t sum = (uint32_t)pow((outOfBound >> 2), 2); Are you want to get square value from a small integer? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20180602/25bf3696/attachment.html>