Commit 98cacb17 authored by Sandesh Venkatesh's avatar Sandesh Venkatesh Committed by Manuel Jander
Browse files

Clang formatting

parent 0122b0da
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -610,8 +610,7 @@ void computeDirectionVectors_fixed(
    Word32 *direction_vector_z, /* o: Q30*/
    Word16 i_e                  /*Exponent of all the intensity buffers*/
    ,
    Word16 *i_e_band
)
    Word16 *i_e_band )
{
    Word16 i;
    Word32 intensityNorm;
+1 −2
Original line number Diff line number Diff line
@@ -3268,8 +3268,7 @@ void computeDirectionVectors_fixed(
    Word32 *direction_vector_z, /*Q30*/
    Word16 i_e                  /*Exponent of all the intensity buffers*/
    ,
    Word16 *i_e_band
);
    Word16 *i_e_band );


UWord8 ivas_masa_surrcoh_signicant_fx(
+0 −2
Original line number Diff line number Diff line
@@ -446,8 +446,6 @@ ivas_error only_reduce_bits_direction_fx(
                }
            }
        }


    }

    *reduce_bits_out = negate( reduce_bits );
+0 −3
Original line number Diff line number Diff line
@@ -339,7 +339,6 @@ static ivas_error ivas_binRenderer_convModuleOpen(
            {
                return ( IVAS_ERROR( IVAS_ERR_FAILED_ALLOC, "Can not allocate memory for Convolution Module \n" ) );
            }

        }
    }
    /* set memories */
@@ -1264,7 +1263,6 @@ static void ivas_binRenderer_convModuleClose_fx(

            free( hBinRenConvModule->filterStatesLeftImag_fx[bandIdx][chIdx] );
            hBinRenConvModule->filterStatesLeftImag_fx[bandIdx][chIdx] = NULL;

        }

        free( hBinRenConvModule->filterStatesLeftReal_fx[bandIdx] );
@@ -1272,7 +1270,6 @@ static void ivas_binRenderer_convModuleClose_fx(

        free( hBinRenConvModule->filterStatesLeftImag_fx[bandIdx] );
        hBinRenConvModule->filterStatesLeftImag_fx[bandIdx] = NULL;

    }

    free( hBinRenConvModule->filterStatesLeftReal_fx );
+62 −59
Original line number Diff line number Diff line
@@ -294,7 +294,6 @@ Word16 svd_fx(
    push_wmops( "svd_fx" );



    /* Collecting Values */
    FOR( iCh = 0; iCh < nChannelsL; iCh++ )
    {
@@ -905,6 +904,11 @@ static void biDiagonalReductionLeft_fx(
    move32();

    IF( LT_16( currChannel, nChannelsL ) ) /* i <= m */
    {
        idx = currChannel;
        move16();

        FOR( jCh = idx; jCh < nChannelsL; jCh++ ) /* nChannelsL */
        {
            ( *sig_x ) = BASOP_Util_Add_Mant32Exp( *sig_x, *sig_x_e, L_abs( singularVectors[jCh][currChannel] ), singularVectors2_e[jCh][currChannel], sig_x_e ); /* exp(sig_x_e) */
        }
@@ -918,7 +922,6 @@ static void biDiagonalReductionLeft_fx(
            move32();
            norm_x_e = 0;
            move16();

            FOR( jCh = idx; jCh < nChannelsL; jCh++ ) /* nChannelsL */
            {
                Word16 temp_e = norm_l( singularVectors[jCh][currChannel] );
@@ -955,9 +958,6 @@ static void biDiagonalReductionLeft_fx(

            FOR( iCh = currChannel + 1; iCh < nChannelsC; iCh++ ) /* nChannelsC */
            {
            Word16 invVal_e;
            Word32 invVal;
            invVal = BASOP_Util_Divide3232_Scale_newton( MAXVAL_WORD32, maxWithSign_fx( *sig_x ), &invVal_e );
                norm_x = 0;
                move32();
                norm_x_e = 0;
@@ -985,7 +985,13 @@ static void biDiagonalReductionLeft_fx(
                singularVectors2_e[jCh][currChannel] = add( singularVectors2_e[jCh][currChannel], *sig_x_e );
                move16();
            }
        }

        // rescaling block
        singularValues[currChannel] = Mpy_32_32( ( *sig_x ), ( *g ) ); /* sig_x_e */
        move32();
        singularValues_e[currChannel] = *sig_x_e;
        move16();
    }

    return;
@@ -1112,9 +1118,6 @@ static void biDiagonalReductionRight_fx(
                singularVectors2_e[currChannel][jCh] = add( singularVectors2_e[currChannel][jCh], *sig_x_e );
                move16();
            }



        }
    }

Loading