Commit 7b1d6dbd authored by vaillancour's avatar vaillancour Committed by Sandesh Venkatesh
Browse files

replace EVS push_next_indice_fx byt IVAS one

parent 5e088823
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -288,9 +288,8 @@ void push_indice_fx(

    return;
}
#endif
/*-------------------------------------------------------------------*
 * push_next_indice_fx()            *
 * push_next_indice()            *
 * Push a new indice into the buffer at the next position
 *-------------------------------------------------------------------*/

@@ -315,6 +314,7 @@ void push_next_indice_fx(

    return;
}
#endif


/*-------------------------------------------------------------------*
+1 −1
Original line number Diff line number Diff line
@@ -1242,7 +1242,7 @@ void IGFCommonFuncsWriteSerialBit(

    IF( hBstr )
    {
        push_next_indice_fx( hBstr, bit, 1 );
        push_next_indice( hBstr, bit, 1 );
    }
    *pBitOffset = add( *pBitOffset, 1 );
    move16();
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ static Word16 PutIntoBitstream_fx(
    value = *( *pStream )++;
    codedValue = EncodeValue( value, index );

    push_next_indice_fx( hBstr, codedValue, nBits );
    push_next_indice( hBstr, codedValue, nBits );

    return value;
}
+1 −1
Original line number Diff line number Diff line
@@ -343,7 +343,7 @@ void ACcontextMapping_encode2_no_mem_s17_LC_fx(

    /* Push number of encoded tuples */
    value = sub( shr( lastnz, 1 ), 1 ); /* Q0 */
    push_next_indice_fx( hBstr, value, nbbits_ntuples );
    push_next_indice( hBstr, value, nbbits_ntuples );

    /* Push arithmetic coded bits */
    push_next_bits_fx( hBstr, &ptr[nbbits_ntuples], sub( bp, nbbits_ntuples ) );
+2 −2
Original line number Diff line number Diff line
@@ -42,12 +42,12 @@ Word16 EncodeIndex_fx(
        NumRatioBitsBwLtpIndx = NumRatioBits[Bandwidth][LtpPitchIndex];
        move16();

        push_next_indice_fx( hBst, s_and( PeriodicityIndex, 0xff ), NumRatioBitsBwLtpIndx );
        push_next_indice( hBst, s_and( PeriodicityIndex, 0xff ), NumRatioBitsBwLtpIndx );
        return NumRatioBitsBwLtpIndx;
    }
    ELSE
    {
        push_next_indice_fx( hBst, PeriodicityIndex, 8 );
        push_next_indice( hBst, PeriodicityIndex, 8 );
        return 8;
    }
}
Loading