[x265] Motion.cpp file

N Vijay Anand nvijay.anand at trispacetech.com
Wed Jul 27 14:40:37 CEST 2016


In the file source\encoder\motion.cpp

The Following lines  (872 to 880)

#define SADS(k, x0, y0, x1, y1, x2, y2, x3, y3) \
    sad_x4(fenc, \
           fref_base x0 * i + (y0 - 2 * k + 4) * dy, \
           fref_base x1 * i + (y1 - 2 * k + 4) * dy, \
           fref_base x2 * i + (y2 - 2 * k + 4) * dy, \
           fref_base x3 * i + (y3 - 2 * k + 4) * dy, \
           stride, costs + 4 * k); \
    fref_base += 2 * dy;
#define ADD_MVCOST(k, x, y) costs[k] += p_cost_omvx[x * 4 * i] +
p_cost_omvy[y * 4 * i]

there seem some operator (possibly "+") missing between fref_base and x0,
fref_base and x1,
fref_base and x2,
fref_base and x3

Im not able to understand why it's so?
Any pointers ?

Vijay
-- 
Principal Architect and Director,
TriSpace Technologies Pvt Ltd.,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20160727/2c3af46b/attachment.html>


More information about the x265-devel mailing list