An Optimized SW/HW AVMF Design Based on High-Level Synthesis Flow for Color Images