What kind of video card do you have in your HTPC. Any player that supports MadVR will give you the best video and virtually all will bitstream audio leaving the HTPC out of the mix and letting the AVR handle the audio. KODI's default player won't support MadVR but KODI can use other players. KODI/DSplayer version does but it's been out of date and is no longer supported. MPCbe and MPChc are popular but there are several others that will run MadVR. MadVR does require a fairly high end video card.
"Smart enough to know better, to old to care" ------ Dedicated Bat Cave Home Theater, JVC RS49U/Mitsubishi HC7900DW Projector, 110" 16:9 Jamestown screen with variable power masking for CIW 2.50:1 to 16:9, Marantz 7009 with 7.1.4 Atmos with Ohm mains,3 DIY Subs (2 15" (1 ported, 1 sealed and a 12" 4th order bandpass), 1 DIY butt kicker, Custom Built HTPC, 18TB DroboFS NAS