I want to understand the following lines in the code : 1. What is template<int lx, int ly> represents in the sad_x4 function ? 2. How this line works in the full search function in the motion estimation pixel *pix_base = fref + tmv.y * stride + tmv.x; 3. How to determine the Prediction Block size ?
Thanks in advance, Waiting for your reply,,, Regards.