Commit 26be296b authored by TYAGIRIS's avatar TYAGIRIS
Browse files

fix remaining comments

parent f407f98d
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -277,7 +277,7 @@ typedef struct _ISAR_SPLIT_REND_CONFIG
                              2 - (2dof correction. By default YAW and PITCH correction)
                              3 - (3dof correction. By default YAW, PITCH and ROLL correction)
                              */
    int16_t codec_delay_ms;   /*PLACEHOLDER (currently being ignored) : look ahead delay of the codec that is used to code BIN signal output of pre-renderer*/
    int16_t codec_delay_ms;   /* look ahead delay of the codec that is used to code BIN signal output of pre-renderer*/
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    int16_t isar_frame_size_ms; /* ISAR bit stream frame size in milliseconds */
#endif
+3 −17
Original line number Diff line number Diff line
@@ -2151,23 +2151,9 @@ static ivas_error copyRendererConfigStruct(
    mvr2r( hRCin->directivity, hRCout->directivity, 3 * MAX_NUM_OBJECTS );

#ifdef SPLIT_REND_WITH_HEAD_ROT
    /* TODO: This seems wrong. Why set default instead of copying from hRCin?
     * Currently seems to work because we only ever copy from a default-initialized handle anyway */
    hRCout->split_rend_config.splitRendBitRate = ISAR_MAX_SPLIT_REND_BITRATE;
    hRCout->split_rend_config.dof = 3;
    hRCout->split_rend_config.hq_mode = 0;
    hRCout->split_rend_config.codec_delay_ms = 0;
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    hRCout->split_rend_config.isar_frame_size_ms = 20;
#endif
    hRCout->split_rend_config.codec_frame_size_ms = 0; /* 0 means "use default for selected codec" */
    hRCout->split_rend_config.codec = ISAR_SPLIT_REND_CODEC_DEFAULT;
    hRCout->split_rend_config.poseCorrectionMode = ISAR_SPLIT_REND_POSE_CORRECTION_MODE_CLDFB;
    hRCout->split_rend_config.rendererSelection = hRCin->split_rend_config.rendererSelection;
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    hRCout->split_rend_config.lc3plus_highres = hRCin->split_rend_config.lc3plus_highres;
#endif
    hRCout->split_rend_config = hRCin->split_rend_config;
#endif

    hRCout->roomAcoustics.use_er = hRCin->roomAcoustics.use_er;
    hRCout->roomAcoustics.lowComplexity = hRCin->roomAcoustics.lowComplexity;

@@ -4232,7 +4218,7 @@ static ivas_error ivas_dec_reconfig_split_rend(

    if ( ( st_ivas->renderer_type != RENDERER_BINAURAL_OBJECTS_TD ) &&
         ( st_ivas->renderer_type != RENDERER_BINAURAL_FASTCONV || st_ivas->ivas_format != SBA_ISM_FORMAT ) &&
         !( st_ivas->renderer_type == RENDERER_BINAURAL_PARAMETRIC && st_ivas->ivas_format == MASA_ISM_FORMAT && st_ivas->ism_mode == ISM_MASA_MODE_DISC ) ) /* td-rend not needed? */
         !( st_ivas->renderer_type == RENDERER_BINAURAL_PARAMETRIC && st_ivas->ivas_format == MASA_ISM_FORMAT && st_ivas->ism_mode == ISM_MASA_MODE_DISC ) )
    {
        for ( i = 0; i < MAX_HEAD_ROT_POSES - 1; ++i )
        {
+0 −1
Original line number Diff line number Diff line
@@ -1308,7 +1308,6 @@ static void InvMSCoding(
}


/* Currently only the number of bands in frame */
static int32_t ReadHeaderInformation(
    int32_t *piNumBands,
    ISAR_SPLIT_REND_BITS_HANDLE pBits )