Commit ac579990 authored by Lauros Pajunen's avatar Lauros Pajunen
Browse files

Merge branch 'add-ivas-rtpdump-support' into add-ivas-rtpdump-support-pi-latency

parents 1ac94db0 aea21198
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -174,7 +174,7 @@ file(GLOB libDecSrcs "lib_dec/*.c")
file(GLOB libDecHeaders "lib_dec/*.h")
add_library(lib_dec ${libDecSrcs} ${libDecHeaders})
target_link_libraries(lib_dec lib_com lib_basop lib_rend lib_debug lib_isar)
target_include_directories(lib_dec PUBLIC lib_dec lib_rend PRIVATE lib_basop lib_enc lib_isar)
target_include_directories(lib_dec PUBLIC lib_dec lib_rend PRIVATE lib_basop lib_enc lib_isar lib_util)

file(GLOB libUtilSrcs "lib_util/*.c")
file(GLOB libUtilHeaders "lib_util/*.h")
+3 −0
Original line number Diff line number Diff line
@@ -119,6 +119,9 @@
      <Filter>rend_c</Filter>
    </ClCompile>
    <ClCompile Include="..\lib_rend\lib_rend_fx.c" />
    <ClCompile Include="..\lib_rend\ivas_td_ring_buffer_fx.c">
      <Filter>rend_c</Filter>
    </ClCompile>
  </ItemGroup>
  <ItemGroup>
    <ClInclude Include="..\lib_rend\lib_rend.h" />
+9 −0
Original line number Diff line number Diff line
@@ -1548,7 +1548,16 @@ int main(
            audioWriter = NULL;
        }

#ifdef FIX_1437_LC3PLUS_EXTREND_HIRES
        if ( ( error = IVAS_REND_GetSplitRendBitstreamHeader( hIvasRend,
                                                              &bitsBuffer.config.codec,
                                                              &bitsBuffer.config.poseCorrection,
                                                              &bitsBuffer.config.codec_frame_size_ms,
                                                              &bitsBuffer.config.isar_frame_size_ms,
                                                              &bitsBuffer.config.lc3plus_highres ) ) != IVAS_ERR_OK )
#else
        if ( ( error = IVAS_REND_GetSplitRendBitstreamHeader( hIvasRend, &bitsBuffer.config.codec, &bitsBuffer.config.poseCorrection, &bitsBuffer.config.codec_frame_size_ms, &bitsBuffer.config.isar_frame_size_ms ) ) != IVAS_ERR_OK )
#endif
        {
            fprintf( stderr, "\nError in IVAS_REND_GetSplitRendBitstreamHeader(): %s!\n", ivas_error_to_string( error ) );
            goto cleanup;
+3 −3
Original line number Diff line number Diff line
@@ -156,7 +156,6 @@ typedef struct _IVAS_EDITABLE_PARAMETERS

typedef struct
{
    // float w, x, y, z;
    Word32 w_fx, x_fx, y_fx, z_fx;
    Word16 q_fact;

@@ -168,6 +167,7 @@ typedef struct
    float x, y, z;
    Word32 x_fx, y_fx, z_fx;
    Word16 q_fact;

} IVAS_VECTOR3;

typedef enum
@@ -326,8 +326,8 @@ typedef enum
    IVAS_RENDER_TYPE_OVERRIDE_FASTCONV

} IVAS_RENDER_TYPE_OVERRIDE;
#endif

#endif
typedef struct _IVAS_ROOM_ACOUSTICS_CONFIG
{
    Word16 nBands;                                                                                                                       /* Number of frequency bands for which reverb properties are provided, integer, range [2..256]        */
@@ -342,8 +342,8 @@ typedef struct _IVAS_ROOM_ACOUSTICS_CONFIG
    Word32 lowComplexity;                    /* Low complexity ER flag  */
    IVAS_VECTOR3 dimensions;                 /* Room dimensions [m]     */
    float AbsCoeff[IVAS_ROOM_ABS_COEFF];     /* Absorption coeffs       */
    IVAS_VECTOR3 ListenerOrigin;             /* Listener origin         */
    Word32 AbsCoeff_fx[IVAS_ROOM_ABS_COEFF]; /* Absorption coeffs       */
    IVAS_VECTOR3 ListenerOrigin;             /* Listener origin         */

} IVAS_ROOM_ACOUSTICS_CONFIG_DATA;

+3 −0
Original line number Diff line number Diff line
@@ -145,6 +145,7 @@
#define FIX_1419_MONO_STEREO_UMX                        /* FhG: fix for issue 1419 : support upmix to all output formats for mono and stereo */
#define NONBE_MDCT_ST_DTX_FIX_SUBOPT_SPATIAL_CNG       /* FhG: Fix MDCT-Stereo comfort noise for certain noise types */
#define NONBE_1344_REND_MASA_LOW_FS                     /* Nokia: Issue 1344: Fix sanitizer errors when using IVAS_rend to render MASA with lower sampling rates */
#define FIX_1437_LC3PLUS_EXTREND_HIRES                  /* FhG: fix external renderer split bitstream header writing causing a crash for LC3plus High-res mode */
#define NONBE_1412_AVOID_ROUNDING_AZ_ELEV               /* FhG:  Avoid rounding when passing azimuth and elevation to efap_determine_gains() */

// object-editing feature porting
@@ -161,6 +162,8 @@
#define RTP_S4_251135_CR26253_0016_REV1                /* RTP Pack/Unpack API corresponding to CR 26253 */
#define IVAS_RTPDUMP                                   /* RTPDUMP writing and reading for IVAS payloads */
#define FIXED_RTP_SEQUENCE_NUM                         /* Remove random sequence number initialization */
#define ISM_PI_DATA                                    /* Add reading and packing/unpacking of ISM PI data */
#define REVERSE_ISM_PI_DATA                            /* Add reading and packing/unpacking of reverse ISM PI data */
#define PI_LATENCY                                     /* Support for PI latency */

/* #################### End BASOP porting switches ############################ */
Loading