Commit a8c40bdb authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

[fix] instrumented build due to undefined value

parent 9a4189b4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1226,7 +1226,7 @@ int main(
        bitsBufferSize = ( bitsBufferSize + 7 ) >> 3;
#endif
#ifdef SPLIT_REND_LC3PLUS_HBR_DBG
        bitsBufferSize = ( SPLIT_REND_LC3PLUS_HBR_DBG * 7 /* Max head poses */ * 2 /* Ech pose is 2 channels */ + 256000 /* Max metadata bitrate */ ) / FRAMES_PER_SEC / 8;
        bitsBufferSize = ( SPLIT_REND_LC3PLUS_HBR * 7 /* Max head poses */ * 2 /* Ech pose is 2 channels */ + 256000 /* Max metadata bitrate */ ) / FRAMES_PER_SEC / 8;
#endif
    }
    else
+3 −0
Original line number Diff line number Diff line
@@ -1741,6 +1741,9 @@ typedef enum
#define SPLIT_REND_512k                               512000
#define SPLIT_REND_768k                               768000
#define SPLIT_REND_MAX_BRATE                          SPLIT_REND_768k        
#ifdef SPLIT_REND_LC3PLUS
#define SPLIT_REND_LC3PLUS_HBR                        128000    /* bitrate per LC3plus core */
#endif

#ifdef SPLIT_REND_CLDFB_HUFF_SAN_FIX
#define SPLIT_REND_ADDITIONAL_BYTES_TO_READ ( 1 )
+1 −1
Original line number Diff line number Diff line
@@ -213,7 +213,7 @@
#define SPLIT_REND_LC3PLUS                              /* FhG: split rendering using LC3plus codec */
#define SPLIT_REND_TD_POSE_CORRECTION                   /* FhG: split rendering using LC3plus codec and time-domain pose correction */
#define FIX_SPLIT_REND_OPEN_ERROR_HANDLING              /* adds missing error handling around ivas_split_renderer_open calls  */
#define SPLIT_REND_LC3PLUS_HBR_DBG ( 128000 ) /* Bitrate per LC3 core */
#define SPLIT_REND_LC3PLUS_HBR_DBG                      /* Override bitrate per LC3 core */
#endif

#define RENAME_GWLPR                                    /* FhG: Rename clashing symbol */
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ ivas_error IVAS_LC3PLUS_ENC_Open(
#ifdef SPLIT_REND_LC3PLUS_HBR_DBG
    if ( bitsPerSecond == (uint32_t) -1 )
    {
        bitsPerSecondPerChannel = SPLIT_REND_LC3PLUS_HBR_DBG;
        bitsPerSecondPerChannel = SPLIT_REND_LC3PLUS_HBR;
    }
#endif

+1 −1
Original line number Diff line number Diff line
@@ -7150,7 +7150,7 @@ static ivas_error splitBinLc3plusDecode(
#ifdef SPLIT_REND_LC3PLUS_HBR_DBG
    if ( lc3plusBitstreamSize == -1 )
    {
        lc3plusBitstreamSize = hSplitBin->hLc3plusDec->num_decs * SPLIT_REND_LC3PLUS_HBR_DBG / FRAMES_PER_SECOND / 8;
        lc3plusBitstreamSize = hSplitBin->hLc3plusDec->num_decs * SPLIT_REND_LC3PLUS_HBR / FRAMES_PER_SECOND / 8;
    }
#endif