Rigel : flexible multi-rate image processing hardware