зеркало из https://github.com/mozilla/gecko-dev.git
Bug 945419 - Fix fixed-point opus stereo encode regression. r=jmspeex.
This commit is contained in:
Родитель
53ee519e08
Коммит
202355538c
|
@ -8,4 +8,4 @@ files after the copy step.
|
||||||
|
|
||||||
The upstream repository is https://git.xiph.org/opus.git
|
The upstream repository is https://git.xiph.org/opus.git
|
||||||
|
|
||||||
The git tag/revision used was v1.1-rc2-1-g35a44c6.
|
The git tag/revision used was v1.1-rc2-2-g086ea7c.
|
||||||
|
|
|
@ -1816,7 +1816,7 @@ int celt_encode_with_ec(CELTEncoder * OPUS_RESTRICT st, const opus_val16 * pcm,
|
||||||
if (LM!=0)
|
if (LM!=0)
|
||||||
dual_stereo = stereo_analysis(mode, X, LM, N);
|
dual_stereo = stereo_analysis(mode, X, LM, N);
|
||||||
|
|
||||||
st->intensity = hysteresis_decision((opus_val16)equiv_rate/1000,
|
st->intensity = hysteresis_decision((opus_val16)(equiv_rate/1000),
|
||||||
intensity_thresholds, intensity_histeresis, 21, st->intensity);
|
intensity_thresholds, intensity_histeresis, 21, st->intensity);
|
||||||
st->intensity = IMIN(st->end,IMAX(st->start, st->intensity));
|
st->intensity = IMIN(st->end,IMAX(st->start, st->intensity));
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@ MSVC_ENABLE_PGO = True
|
||||||
FINAL_LIBRARY = 'gkmedias'
|
FINAL_LIBRARY = 'gkmedias'
|
||||||
|
|
||||||
DEFINES['OPUS_BUILD'] = True
|
DEFINES['OPUS_BUILD'] = True
|
||||||
DEFINES['OPUS_VERSION'] = '"v1.1-rc2-1-g35a44c6-mozilla"'
|
DEFINES['OPUS_VERSION'] = '"v1.1-rc2-2-g086ea7c-mozilla"'
|
||||||
DEFINES['USE_ALLOCA'] = True
|
DEFINES['USE_ALLOCA'] = True
|
||||||
|
|
||||||
if CONFIG['OS_ARCH'] in ('Linux', 'Darwin', 'DragonFly', 'FreeBSD',
|
if CONFIG['OS_ARCH'] in ('Linux', 'Darwin', 'DragonFly', 'FreeBSD',
|
||||||
|
|
Загрузка…
Ссылка в новой задаче