Loading lib_dec/ivas_masa_dec.c +2 −2 Original line number Diff line number Diff line Loading @@ -496,7 +496,7 @@ ivas_error ivas_masa_decode( int16_t block; int16_t meta_write_index; for ( i = 0; i < st_ivas->hSpatParamRendCom->numIsmDirections; i++ ) /* Todo Nokia: Probably there is a better place for this eventually */ for ( i = 0; i < st_ivas->hSpatParamRendCom->numIsmDirections; i++ ) { for ( block = 0; block < MAX_PARAM_SPATIAL_SUBFRAMES; block++ ) { Loading @@ -509,6 +509,7 @@ ivas_error ivas_masa_decode( } } } for ( block = 0; block < MAX_PARAM_SPATIAL_SUBFRAMES; block++ ) { meta_write_index = ( dirac_bs_md_write_idx + block ) % st_ivas->hSpatParamRendCom->dirac_md_buffer_length; Loading Loading @@ -2235,7 +2236,6 @@ static void decode_ism_ratios( /* save previous subframe index values */ if ( sf < numSf - 1 ) { /* Todo Nokia: can be moved to the read_ism_ratio ... function */ for ( band = 0; band < nbands; band++ ) { mvs2s( ratio_ism_idx[band], ratio_ism_idx_prev_sf[band], n_ism ); Loading lib_enc/ivas_init_enc.c +4 −4 Original line number Diff line number Diff line Loading @@ -528,7 +528,7 @@ ivas_error ivas_init_encoder( } } for ( sce_id = 0; sce_id < st_ivas->nSCE; sce_id++ ) // VE: TBV - is this loop needed? for ( sce_id = 0; sce_id < st_ivas->nSCE; sce_id++ ) { if ( ( error = create_sce_enc( st_ivas, sce_id, ivas_total_brate / st_ivas->nchan_transport ) ) != IVAS_ERR_OK ) { Loading Loading @@ -707,7 +707,7 @@ ivas_error ivas_init_encoder( return error; } for ( cpe_id = 0; cpe_id < st_ivas->nCPE; cpe_id++ ) // VE: TBV - is this loop needed? for ( cpe_id = 0; cpe_id < st_ivas->nCPE; cpe_id++ ) { if ( ( error = create_cpe_enc( st_ivas, cpe_id, ivas_total_brate / ( st_ivas->nCPE + st_ivas->nSCE ) ) ) != IVAS_ERR_OK ) { Loading Loading @@ -746,7 +746,7 @@ ivas_error ivas_init_encoder( ivas_mcmasa_split_brate( st_ivas->hMcMasa->separateChannelEnabled, ivas_total_brate, st_ivas->nSCE, st_ivas->nCPE, &brate_sce, &brate_cpe ); for ( sce_id = 0; sce_id < st_ivas->nSCE; sce_id++ ) // VE: TBV - is this loop needed? for ( sce_id = 0; sce_id < st_ivas->nSCE; sce_id++ ) { if ( ( error = create_sce_enc( st_ivas, sce_id, brate_sce ) ) != IVAS_ERR_OK ) { Loading @@ -754,7 +754,7 @@ ivas_error ivas_init_encoder( } } for ( cpe_id = 0; cpe_id < st_ivas->nCPE; cpe_id++ ) // VE: TBV - is this loop needed? for ( cpe_id = 0; cpe_id < st_ivas->nCPE; cpe_id++ ) { hEncoderConfig->element_mode_init = IVAS_CPE_MDCT; Loading Loading
lib_dec/ivas_masa_dec.c +2 −2 Original line number Diff line number Diff line Loading @@ -496,7 +496,7 @@ ivas_error ivas_masa_decode( int16_t block; int16_t meta_write_index; for ( i = 0; i < st_ivas->hSpatParamRendCom->numIsmDirections; i++ ) /* Todo Nokia: Probably there is a better place for this eventually */ for ( i = 0; i < st_ivas->hSpatParamRendCom->numIsmDirections; i++ ) { for ( block = 0; block < MAX_PARAM_SPATIAL_SUBFRAMES; block++ ) { Loading @@ -509,6 +509,7 @@ ivas_error ivas_masa_decode( } } } for ( block = 0; block < MAX_PARAM_SPATIAL_SUBFRAMES; block++ ) { meta_write_index = ( dirac_bs_md_write_idx + block ) % st_ivas->hSpatParamRendCom->dirac_md_buffer_length; Loading Loading @@ -2235,7 +2236,6 @@ static void decode_ism_ratios( /* save previous subframe index values */ if ( sf < numSf - 1 ) { /* Todo Nokia: can be moved to the read_ism_ratio ... function */ for ( band = 0; band < nbands; band++ ) { mvs2s( ratio_ism_idx[band], ratio_ism_idx_prev_sf[band], n_ism ); Loading
lib_enc/ivas_init_enc.c +4 −4 Original line number Diff line number Diff line Loading @@ -528,7 +528,7 @@ ivas_error ivas_init_encoder( } } for ( sce_id = 0; sce_id < st_ivas->nSCE; sce_id++ ) // VE: TBV - is this loop needed? for ( sce_id = 0; sce_id < st_ivas->nSCE; sce_id++ ) { if ( ( error = create_sce_enc( st_ivas, sce_id, ivas_total_brate / st_ivas->nchan_transport ) ) != IVAS_ERR_OK ) { Loading Loading @@ -707,7 +707,7 @@ ivas_error ivas_init_encoder( return error; } for ( cpe_id = 0; cpe_id < st_ivas->nCPE; cpe_id++ ) // VE: TBV - is this loop needed? for ( cpe_id = 0; cpe_id < st_ivas->nCPE; cpe_id++ ) { if ( ( error = create_cpe_enc( st_ivas, cpe_id, ivas_total_brate / ( st_ivas->nCPE + st_ivas->nSCE ) ) ) != IVAS_ERR_OK ) { Loading Loading @@ -746,7 +746,7 @@ ivas_error ivas_init_encoder( ivas_mcmasa_split_brate( st_ivas->hMcMasa->separateChannelEnabled, ivas_total_brate, st_ivas->nSCE, st_ivas->nCPE, &brate_sce, &brate_cpe ); for ( sce_id = 0; sce_id < st_ivas->nSCE; sce_id++ ) // VE: TBV - is this loop needed? for ( sce_id = 0; sce_id < st_ivas->nSCE; sce_id++ ) { if ( ( error = create_sce_enc( st_ivas, sce_id, brate_sce ) ) != IVAS_ERR_OK ) { Loading @@ -754,7 +754,7 @@ ivas_error ivas_init_encoder( } } for ( cpe_id = 0; cpe_id < st_ivas->nCPE; cpe_id++ ) // VE: TBV - is this loop needed? for ( cpe_id = 0; cpe_id < st_ivas->nCPE; cpe_id++ ) { hEncoderConfig->element_mode_init = IVAS_CPE_MDCT; Loading