Commit f349998c authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

[fix] update commandline usage and printouts

parent e677d017
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1700,7 +1700,7 @@ static void usage_dec( void )
    fprintf( stdout, "Options:\n" );
    fprintf( stdout, "--------\n" );
#ifdef FIX_1419_MONO_STEREO_UMX
    fprintf( stdout, "-evs                : Specify EVS mode for supplied bitstream\n" );
    fprintf( stdout, " -evs                : Specify that the supplied bitstream is an EVS bitstream\n" );
#endif
    fprintf( stdout, "-VOIP               : VoIP mode: RTP in G192\n" );
    fprintf( stdout, "-VOIP_hf_only=0     : VoIP mode: EVS RTP Payload Format hf_only=0 in rtpdump\n" );
+14 −0
Original line number Diff line number Diff line
@@ -4436,7 +4436,17 @@ static ivas_error printConfigInfo_dec(
        }
        else
        {
#ifdef FIX_1419_MONO_STEREO_UMX
            output_config = st_ivas->hDecoderConfig->output_config;
            fprintf( stdout, "Output configuration:   mono EVS bit-exact decoding\n" );
            if ( output_config != IVAS_AUDIO_CONFIG_MONO )
            {
                get_channel_config( output_config, &config_str[0] );
                fprintf( stdout, "                        rendering to %s\n", config_str );
            }
#else
            fprintf( stdout, "Output configuration:   mono EVS bit-exact decoding\n" );
#endif
        }
    }
    else
@@ -4765,7 +4775,11 @@ static ivas_error evs_dec_main(
        v_multc( p_output[0], mixer_left, p_output[0], nOutSamples );
    }

#ifdef FIX_1419_MONO_STEREO_UMX
    if ( st_ivas->hDecoderConfig->Opt_tsm && st_ivas->hDecoderConfig->nchan_out == 1 )
#else
    if ( st_ivas->hDecoderConfig->Opt_tsm )
#endif
    {
        /* BE workaround: in order to keep EVS bit-exact wrt. TS 26.443, convert 'float' output data to 'short' before the TSM */
        int16_t pcm_buf_local[L_FRAME48k];
+1 −1
Original line number Diff line number Diff line
@@ -279,7 +279,7 @@ output_file : Output audio filename

Options:
--------
-evs                : Specify EVS mode for supplied bitstream
-evs                : Specify that the supplied bitstream is an EVS bitstream
-VOIP               : VoIP mode: RTP in G192
-VOIP_hf_only=0     : VoIP mode: EVS RTP Payload Format hf_only=0 in rtpdump
-VOIP_hf_only=1     : VoIP mode: EVS or IVAS RTP Payload Format hf_only=1 in rtpdump