[x265] [PATCH] modified unit test code for blockfil_s function

chen chenm003 at 163.com
Thu Nov 7 16:36:39 CET 2013


>     memset(ref_dest, 0, sizeof(ref_dest));
>     memset(opt_dest, 0, sizeof(opt_dest));
don't initial to zero
 
>+        opt(opt_dest + j, 64, value);
>+        ref(ref_dest + j, 64, value);
>+
>+        if (memcmp(ref_dest + j, opt_dest + j, (64 * 64 * sizeof(int16_t)) - j * sizeof(int16_t)))
>             return false;
when use offset, need check buffer size is enough
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20131107/8a5ac3df/attachment.html>


More information about the x265-devel mailing list