Commit 225019b3 authored by TYAGIRIS's avatar TYAGIRIS
Browse files

linux compilation fixes

parent 1f3d8a7b
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -5961,7 +5961,7 @@ void modify_Quat_q_fx(
);

void modify_Rmat_q_fx(
    const Word32 Rmat_in[MAX_PARAM_SPATIAL_SUBFRAMES][3][3], /* i  : real-space rotation matrix for this rotation  */
    Word32 Rmat_in[MAX_PARAM_SPATIAL_SUBFRAMES][3][3],  /* i  : real-space rotation matrix for this rotation  */
    Word32 Rmat_out[MAX_PARAM_SPATIAL_SUBFRAMES][3][3], /* o  : real-space rotation matrix for this rotation*/
    Word16 num_subframes,
    Word16 q_cur, /* i  : current q factor for rotation  matrix            */
+2 −2
Original line number Diff line number Diff line
@@ -130,7 +130,7 @@ void modify_Quat_q_fx(
 * Rotation matrix q factor modification
 *------------------------------------------------------------------------*/
void modify_Rmat_q_fx(
    const Word32 Rmat_in[MAX_PARAM_SPATIAL_SUBFRAMES][3][3], /* i  : real-space rotation matrix for this rotation  */
    Word32 Rmat_in[MAX_PARAM_SPATIAL_SUBFRAMES][3][3],  /* i  : real-space rotation matrix for this rotation  */
    Word32 Rmat_out[MAX_PARAM_SPATIAL_SUBFRAMES][3][3], /* o  : real-space rotation matrix for this rotation*/
    Word16 num_subframes,
    Word16 q_cur, /* i  : current q factor for rotation  matrix            */
+1 −1
Original line number Diff line number Diff line
@@ -147,7 +147,7 @@ ivas_error IVAS_DEC_GetSamples(
#ifdef SPLIT_REND_WITH_HEAD_ROT
ivas_error IVAS_DEC_GetSplitBinauralBitstream(
    IVAS_DEC_HANDLE hIvasDec,                   /* i/o: IVAS decoder handle                                                     */
    void *pcmBuf_out,                           /* o  : output synthesis signal for BINAURAL_SPLIT_PCM                          */
    Word16 *pcmBuf_out,                           /* o  : output synthesis signal for BINAURAL_SPLIT_PCM                          */
    ISAR_SPLIT_REND_BITS_DATA *splitRendBits,   /* o  : output split rendering bits                                             */
    Word16 *nOutSamples,                       /* o  : number of samples per channel written to output buffer                  */
    bool *needNewFrame                          /* o  : indication that the decoder needs a new frame                           */
+2 −0
Original line number Diff line number Diff line
@@ -757,4 +757,6 @@ extern int fix_empty_translation_unit_warning;
#define get_size_mpvq_calc_offset_fx  get_size_mpvq_calc_offset_fx_lc3plus
#endif

#define FIX_IVAS_LC3PLUS_WARNINGS

#endif
+2 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
    if (cond)                                                                                                          \
    return (error)

#ifndef FIX_IVAS_LC3PLUS_WARNINGS
#ifdef SUBSET_NB
#pragma message("- SUBSET_NB")
#endif
@@ -35,6 +36,7 @@
#ifdef SUBSET_UB
#pragma message("- SUBSET_UB")
#endif
#endif

/* ensure api header constants are up to date */
STATIC_ASSERT(LC3PLUS_MAX_SAMPLES >= MAX_LEN);