You should get hardware decoding as long as:

- You're running a wayland compositor

- You're launching firefox with MOZ_ENAB...