Commit 217f68d6 authored by TYAGIRIS's avatar TYAGIRIS
Browse files

fix for formatting issues

parent 878c347b
Loading
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -483,7 +483,6 @@ int main(
            fprintf( stderr, "\nChanged render framesize, only 20ms are allowed for split rendering!\n" );
        }
#endif

        arg.enableHeadRotation = true;
    }
#endif
@@ -656,7 +655,6 @@ int main(

#endif
#endif

        if ( RenderConfigReader_read( renderConfigReader, arg.renderConfigFilename, &renderConfig ) != IVAS_ERR_OK )
        {
            fprintf( stderr, "Failed to read renderer configuration from file %s\n\n", arg.renderConfigFilename );
@@ -690,7 +688,6 @@ int main(
        {
            fprintf( stderr, "\nChanged render framesize, only 20ms are allowed for non-0dof split rendering!\n" );
        }

#endif
#endif

+3 −4
Original line number Diff line number Diff line
@@ -1936,7 +1936,6 @@ int main(
                    exit( -1 );
                }
#endif

                if ( ( error = IVAS_REND_FeedSplitBinauralBitstream( hIvasRend, splitBinIds[i], &bitsBuffer ) ) != IVAS_ERR_OK )
                {
                    fprintf( stderr, "Error: %s\n", ivas_error_to_string( error ) );
@@ -2236,6 +2235,9 @@ cleanup:
    }

    split_rend_reader_writer_close( &hSplitRendFileReadWrite );
#ifdef SPLIT_REND_LCLD_5MS
    SplitRendBFIFileReader_close( &splitRendBFIReader );
#endif
#endif

    for ( i = 0; i < RENDERER_MAX_MC_INPUTS; ++i )
@@ -2248,9 +2250,6 @@ cleanup:
    RotationFileReader_close( &headRotReader );
    RotationFileReader_close( &externalOrientationFileReader );
    RotationFileReader_close( &referenceRotReader );
#ifdef SPLIT_REND_LCLD_5MS
    SplitRendBFIFileReader_close( &splitRendBFIReader );
#endif

    Vector3PairFileReader_close( &referenceVectorReader );
    destroy_td_hrtf( hHrtfTD );
+6 −2
Original line number Diff line number Diff line
@@ -47,7 +47,9 @@
 *
 *
 *-------------------------------------------------------------------*/
static void activate_bit( int32_t *state, int32_t bit_id )
static void activate_bit(
    int32_t *state,
    const int32_t bit_id )
{
    ( *state ) |= ( 1 << bit_id );
}
@@ -58,7 +60,9 @@ static void activate_bit( int32_t *state, int32_t bit_id )
 *
 *-------------------------------------------------------------------*/

static void deactivate_bit( int32_t *state, int32_t bit_id )
static void deactivate_bit(
    int32_t *state,
    const int32_t bit_id )
{
    ( *state ) &= ( ~( 1 << bit_id ) );
}
+0 −7
Original line number Diff line number Diff line
@@ -1292,13 +1292,6 @@ static int32_t ReadMSInformation(
    return iBitsRead;
}

#ifdef SPLIT_REND_LCLD_5MS
int32_t GetNumPredSubSets( LCLDDecoder *psLCLDDecoder )
{
    return psLCLDDecoder->psPredictionDecoder->iNumSubSets;
}
#endif

static int32_t ReadGroupInformation(
    const int32_t iChannels,
    const int32_t iNumBlocks,
+9 −7
Original line number Diff line number Diff line
@@ -95,7 +95,8 @@ struct LCLD_ENCODER
 *
 *------------------------------------------------------------------------------------------*/

static int32_t Quantize( const float fVal,
static int32_t Quantize(
    const float fVal,
    const float fScale,
    int32_t *iSign,
    const int32_t iMaxVal )
@@ -122,7 +123,8 @@ static int32_t Quantize( const float fVal,
 *
 *------------------------------------------------------------------------------------------*/

static float UnQuantize( const int32_t iVal,
static float UnQuantize(
    const int32_t iVal,
    const float fScale,
    const int32_t iSign )
{
Loading