The Algorithms Used in Hardware Acceleration