enable_trellis_quant and enable-tcq
As I understand, the former pertains to RDOQ and is mutually exclusive with TCQ.
However, I found 'enable_trellis_quant' needs to be set to non-zero in order to properly use TCQ by 'enable-tcq' (otherwise it leads to huge coding loss). It seems that the current TCQ implementation re-uses some of the codes from RDOQ.
Perhaps the encoder can generate a commandline parsing error message if 'enable_trellis_quant' is found to be zero while 'enable enable-tcq' is not.