Revert "Added HW-accel code"

This reverts commit 25b9d286fa3f3601d4e24990c541ed6d33133f59.