Loading Makefile +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ endif CFLAGS += -std=c99 -pedantic -Wcast-qual -Wall -W -Wextra -Wno-long-long \ -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ -Werror-implicit-function-declaration \ -Wno-unused-function -Wno-implicit-fallthrough -Wno-implicit-fallthrough # libs to link LDLIBS += -lm Loading Workspace_msvc/lib_rend.vcxproj +2 −4 Original line number Diff line number Diff line Loading @@ -150,7 +150,6 @@ <ClCompile Include="..\lib_rend\ivas_lcld_rom_tables.c" /> <ClCompile Include="..\lib_rend\ivas_sba_rendering.c" /> <ClCompile Include="..\lib_rend\ivas_allrad_dec.c" /> <ClCompile Include="..\lib_rend\ivas_cldfb_codec_bitstream.c" /> <ClCompile Include="..\lib_rend\ivas_MSPred.c" /> <ClCompile Include="..\lib_rend\ivas_NoiseGen.c" /> <ClCompile Include="..\lib_rend\ivas_PerceptualModel.c" /> Loading Loading @@ -195,7 +194,6 @@ <ClCompile Include="..\lib_rend\lib_rend.c" /> </ItemGroup> <ItemGroup> <ClInclude Include="..\lib_rend\ivas_cldfb_codec_bitstream.h" /> <ClInclude Include="..\lib_rend\ivas_lcld_prot.h" /> <ClInclude Include="..\lib_rend\ivas_lcld_rom_tables.h" /> <ClInclude Include="..\lib_rend\ivas_prot_rend.h" /> Loading Workspace_msvc/lib_rend.vcxproj.filters +0 −6 Original line number Diff line number Diff line Loading @@ -5,9 +5,6 @@ <ClCompile Include="..\lib_rend\ivas_allrad_dec.c"> <Filter>rend_c</Filter> </ClCompile> <ClCompile Include="..\lib_rend\ivas_cldfb_codec_bitstream.c"> <Filter>rend_c</Filter> </ClCompile> <ClCompile Include="..\lib_rend\ivas_crend.c"> <Filter>rend_c</Filter> </ClCompile> Loading Loading @@ -206,9 +203,6 @@ <ClInclude Include="..\lib_rend\ivas_lcld_rom_tables.h"> <Filter>rend_h</Filter> </ClInclude> <ClInclude Include="..\lib_rend\ivas_cldfb_codec_bitstream.h"> <Filter>rend_h</Filter> </ClInclude> </ItemGroup> <ItemGroup> <Filter Include="rend_h"> Loading apps/decoder.c +329 −89 File changed.Preview size limit exceeded, changes collapsed. Show changes apps/encoder.c +2 −16 Original line number Diff line number Diff line Loading @@ -131,7 +131,6 @@ typedef struct const char *ca_config_file; bool mimeOutput; IVAS_ENC_COMPLEXITY_LEVEL complexityLevel; #ifdef DEBUGGING IVAS_ENC_FORCED_MODE forcedMode; const char *forcedModeFile; Loading Loading @@ -178,7 +177,7 @@ int main( { bool mainFailed = true; /* Assume main failed until cleanup is reached without errors */ EncArguments arg; int16_t i = 0; int16_t i; ivas_error error = IVAS_ERR_UNKNOWN; /* Any handles that require cleanup must be declared here and initialized to NULL */ Loading @@ -189,11 +188,7 @@ int main( FILE *f_bwProfile = NULL; JbmFileReader *jbmReader = NULL; MasaFileReader *masaReader = NULL; IsmFileReader *ismReaders[IVAS_MAX_NUM_OBJECTS]; for ( i = 0; i < IVAS_MAX_NUM_OBJECTS; ++i ) { ismReaders[i] = NULL; } IsmFileReader *ismReaders[IVAS_MAX_NUM_OBJECTS] = { NULL, NULL, NULL, NULL }; int16_t *pcmBuf = NULL; #ifdef DEBUGGING FILE *f_forcedModeProfile = NULL; Loading Loading @@ -234,7 +229,6 @@ int main( goto cleanup; } /*------------------------------------------------------------------------------------------* * Open output bitstream file *------------------------------------------------------------------------------------------*/ Loading Loading @@ -492,7 +486,6 @@ int main( goto cleanup; } /* Validate number of channels */ int16_t encInNumChannels = 0; if ( ( error = IVAS_ENC_GetNumInChannels( hIvasEnc, &encInNumChannels ) ) != IVAS_ERR_OK ) Loading Loading @@ -603,7 +596,6 @@ int main( int16_t numSamplesRead = 0; uint16_t bitStream[IVAS_MAX_BITS_PER_FRAME]; uint16_t numBits = 0; #ifdef DEBUG_SBA #ifdef DEBUG_AGC ivas_open_agc_debug_files( (int16_t) arg.agc ); Loading Loading @@ -725,7 +717,6 @@ int main( } } #endif /* Read ISM input metadata */ for ( i = 0; i < numIsmInputs; ++i ) { Loading Loading @@ -803,7 +794,6 @@ int main( #ifdef DEBUGGING print_snr(); #endif /*------------------------------------------------------------------------------------------* * Close files and deallocate resources *------------------------------------------------------------------------------------------*/ Loading Loading @@ -856,7 +846,6 @@ cleanup: print_wmops(); print_mem( NULL ); #endif #ifdef DEBUGGING dbgclose(); Loading Loading @@ -1606,7 +1595,6 @@ static bool parseCmdlIVAS_enc( usage_enc(); } } else if ( strcmp( to_upper( argv[i] ), "-ISM_SBA" ) == 0 ) { arg->inputFormat = IVAS_ENC_INPUT_SBA_ISM; Loading Loading @@ -1695,7 +1683,6 @@ static bool parseCmdlIVAS_enc( } } } else if ( strcmp( argv_to_upper, "-STEREO_DMX_EVS" ) == 0 ) { arg->inputFormat = IVAS_ENC_INPUT_MONO; Loading Loading @@ -1932,7 +1919,6 @@ static void usage_enc( void ) fprintf( stdout, "-mime : Mime output bitstream file format\n" ); fprintf( stdout, " The encoder produces TS26.445 Annex.2.6 Mime Storage Format, (not RFC4867 Mime Format).\n" ); fprintf( stdout, " default output bitstream file format is G.192\n" ); fprintf( stdout, "-bypass mode : SBA PCA by-pass, mode = (1, 2), 1 = PCA off, 2 = signal adaptive, default is 1\n" ); fprintf( stdout, "-level level : Complexity level, level = (1, 2, 3), will be defined after characterisation. \n" ); fprintf( stdout, " Currently, all values default to level 3 (full functionality).\n" ); Loading Loading
Makefile +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ endif CFLAGS += -std=c99 -pedantic -Wcast-qual -Wall -W -Wextra -Wno-long-long \ -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ -Werror-implicit-function-declaration \ -Wno-unused-function -Wno-implicit-fallthrough -Wno-implicit-fallthrough # libs to link LDLIBS += -lm Loading
Workspace_msvc/lib_rend.vcxproj +2 −4 Original line number Diff line number Diff line Loading @@ -150,7 +150,6 @@ <ClCompile Include="..\lib_rend\ivas_lcld_rom_tables.c" /> <ClCompile Include="..\lib_rend\ivas_sba_rendering.c" /> <ClCompile Include="..\lib_rend\ivas_allrad_dec.c" /> <ClCompile Include="..\lib_rend\ivas_cldfb_codec_bitstream.c" /> <ClCompile Include="..\lib_rend\ivas_MSPred.c" /> <ClCompile Include="..\lib_rend\ivas_NoiseGen.c" /> <ClCompile Include="..\lib_rend\ivas_PerceptualModel.c" /> Loading Loading @@ -195,7 +194,6 @@ <ClCompile Include="..\lib_rend\lib_rend.c" /> </ItemGroup> <ItemGroup> <ClInclude Include="..\lib_rend\ivas_cldfb_codec_bitstream.h" /> <ClInclude Include="..\lib_rend\ivas_lcld_prot.h" /> <ClInclude Include="..\lib_rend\ivas_lcld_rom_tables.h" /> <ClInclude Include="..\lib_rend\ivas_prot_rend.h" /> Loading
Workspace_msvc/lib_rend.vcxproj.filters +0 −6 Original line number Diff line number Diff line Loading @@ -5,9 +5,6 @@ <ClCompile Include="..\lib_rend\ivas_allrad_dec.c"> <Filter>rend_c</Filter> </ClCompile> <ClCompile Include="..\lib_rend\ivas_cldfb_codec_bitstream.c"> <Filter>rend_c</Filter> </ClCompile> <ClCompile Include="..\lib_rend\ivas_crend.c"> <Filter>rend_c</Filter> </ClCompile> Loading Loading @@ -206,9 +203,6 @@ <ClInclude Include="..\lib_rend\ivas_lcld_rom_tables.h"> <Filter>rend_h</Filter> </ClInclude> <ClInclude Include="..\lib_rend\ivas_cldfb_codec_bitstream.h"> <Filter>rend_h</Filter> </ClInclude> </ItemGroup> <ItemGroup> <Filter Include="rend_h"> Loading
apps/encoder.c +2 −16 Original line number Diff line number Diff line Loading @@ -131,7 +131,6 @@ typedef struct const char *ca_config_file; bool mimeOutput; IVAS_ENC_COMPLEXITY_LEVEL complexityLevel; #ifdef DEBUGGING IVAS_ENC_FORCED_MODE forcedMode; const char *forcedModeFile; Loading Loading @@ -178,7 +177,7 @@ int main( { bool mainFailed = true; /* Assume main failed until cleanup is reached without errors */ EncArguments arg; int16_t i = 0; int16_t i; ivas_error error = IVAS_ERR_UNKNOWN; /* Any handles that require cleanup must be declared here and initialized to NULL */ Loading @@ -189,11 +188,7 @@ int main( FILE *f_bwProfile = NULL; JbmFileReader *jbmReader = NULL; MasaFileReader *masaReader = NULL; IsmFileReader *ismReaders[IVAS_MAX_NUM_OBJECTS]; for ( i = 0; i < IVAS_MAX_NUM_OBJECTS; ++i ) { ismReaders[i] = NULL; } IsmFileReader *ismReaders[IVAS_MAX_NUM_OBJECTS] = { NULL, NULL, NULL, NULL }; int16_t *pcmBuf = NULL; #ifdef DEBUGGING FILE *f_forcedModeProfile = NULL; Loading Loading @@ -234,7 +229,6 @@ int main( goto cleanup; } /*------------------------------------------------------------------------------------------* * Open output bitstream file *------------------------------------------------------------------------------------------*/ Loading Loading @@ -492,7 +486,6 @@ int main( goto cleanup; } /* Validate number of channels */ int16_t encInNumChannels = 0; if ( ( error = IVAS_ENC_GetNumInChannels( hIvasEnc, &encInNumChannels ) ) != IVAS_ERR_OK ) Loading Loading @@ -603,7 +596,6 @@ int main( int16_t numSamplesRead = 0; uint16_t bitStream[IVAS_MAX_BITS_PER_FRAME]; uint16_t numBits = 0; #ifdef DEBUG_SBA #ifdef DEBUG_AGC ivas_open_agc_debug_files( (int16_t) arg.agc ); Loading Loading @@ -725,7 +717,6 @@ int main( } } #endif /* Read ISM input metadata */ for ( i = 0; i < numIsmInputs; ++i ) { Loading Loading @@ -803,7 +794,6 @@ int main( #ifdef DEBUGGING print_snr(); #endif /*------------------------------------------------------------------------------------------* * Close files and deallocate resources *------------------------------------------------------------------------------------------*/ Loading Loading @@ -856,7 +846,6 @@ cleanup: print_wmops(); print_mem( NULL ); #endif #ifdef DEBUGGING dbgclose(); Loading Loading @@ -1606,7 +1595,6 @@ static bool parseCmdlIVAS_enc( usage_enc(); } } else if ( strcmp( to_upper( argv[i] ), "-ISM_SBA" ) == 0 ) { arg->inputFormat = IVAS_ENC_INPUT_SBA_ISM; Loading Loading @@ -1695,7 +1683,6 @@ static bool parseCmdlIVAS_enc( } } } else if ( strcmp( argv_to_upper, "-STEREO_DMX_EVS" ) == 0 ) { arg->inputFormat = IVAS_ENC_INPUT_MONO; Loading Loading @@ -1932,7 +1919,6 @@ static void usage_enc( void ) fprintf( stdout, "-mime : Mime output bitstream file format\n" ); fprintf( stdout, " The encoder produces TS26.445 Annex.2.6 Mime Storage Format, (not RFC4867 Mime Format).\n" ); fprintf( stdout, " default output bitstream file format is G.192\n" ); fprintf( stdout, "-bypass mode : SBA PCA by-pass, mode = (1, 2), 1 = PCA off, 2 = signal adaptive, default is 1\n" ); fprintf( stdout, "-level level : Complexity level, level = (1, 2, 3), will be defined after characterisation. \n" ); fprintf( stdout, " Currently, all values default to level 3 (full functionality).\n" ); Loading