Skip to content
GitLab
Explore
Sign in
Commits on Source (8)
Fix for issue 560 added
· f59a6fc0
janssonfr
authored
Jun 15, 2023
f59a6fc0
merged with main
· c4fcf91d
janssonfr
authored
Jun 16, 2023
c4fcf91d
Compiler warning fixed
· a4a64ba0
janssonfr
authored
Jun 19, 2023
a4a64ba0
Merge branch 'main' into 560-front-vad-impact-on-core-encoding
· 74cd1a8c
janssonfr
authored
Jun 19, 2023
74cd1a8c
Merge branch 'main' into 560-front-vad-impact-on-core-encoding
· 247ef16a
janssonfr
authored
Jun 20, 2023
247ef16a
Merge branch 'main' into 560-front-vad-impact-on-core-encoding
· dd4869cb
janssonfr
authored
Jun 21, 2023
dd4869cb
Merge branch 'main' into 560-front-vad-impact-on-core-encoding
· bb5d9959
janssonfr
authored
Jun 21, 2023
bb5d9959
Merge branch '560-front-vad-impact-on-core-encoding' into 'main'
· 7a8f63bd
janssonfr
authored
Jun 21, 2023
[non-BE] Resolve "Front VAD impact on core encoding" See merge request
!765
7a8f63bd
Show whitespace changes
Inline
Side-by-side
lib_com/options.h
View file @
7a8f63bd
...
...
@@ -158,6 +158,8 @@
#define FIX_557_CRASH_IN_ISM_DTX
/* VA issue 557: fix crash in 1ISM 48 kbps DTX */
#define FIX_563_PARAMMC_LIMITER
/* FhG: issue 563: fix ILD limiter when coming from silence w/o transient set */
#define FIX_560_VAD_FLAG
/* Eri: Issue 560 - VAD flag issue for unified stereo */
#define IGF_TUNING_96
/* FhG: Issue 546: slight tuning of IGF config used in 96 kbps stereo, 128 kbps SBA and others */
#define FIX_549_DMX_GAIN
/* FhG: issue 549: ParamISM output too quiet */
#define FIX_522_ISM_FIRST_SID
/* VA: fix ISM decoder crash if first received frame is an SID */
...
...
lib_enc/ivas_core_pre_proc_front.c
View file @
7a8f63bd
...
...
@@ -163,7 +163,9 @@ ivas_error pre_proc_front_ivas(
float
temp1F_icatdmResampBuf
[
L_FILT_MAX
];
/* temp buffers for ICA TDM resamplers */
int16_t
old_pitch1
;
/* previous frame OL pitch[1] @12.8 kHz */
int16_t
LR_localVAD
;
#ifndef FIX_560_VAD_FLAG
int16_t
LR_vad_flag
;
#endif
ivas_error
error
;
push_wmops
(
"pre_proc_front"
);
...
...
@@ -180,7 +182,9 @@ ivas_error pre_proc_front_ivas(
res_cod_SNR_M
=
tmpF
;
LR_localVAD
=
0
;
#ifndef FIX_560_VAD_FLAG
LR_vad_flag
=
0
;
#endif
if
(
hSCE
!=
NULL
)
{
...
...
@@ -208,7 +212,9 @@ ivas_error pre_proc_front_ivas(
{
/* Combine localVAD and vad_flag from LR processing */
LR_localVAD
=
hCPE
->
hCoreCoder
[
0
]
->
localVAD
||
hCPE
->
hCoreCoder
[
1
]
->
localVAD
;
#ifndef FIX_560_VAD_FLAG
LR_vad_flag
=
hCPE
->
hFrontVad
[
0
]
->
hVAD
->
vad_flag
||
hCPE
->
hFrontVad
[
1
]
->
hVAD
->
vad_flag
;
#endif
}
if
(
hCPE
->
hStereoTD
!=
NULL
)
...
...
@@ -462,8 +468,10 @@ ivas_error pre_proc_front_ivas(
/* Add down mix stereo activity to LR vad_flag_dtx */
*
vad_flag_dtx
=
*
vad_flag_dtx
||
st
->
vad_flag
;
#ifndef FIX_560_VAD_FLAG
/* Combine the LR VAD flag and stereo downmix VAD flag */
st
->
vad_flag
=
(
LR_vad_flag
||
st
->
vad_flag
);
#endif
/* Determine hangover flag status based on LR localVAD and downmix localVAD */
*
vad_hover_flag
=
*
vad_flag_dtx
&&
!
(
LR_localVAD
||
st
->
localVAD
);
...
...