Commit a6b81490 authored by vaclav's avatar vaclav
Browse files

edit comments

parent e24066eb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -156,7 +156,7 @@ ivas_error ivas_dirac_dec_decorr_open(
        freq_domain_decorr_ap_params->max_frequency = ( DIRAC_MAX_DECORR_CLDFB_BANDS * 24000 ) / CLDFB_NO_CHANNELS_MAX;
    }

    freq_domain_decorr_ap_params->use_ducker = 1; /* fcs: fixed for now but can be adaptive in an extended version */
    freq_domain_decorr_ap_params->use_ducker = 1; /* ToDo: fcs: fixed for now but can be adaptive in an extended version */

    assert( ( freq_domain_decorr_ap_params->max_frequency >= 0 ) && ( freq_domain_decorr_ap_params->max_frequency <= output_Fs / 2 ) && "Error: max_frequency invalid!" );

+1 −1
Original line number Diff line number Diff line
@@ -2388,7 +2388,7 @@ static uint16_t ivas_qmetadata_DecodeQuasiUniform(
    uint16_t tresh, value;

#ifdef DEBUGGING
    assert( ( alphabet_size >= 1 ) ); /*fcs: to check if this additional conditon is really needed: && (alphabet_size <= (1U << 31) - 1));*/
    assert( ( alphabet_size >= 1 ) ); /* ToDo: fcs: to check if this additional conditon is really needed: && (alphabet_size <= (1U << 31) - 1));*/
#endif

    bits = 30 - norm_l( alphabet_size ); /* bits = floor(log2(alphabet_size)) */
+2 −2
Original line number Diff line number Diff line
@@ -2284,7 +2284,7 @@ static void ivas_qmetadata_encode_quasi_uniform(
    int16_t bits;
    uint16_t tresh;
#ifdef DEBUGGING
    assert( ( alphabet_size >= 1 ) ); /*fcs: to check if this additional conditon is really needed: && (alphabet_size <= (1U << 31) - 1));*/
    assert( ( alphabet_size >= 1 ) ); /* ToDo: fcs: to check if this additional conditon is really needed: && (alphabet_size <= (1U << 31) - 1));*/
    assert( value < alphabet_size );
#endif

@@ -2523,7 +2523,7 @@ static int16_t ivas_qmetadata_encode_quasi_uniform_length(
    int16_t bits;
    uint16_t tresh;
#ifdef DEBUGGING
    assert( ( alphabet_size >= 1 ) ); /*fcs: to check if this additional conditon is really needed: && (alphabet_size <= (1U << 31) - 1));*/
    assert( ( alphabet_size >= 1 ) ); /* ToDo: fcs: to check if this additional conditon is really needed: && (alphabet_size <= (1U << 31) - 1));*/
    assert( value < alphabet_size );
#endif

+1 −1
Original line number Diff line number Diff line
@@ -767,7 +767,7 @@ void stereo_dft_enc_analyze(
    {
        int16_t tmp[1024];

        /*fcs: stereo side info is only simulated  */
        /* stereo side info is only simulated  */
        for ( i = 0; i < input_frame; i++ )
        {
            tmp[i] = (int16_t) ( input[0][i] + 0.5f );
+1 −1
Original line number Diff line number Diff line
@@ -205,7 +205,7 @@ static WAVEFILEOUT *CreateBWF(
    wfch.blockAlignment = LittleEndian16( (int16_t) blockAlignment );
    wfch.sampleRate = LittleEndian32( sampleRate );
    wfch.bytesPerSecond = LittleEndian32( sampleRate * blockAlignment );
    /* tbd: wavfmt ext hdr here */
    /* ToDo: tbd: wavfmt ext hdr here */
    /* write to file */
    self->fmtChunkOffset = ByteCnt;
    ByteCnt += (uint32_t) fwrite( &wfch, 1, sizeof( wfch ), self->theFile );