Abstract: Rearrange the scan API + in memory, store the scan being done splited pixel line by pixel line

Signed-off-by: Jerome Flesch <jflesch@wyplay.com>