The resampler must be fed n_lines at a time.
n_lines
The first line should be at offset.
offset
a ChromaResample
the number of input lines
the first line