Commit 243e9d9b authored by multrus's avatar multrus
Browse files

formatting

parent 93596746
Loading
Loading
Loading
Loading
Loading

lib_com/bitstream.c

100755 → 100644
+4 −8
Original line number Diff line number Diff line
@@ -1639,8 +1639,7 @@ static ivas_error write_indices_element(
            total_nb_bits =
#endif
                write_indices_to_stream( ind_list_metadata, &pt_stream_loc, -1,
                                         nb_ind_tot_metadata
                );
                                         nb_ind_tot_metadata );

#ifdef ENABLE_BITRATE_VERIFICATION
            if ( total_nb_bits != nb_bits_tot_metadata )
@@ -1655,8 +1654,7 @@ static ivas_error write_indices_element(
        total_nb_bits =
#endif
            write_indices_to_stream( sts[n]->hBstr->ind_list, &pt_stream_loc, 1,
                                     sts[n]->hBstr->nb_ind_tot
            );
                                     sts[n]->hBstr->nb_ind_tot );

#ifdef ENABLE_BITRATE_VERIFICATION
        if ( total_nb_bits != sts[n]->hBstr->nb_bits_tot )
@@ -1683,8 +1681,7 @@ static ivas_error write_indices_element(
        }

        reset_indices_enc( sts[0]->hBstr,
                           sts[0]->hBstr->nb_ind_tot
        );
                           sts[0]->hBstr->nb_ind_tot );
    }
    else
    {
@@ -1696,8 +1693,7 @@ static ivas_error write_indices_element(
        for ( n = 0; n < n_channels; n++ )
        {
            reset_indices_enc( sts[n]->hBstr,
                               sts[n]->hBstr->nb_ind_tot
            );
                               sts[n]->hBstr->nb_ind_tot );
        }
    }

+7 −8
Original line number Diff line number Diff line
@@ -665,7 +665,6 @@ Decoder_State **reset_elements(
);



void convertSerialToBytestream(
    const uint16_t *const serial, /* i  : input serial bitstream with values 0 and 1  */
    const uint16_t num_bits,      /* i  : number of bits in the input bitstream       */
+6 −7
Original line number Diff line number Diff line
@@ -654,8 +654,7 @@ void set_bw_stereo(
        sts[0]->bwidth = sts[0]->max_bwidth;
        sts[1]->bwidth = sts[1]->max_bwidth;
    }
    else
        if ( hCPE->element_mode == IVAS_CPE_MDCT )
    else if ( hCPE->element_mode == IVAS_CPE_MDCT )
    {
        /* ensure that both CPE channels have the same audio band-width */
        if ( sts[0]->input_bwidth == sts[1]->input_bwidth )
+1 −2
Original line number Diff line number Diff line
@@ -256,8 +256,7 @@ void dtx(
        if ( st->element_mode != IVAS_CPE_MDCT && st->hBstr != NULL )
        {
            reset_indices_enc( st->hBstr,
                               st->hBstr->nb_ind_tot
            );
                               st->hBstr->nb_ind_tot );
        }
    }

+1 −2
Original line number Diff line number Diff line
@@ -170,8 +170,7 @@ ivas_error encod_ppp(

        /* delete previous indices */
        reset_indices_enc( hBstr,
                           hBstr->nb_ind_tot
        );
                           hBstr->nb_ind_tot );


        /* signaling matrix (writing of signaling bits) */
Loading