Deinterlacing no longer uses Math.ceil