A high-speed gateable image pipeline