diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2019-11-12 07:55:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-12 07:55:25 +0100 |
| commit | ba4c808721592a8558686b518d12f36e0fe60957 (patch) | |
| tree | 90bfefa3d3b0d524c562b6280776807595a10400 /thirdparty/opus/celt/vq.h | |
| parent | 067c259ef139a1d60b64386ff596dfea690aa06d (diff) | |
| parent | e00426c512a7905f5f925d382c443bab7a0ca693 (diff) | |
| download | redot-engine-ba4c808721592a8558686b518d12f36e0fe60957.tar.gz | |
Merge pull request #33311 from SneakyFish5/update-opus
Update opus to 1.3.1 and opusfile to 0.11
Diffstat (limited to 'thirdparty/opus/celt/vq.h')
| -rw-r--r-- | thirdparty/opus/celt/vq.h | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/thirdparty/opus/celt/vq.h b/thirdparty/opus/celt/vq.h index 5cfcbe50ea..45ec55918e 100644 --- a/thirdparty/opus/celt/vq.h +++ b/thirdparty/opus/celt/vq.h @@ -37,10 +37,18 @@ #include "entdec.h" #include "modes.h" -#if defined(MIPSr1_ASM) -#include "mips/vq_mipsr1.h" +#if (defined(OPUS_X86_MAY_HAVE_SSE2) && !defined(FIXED_POINT)) +#include "x86/vq_sse.h" #endif +void exp_rotation(celt_norm *X, int len, int dir, int stride, int K, int spread); + +opus_val16 op_pvq_search_c(celt_norm *X, int *iy, int K, int N, int arch); + +#if !defined(OVERRIDE_OP_PVQ_SEARCH) +#define op_pvq_search(x, iy, K, N, arch) \ + (op_pvq_search_c(x, iy, K, N, arch)) +#endif /** Algebraic pulse-vector quantiser. The signal x is replaced by the sum of * the pitch and a combination of pulses such that its norm is still equal @@ -51,12 +59,8 @@ * @param enc Entropy encoder state * @ret A mask indicating which blocks in the band received pulses */ -unsigned alg_quant(celt_norm *X, int N, int K, int spread, int B, - ec_enc *enc -#ifdef RESYNTH - , opus_val16 gain -#endif - ); +unsigned alg_quant(celt_norm *X, int N, int K, int spread, int B, ec_enc *enc, + opus_val16 gain, int resynth, int arch); /** Algebraic pulse decoder * @param X Decoded normalised spectrum (returned) |
