To enable hardware decoding in VLC, click Tools in the menu, go to Preferences, then Input & Codecs, and finally, choose Codecs and Hardware-accelerated decoding.