Commit b9df4e44 authored by Vidhya V P's avatar Vidhya V P
Browse files

Changes as part of issue#523

parent a945b39f
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -151,6 +151,7 @@
#endif


#define SBA_MODE_CLEANUP_2                              /* Dlb : changes part of fix issue #523 for unused signaling bit in SBA SID*/
#define FIX_137_SID_MD_BITS                             /* Dlb: Fix issue #137 , SID bitrate mismatch correction */
#define FIX_383_CLEAN_UP                                /* Dlb : Clean up of unused functions */
// #define FIX_532_ISM_MD_INACTIVE                         /* VA: issue 532: improve MD coding in ISM inactive frames */
+4 −0
Original line number Diff line number Diff line
@@ -1736,7 +1736,11 @@ void ivas_dirac_dec_read_BS(

        /* subtract mode signaling bits, since bitstream was moved after mode reading */
        st->next_bit_pos = (int16_t) ( ivas_total_brate / FRAMES_PER_SEC - 1 - SID_FORMAT_NBITS );
#ifndef SBA_MODE_CLEANUP_2
        /* 1 bit flag for SPAR/DirAC, already read in read format function */
#else
        /* 1 bit flag for signaling metadata to read */
#endif
        b = st->bit_stream[( st->next_bit_pos )--];
        ( *nb_bits )++;
        hQMetaData->sba_inactive_mode = 1;
+2 −0
Original line number Diff line number Diff line
@@ -452,9 +452,11 @@ static ivas_error ivas_read_format(

        if ( st_ivas->ivas_format == SBA_FORMAT )
        {
#ifndef SBA_MODE_CLEANUP_2
            int16_t tc_mode_offset;
            tc_mode_offset = (int16_t) ( ivas_total_brate / FRAMES_PER_SEC - 1 );
            idx = st_ivas->bit_stream[tc_mode_offset];
#endif
            if ( st_ivas->sba_analysis_order == 0 )
            {
                st_ivas->sba_analysis_order = SBA_FOA_ORDER;