Commit 94974d5d authored by TYAGIRIS's avatar TYAGIRIS
Browse files

resolving/removing TODO comments

parent 17a3401a
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -169,7 +169,7 @@ ivas_error ivas_dirac_config(

        if ( hQMetaData != NULL )
        {
            if ( enc_dec == ENC || ( ivas_format != SBA_FORMAT && ivas_format != SBA_ISM_FORMAT ) ) /* Todo: This condition should probably be corrected in main */
            if ( enc_dec == ENC || ( ivas_format != SBA_FORMAT && ivas_format != SBA_ISM_FORMAT ) )
            {
                hConfig->nbands = hQMetaData->q_direction[0].cfg.nbands;
            }
+1 −1
Original line number Diff line number Diff line
@@ -155,7 +155,7 @@ ivas_error ivas_sba_dec_reconfigure(
    st_ivas->sba_analysis_order = ivas_sba_get_analysis_order( ivas_total_brate, st_ivas->sba_order );

    /* save old */
    if ( st_ivas->hDirAC == NULL && st_ivas->hSpar != NULL ) // ToDo; this never happens
    if ( st_ivas->hDirAC == NULL && st_ivas->hSpar != NULL )
    {
        st_ivas->hTcBuffer->num_slots = st_ivas->hSpar->num_slots;
        st_ivas->hTcBuffer->nb_subframes = st_ivas->hSpar->nb_subframes;
+0 −3
Original line number Diff line number Diff line
@@ -193,9 +193,6 @@ ivas_error ivas_dirac_enc_reconfigure(
        return error;
    }


    /* :TODO: if the number of parameter bands change, do a meaningful mapping of parameter buffers from old to new band setting */

    if ( st_ivas->hQMetaData->useLowerRes )
    {
        hDirAC->block_grouping[0] = 0;
+0 −2
Original line number Diff line number Diff line
@@ -39,8 +39,6 @@

#ifdef SPLIT_REND_WITH_HEAD_ROT

// ToDo: file can be removed if SIMPLE_PHASE is removed

enum
{
    BS_READ,
+0 −21
Original line number Diff line number Diff line
@@ -46,11 +46,8 @@
 * Local constants
 *------------------------------------------------------------------------------------------*/

#define DECODER_ERROR_NONE ( 0 ) // todo: not really used

#define HUFF_READ_SIZE ( 4 )


/*------------------------------------------------------------------------------------------*
 * Local structures
 *------------------------------------------------------------------------------------------*/
@@ -114,8 +111,6 @@ struct LCLD_DECODER


    NoiseGen *psNoiseGen;

    int32_t iLastError;
};

#ifdef ROM_TO_RAM
@@ -545,9 +540,6 @@ ivas_error CreateLCLDDecoder(
        return error;
    }
    psLCLDDecoder->psNoiseGen = NULL; // CreateNoiseGen(); // No noise fill for now

    psLCLDDecoder->iLastError = DECODER_ERROR_NONE;

    *psLCLDDecoder_out = psLCLDDecoder;

    return IVAS_ERR_OK;
@@ -729,19 +721,6 @@ void DeleteLCLDDecoder( LCLDDecoder *psLCLDDecoder )
    }
}


/*------------------------------------------------------------------------------------------*
 * Function LCLDDecoderGetError()
 *
 *
 *------------------------------------------------------------------------------------------*/

int32_t LCLDDecoderGetError( LCLDDecoder *psLCLDDecoder )
{
    return psLCLDDecoder->iLastError;
}


/*------------------------------------------------------------------------------------------*
 * Local function declarations
 *
Loading