Loading lib_com/ivas_cnst.h +1 −1 Original line number Diff line number Diff line Loading @@ -338,7 +338,7 @@ typedef enum #define ISM_AZIMUTH_NBITS 7 #ifdef FIX_2570_BUF_OVFL #define ISM_AZIMUTH_MIN_NON_DIEGETIC_FX 32 /* 90.0f in ism metadata */ #define ISM_AZIMUTH_MIN_NON_DIEGETIC_FX 32 /* -90.0f in ism metadata */ #define ISM_AZIMUTH_ZERO_NON_DIEGETIC_FX 64 /* 0.0f in ism metadata */ #define ISM_AZIMUTH_MAX_NON_DIEGETIC_FX 96 /* 90.0f in ism metadata */ #endif Loading lib_dec/ivas_ism_metadata_dec_fx.c +2 −2 Original line number Diff line number Diff line Loading @@ -1038,11 +1038,11 @@ static void decode_angle_indices_fx( /* azimuth/yaw is on a circle - check for diff coding for -90 -> 90 and vice versa changes */ IF( GT_16( idx_angle1, ISM_AZIMUTH_MAX_NON_DIEGETIC_FX ) ) { idx_angle1 = ISM_AZIMUTH_MIN_NON_DIEGETIC_FX; idx_angle1 = ISM_AZIMUTH_ZERO_NON_DIEGETIC_FX; } ELSE IF( LE_16( idx_angle1, ISM_AZIMUTH_MIN_NON_DIEGETIC_FX ) ) { idx_angle1 = ISM_AZIMUTH_MIN_NON_DIEGETIC_FX; idx_angle1 = ISM_AZIMUTH_ZERO_NON_DIEGETIC_FX; } #endif idx_angle2 = angle->last_angle2_idx; /* second MD parameter is not transmitted for non-diegetic object */ Loading Loading
lib_com/ivas_cnst.h +1 −1 Original line number Diff line number Diff line Loading @@ -338,7 +338,7 @@ typedef enum #define ISM_AZIMUTH_NBITS 7 #ifdef FIX_2570_BUF_OVFL #define ISM_AZIMUTH_MIN_NON_DIEGETIC_FX 32 /* 90.0f in ism metadata */ #define ISM_AZIMUTH_MIN_NON_DIEGETIC_FX 32 /* -90.0f in ism metadata */ #define ISM_AZIMUTH_ZERO_NON_DIEGETIC_FX 64 /* 0.0f in ism metadata */ #define ISM_AZIMUTH_MAX_NON_DIEGETIC_FX 96 /* 90.0f in ism metadata */ #endif Loading
lib_dec/ivas_ism_metadata_dec_fx.c +2 −2 Original line number Diff line number Diff line Loading @@ -1038,11 +1038,11 @@ static void decode_angle_indices_fx( /* azimuth/yaw is on a circle - check for diff coding for -90 -> 90 and vice versa changes */ IF( GT_16( idx_angle1, ISM_AZIMUTH_MAX_NON_DIEGETIC_FX ) ) { idx_angle1 = ISM_AZIMUTH_MIN_NON_DIEGETIC_FX; idx_angle1 = ISM_AZIMUTH_ZERO_NON_DIEGETIC_FX; } ELSE IF( LE_16( idx_angle1, ISM_AZIMUTH_MIN_NON_DIEGETIC_FX ) ) { idx_angle1 = ISM_AZIMUTH_MIN_NON_DIEGETIC_FX; idx_angle1 = ISM_AZIMUTH_ZERO_NON_DIEGETIC_FX; } #endif idx_angle2 = angle->last_angle2_idx; /* second MD parameter is not transmitted for non-diegetic object */ Loading