Add custom filtering function

 Operates on scanlines
 Minimal code footprint

Change-Id: If7d88e9dae9003647fc813aab40eb43aa49bb7f2
3 files changed