Dolby TrueHD and DTS-HDMA are actually lossless compression codecs which have the exact 100% quality as uncompressed but save space by losslessly compressed the data a little bit.
So lossless compression codec is better than uncompressed because it save a bit more data space than uncompressed but has the same quality as uncompressed.