Design of graphics processing unit for image processing