Hardware decoding (HW) uses your phone's video processor. Software decoding (SW) uses the main CPU. HW is better for battery life but can struggle with strange file formats. The "HW+" mode in MX Player is a hybrid that offers the best of both worlds. Modded versions often optimize this better than the standard free release.