Commit 37df39ef authored by Tapani Pihlajakuja's avatar Tapani Pihlajakuja
Browse files

Convert more to BASOP.

parent e35c8a15
Loading
Loading
Loading
Loading
Loading
+12 −3
Original line number Diff line number Diff line
@@ -3857,11 +3857,20 @@ void convertSerialToBytestream_fx(
    UWord32 i;
    UWord8 bit, bitinbyte;

    for ( i = 0; i < num_bits; ++i )
    FOR( i = 0; i < num_bits; ++i )
    {
        bit = ( serial[i] == 0x0001 ) ? 1 : 0;
        IF( EQ_32( serial[i], 0x0001 ) )
        {
            bit = 1;
            move16();
        }
        ELSE
        {
            bit = 0;
            move16();
        }
        bitinbyte = bit << ( 7 - ( i & 0x7 ) );
        if ( !( i & 0x7 ) )
        IF( !( i & 0x7 ) )
        {
            bytestream[i >> 3] = 0;
        }
+3 −0
Original line number Diff line number Diff line
@@ -1237,6 +1237,9 @@ ivas_error ivas_binRenderer_open_fx(
    {
        test();
        test();
#ifdef IVAS_RTPDUMP
        test();
#endif
        IF( hBinRenderer->hInputSetup->is_loudspeaker_setup == 0 )
        {
            FOR( k = 0; k < 11; k++ )
+1 −0
Original line number Diff line number Diff line
@@ -3083,6 +3083,7 @@ void ivas_dirac_dec_render_sf_fx(
            test();
            test();
#ifdef IVAS_RTPDUMP
            test();
            IF( ( st_ivas->hDecoderConfig->Opt_Headrotation || st_ivas->hDecoderConfig->Opt_ExternalOrientation || st_ivas->hCombinedOrientationData ) && st_ivas->hCombinedOrientationData->shd_rot_max_order == 0 )
#else
            IF( ( st_ivas->hDecoderConfig->Opt_Headrotation || st_ivas->hDecoderConfig->Opt_ExternalOrientation ) && st_ivas->hCombinedOrientationData->shd_rot_max_order == 0 )
+1 −0
Original line number Diff line number Diff line
@@ -2583,6 +2583,7 @@ ivas_error ivas_init_decoder_fx(
        test();
        test();
#ifdef IVAS_RTPDUMP
        test();
        IF( EQ_32( st_ivas->renderer_type, RENDERER_BINAURAL_MIXER_CONV_ROOM ) && EQ_32( st_ivas->ivas_format, MC_FORMAT ) && ( hDecoderConfig->Opt_Headrotation || hDecoderConfig->Opt_ExternalOrientation || st_ivas->hCombinedOrientationData ) )
#else
        IF( EQ_32( st_ivas->renderer_type, RENDERER_BINAURAL_MIXER_CONV_ROOM ) && EQ_32( st_ivas->ivas_format, MC_FORMAT ) && ( hDecoderConfig->Opt_Headrotation || hDecoderConfig->Opt_ExternalOrientation ) )
+1 −0
Original line number Diff line number Diff line
@@ -462,6 +462,7 @@ ivas_error ivas_param_mc_dec_open_fx(
    test();
    test();
#ifdef IVAS_RTPDUMP
    test();
    IF( ( EQ_32( st_ivas->renderer_type, RENDERER_BINAURAL_FASTCONV ) || EQ_32( st_ivas->renderer_type, RENDERER_BINAURAL_FASTCONV_ROOM ) ) && ( st_ivas->hDecoderConfig->Opt_Headrotation || st_ivas->hDecoderConfig->Opt_ExternalOrientation || st_ivas->hCombinedOrientationData ) )
#else
    IF( ( EQ_32( st_ivas->renderer_type, RENDERER_BINAURAL_FASTCONV ) || EQ_32( st_ivas->renderer_type, RENDERER_BINAURAL_FASTCONV_ROOM ) ) && ( st_ivas->hDecoderConfig->Opt_Headrotation || st_ivas->hDecoderConfig->Opt_ExternalOrientation ) )
Loading