Loading apps/decoder.c +2 −2 Original line number Diff line number Diff line Loading @@ -1875,7 +1875,7 @@ static ivas_error decodeG192( #endif #endif IsmFileWriter *ismWriters[IVAS_MAX_NUM_OBJECTS]; IVAS_VECTOR3 Pos; IVAS_VECTOR3 Pos = { 0, 0, 0 }; int16_t vec_pos_update, vec_pos_len; #ifdef SPLIT_REND_WITH_HEAD_ROT Loading Loading @@ -1954,8 +1954,8 @@ static ivas_error decodeG192( splitRendBits.bits_read = 0; splitRendBits.bits_written = 0; splitRendBits.buf_len = MAX_SPLIT_REND_BITS_BUFFER_SIZE_IN_BYTES; splitRendBits.codec = IVAS_SPLIT_REND_CODEC_DEFAULT; splitRendBits.pose_correction = IVAS_SPLIT_REND_POSE_CORRECTION_MODE_NONE; splitRendBits.codec = IVAS_SPLIT_REND_CODEC_NONE; hSplitRendFileReadWrite = NULL; #endif Loading apps/renderer.c +18 −18 Original line number Diff line number Diff line Loading @@ -175,7 +175,7 @@ typedef struct float lfeConfigElevation; bool lfeCustomRoutingEnabled; char inLfePanningMatrixFile[RENDERER_MAX_CLI_ARG_LENGTH]; #ifdef LIB_REND_API_5MS #ifdef API_5MS bool framing_5ms; #endif #ifdef FIX_488_SYNC_DELAY Loading Loading @@ -209,7 +209,7 @@ typedef enum #endif CmdLnOptionId_referenceVectorFile, CmdLnOptionId_exteriorOrientationFile, #ifdef LIB_REND_API_5MS #ifdef API_5MS CmdLnOptionId_framing5ms, #endif #ifdef FIX_488_SYNC_DELAY Loading Loading @@ -354,7 +354,7 @@ static const CmdLnParser_Option cliOptions[] = { .matchShort = "exof", .description = "External orientation trajectory file for simulation of external orientations", }, #ifdef LIB_REND_API_5MS #ifdef API_5MS { .id = CmdLnOptionId_framing5ms, .match = "framing_5ms", Loading Loading @@ -801,7 +801,7 @@ int main( int32_t delayTimeScale = 0; int16_t i, numChannels; ivas_error error = IVAS_ERR_OK; #ifndef LIB_REND_API_5MS #ifndef API_5MS IVAS_VECTOR3 Pos[RENDERER_HEAD_POSITIONS_PER_FRAME]; #endif Loading Loading @@ -1028,7 +1028,7 @@ int main( } #endif const int16_t frameSize_smpls = (int16_t) ( #ifdef LIB_REND_API_5MS #ifdef API_5MS ( args.framing_5ms ? 5 : 20 ) #else 20 Loading Loading @@ -1460,7 +1460,7 @@ int main( fprintf( stdout, "\n\n-- Start the renderer (quiet mode) --\n\n" ); } #ifdef LIB_REND_API_5MS #ifdef API_5MS ObjectPositionBuffer mtdBuffer; #endif Loading @@ -1468,7 +1468,7 @@ int main( { int16_t num_in_channels; num_in_channels = inBuffer.config.numChannels; #ifdef LIB_REND_API_5MS #ifdef API_5MS const bool isCurrentFrameMultipleOf20ms = !args.framing_5ms || frame % 4 == 0; #endif Loading Loading @@ -1520,7 +1520,7 @@ int main( #endif ); #ifdef LIB_REND_API_5MS #ifdef API_5MS if ( isCurrentFrameMultipleOf20ms ) { #else Loading Loading @@ -1558,14 +1558,14 @@ int main( exit( -1 ); } } #ifdef LIB_REND_API_5MS #ifdef API_5MS } #endif /* Read from head rotation trajectory file if specified */ if ( headRotReader != NULL ) { #ifdef LIB_REND_API_5MS #ifdef API_5MS IVAS_QUATERNION headRot; IVAS_VECTOR3 Pos; Loading Loading @@ -1622,13 +1622,13 @@ int main( } else { #ifdef LIB_REND_API_5MS #ifdef API_5MS if ( ( error = IVAS_REND_DisableHeadRotation( hIvasRend ) ) != IVAS_ERR_OK ) { fprintf( stderr, "Error disabling head rotation: %s\n", ivas_error_to_string( error ) ); exit( -1 ); } #else /* LIB_REND_API_5MS */ #else /* API_5MS */ error = IVAS_REND_SetHeadRotation( hIvasRend, NULL, NULL #ifdef SPLIT_REND_WITH_HEAD_ROT , Loading @@ -1640,7 +1640,7 @@ int main( fprintf( stderr, "Error setting Head Rotation: %s\n", ivas_error_to_string( error ) ); exit( -1 ); } #endif /* LIB_REND_API_5MS */ #endif /* API_5MS */ } #ifdef SPLIT_REND_WITH_HEAD_ROT Loading @@ -1655,7 +1655,7 @@ int main( /* Read from external orientation file if specified */ if ( externalOrientationFileReader != NULL ) { #ifdef LIB_REND_API_5MS #ifdef API_5MS IVAS_QUATERNION quat; int8_t enableHeadRotation; int8_t enableExternalOrientation; Loading Loading @@ -2622,7 +2622,7 @@ static CmdlnArgs defaultArgs( args.lfeCustomRoutingEnabled = false; clearString( args.inLfePanningMatrixFile ); #ifdef LIB_REND_API_5MS #ifdef API_5MS args.framing_5ms = false; #endif #ifdef FIX_488_SYNC_DELAY Loading Loading @@ -2767,7 +2767,7 @@ static void parseOption( exit( -1 ); } break; #ifdef LIB_REND_API_5MS #ifdef API_5MS case CmdLnOptionId_framing5ms: assert( numOptionValues == 0 ); args->framing_5ms = true; Loading lib_com/common_api_types.h +1 −1 Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ #define IVAS_CLDFB_NO_CHANNELS_MAX ( 60 ) #define IVAS_MAX_INPUT_LFE_CHANNELS 4 #ifndef LIB_REND_API_5MS #ifndef API_5MS #define RENDERER_HEAD_POSITIONS_PER_FRAME 4 #endif Loading lib_com/ivas_prot.h +1 −1 Original line number Diff line number Diff line Loading @@ -3680,7 +3680,7 @@ void ivas_dirac_dec( Decoder_Struct *st_ivas, /* i/o: IVAS decoder structure */ float output_f[][L_FRAME48k], /* i/o: synthesized core-coder transport channels/DirAC output */ const int16_t nchan_transport /* i : number of transport channels */ #ifdef LIB_REND_API_5MS #ifdef API_5MS ,const int16_t num_subframes /* i : number of subframes to render */ #endif ); Loading lib_com/options.h +0 −1 Original line number Diff line number Diff line Loading @@ -165,7 +165,6 @@ #define API_5MS #ifdef API_5MS #define JITTER_MEM_OPTIM_RENDERING #define LIB_REND_API_5MS /* FhG: Adds 5ms framing capability to lib_rend */ /* TODO(sgi): needs to be joined with API_5MS */ #define API_5MS_BASELINE #endif #define LIB_REND_FIX_HRTFPARAMBIN_MEMLEAK Loading Loading
apps/decoder.c +2 −2 Original line number Diff line number Diff line Loading @@ -1875,7 +1875,7 @@ static ivas_error decodeG192( #endif #endif IsmFileWriter *ismWriters[IVAS_MAX_NUM_OBJECTS]; IVAS_VECTOR3 Pos; IVAS_VECTOR3 Pos = { 0, 0, 0 }; int16_t vec_pos_update, vec_pos_len; #ifdef SPLIT_REND_WITH_HEAD_ROT Loading Loading @@ -1954,8 +1954,8 @@ static ivas_error decodeG192( splitRendBits.bits_read = 0; splitRendBits.bits_written = 0; splitRendBits.buf_len = MAX_SPLIT_REND_BITS_BUFFER_SIZE_IN_BYTES; splitRendBits.codec = IVAS_SPLIT_REND_CODEC_DEFAULT; splitRendBits.pose_correction = IVAS_SPLIT_REND_POSE_CORRECTION_MODE_NONE; splitRendBits.codec = IVAS_SPLIT_REND_CODEC_NONE; hSplitRendFileReadWrite = NULL; #endif Loading
apps/renderer.c +18 −18 Original line number Diff line number Diff line Loading @@ -175,7 +175,7 @@ typedef struct float lfeConfigElevation; bool lfeCustomRoutingEnabled; char inLfePanningMatrixFile[RENDERER_MAX_CLI_ARG_LENGTH]; #ifdef LIB_REND_API_5MS #ifdef API_5MS bool framing_5ms; #endif #ifdef FIX_488_SYNC_DELAY Loading Loading @@ -209,7 +209,7 @@ typedef enum #endif CmdLnOptionId_referenceVectorFile, CmdLnOptionId_exteriorOrientationFile, #ifdef LIB_REND_API_5MS #ifdef API_5MS CmdLnOptionId_framing5ms, #endif #ifdef FIX_488_SYNC_DELAY Loading Loading @@ -354,7 +354,7 @@ static const CmdLnParser_Option cliOptions[] = { .matchShort = "exof", .description = "External orientation trajectory file for simulation of external orientations", }, #ifdef LIB_REND_API_5MS #ifdef API_5MS { .id = CmdLnOptionId_framing5ms, .match = "framing_5ms", Loading Loading @@ -801,7 +801,7 @@ int main( int32_t delayTimeScale = 0; int16_t i, numChannels; ivas_error error = IVAS_ERR_OK; #ifndef LIB_REND_API_5MS #ifndef API_5MS IVAS_VECTOR3 Pos[RENDERER_HEAD_POSITIONS_PER_FRAME]; #endif Loading Loading @@ -1028,7 +1028,7 @@ int main( } #endif const int16_t frameSize_smpls = (int16_t) ( #ifdef LIB_REND_API_5MS #ifdef API_5MS ( args.framing_5ms ? 5 : 20 ) #else 20 Loading Loading @@ -1460,7 +1460,7 @@ int main( fprintf( stdout, "\n\n-- Start the renderer (quiet mode) --\n\n" ); } #ifdef LIB_REND_API_5MS #ifdef API_5MS ObjectPositionBuffer mtdBuffer; #endif Loading @@ -1468,7 +1468,7 @@ int main( { int16_t num_in_channels; num_in_channels = inBuffer.config.numChannels; #ifdef LIB_REND_API_5MS #ifdef API_5MS const bool isCurrentFrameMultipleOf20ms = !args.framing_5ms || frame % 4 == 0; #endif Loading Loading @@ -1520,7 +1520,7 @@ int main( #endif ); #ifdef LIB_REND_API_5MS #ifdef API_5MS if ( isCurrentFrameMultipleOf20ms ) { #else Loading Loading @@ -1558,14 +1558,14 @@ int main( exit( -1 ); } } #ifdef LIB_REND_API_5MS #ifdef API_5MS } #endif /* Read from head rotation trajectory file if specified */ if ( headRotReader != NULL ) { #ifdef LIB_REND_API_5MS #ifdef API_5MS IVAS_QUATERNION headRot; IVAS_VECTOR3 Pos; Loading Loading @@ -1622,13 +1622,13 @@ int main( } else { #ifdef LIB_REND_API_5MS #ifdef API_5MS if ( ( error = IVAS_REND_DisableHeadRotation( hIvasRend ) ) != IVAS_ERR_OK ) { fprintf( stderr, "Error disabling head rotation: %s\n", ivas_error_to_string( error ) ); exit( -1 ); } #else /* LIB_REND_API_5MS */ #else /* API_5MS */ error = IVAS_REND_SetHeadRotation( hIvasRend, NULL, NULL #ifdef SPLIT_REND_WITH_HEAD_ROT , Loading @@ -1640,7 +1640,7 @@ int main( fprintf( stderr, "Error setting Head Rotation: %s\n", ivas_error_to_string( error ) ); exit( -1 ); } #endif /* LIB_REND_API_5MS */ #endif /* API_5MS */ } #ifdef SPLIT_REND_WITH_HEAD_ROT Loading @@ -1655,7 +1655,7 @@ int main( /* Read from external orientation file if specified */ if ( externalOrientationFileReader != NULL ) { #ifdef LIB_REND_API_5MS #ifdef API_5MS IVAS_QUATERNION quat; int8_t enableHeadRotation; int8_t enableExternalOrientation; Loading Loading @@ -2622,7 +2622,7 @@ static CmdlnArgs defaultArgs( args.lfeCustomRoutingEnabled = false; clearString( args.inLfePanningMatrixFile ); #ifdef LIB_REND_API_5MS #ifdef API_5MS args.framing_5ms = false; #endif #ifdef FIX_488_SYNC_DELAY Loading Loading @@ -2767,7 +2767,7 @@ static void parseOption( exit( -1 ); } break; #ifdef LIB_REND_API_5MS #ifdef API_5MS case CmdLnOptionId_framing5ms: assert( numOptionValues == 0 ); args->framing_5ms = true; Loading
lib_com/common_api_types.h +1 −1 Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ #define IVAS_CLDFB_NO_CHANNELS_MAX ( 60 ) #define IVAS_MAX_INPUT_LFE_CHANNELS 4 #ifndef LIB_REND_API_5MS #ifndef API_5MS #define RENDERER_HEAD_POSITIONS_PER_FRAME 4 #endif Loading
lib_com/ivas_prot.h +1 −1 Original line number Diff line number Diff line Loading @@ -3680,7 +3680,7 @@ void ivas_dirac_dec( Decoder_Struct *st_ivas, /* i/o: IVAS decoder structure */ float output_f[][L_FRAME48k], /* i/o: synthesized core-coder transport channels/DirAC output */ const int16_t nchan_transport /* i : number of transport channels */ #ifdef LIB_REND_API_5MS #ifdef API_5MS ,const int16_t num_subframes /* i : number of subframes to render */ #endif ); Loading
lib_com/options.h +0 −1 Original line number Diff line number Diff line Loading @@ -165,7 +165,6 @@ #define API_5MS #ifdef API_5MS #define JITTER_MEM_OPTIM_RENDERING #define LIB_REND_API_5MS /* FhG: Adds 5ms framing capability to lib_rend */ /* TODO(sgi): needs to be joined with API_5MS */ #define API_5MS_BASELINE #endif #define LIB_REND_FIX_HRTFPARAMBIN_MEMLEAK Loading