Make deinterlace_16 receive an array as a parameter and not two separated vars