The functions tcx_res_Q_spec_fx() and tcx_res_Q_spec_ivas_fx() look very similar at first sight - possibly they could be harmonized.