summaryrefslogtreecommitdiff
path: root/src/libFLAC/include/private/lpc.h
diff options
context:
space:
mode:
authorMartijn van Beurden <mvanb1@gmail.com>2022-04-04 20:21:41 +0200
committerMartijn van Beurden <mvanb1@gmail.com>2022-06-12 18:38:21 +0200
commit0fe187b54511b575892fb38e01d8e2ab809fb0fe (patch)
treec62147020a216f8714a77b7aa1f9adf4b6c320cb /src/libFLAC/include/private/lpc.h
parent9df24ac202149214a170e105604a35e04e65be15 (diff)
downloadflac-0fe187b54511b575892fb38e01d8e2ab809fb0fe.tar.gz
Add 32-bit encoding, including limiting of residual to 32-bit int
Diffstat (limited to 'src/libFLAC/include/private/lpc.h')
-rw-r--r--src/libFLAC/include/private/lpc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libFLAC/include/private/lpc.h b/src/libFLAC/include/private/lpc.h
index 318666aa..99f62de8 100644
--- a/src/libFLAC/include/private/lpc.h
+++ b/src/libFLAC/include/private/lpc.h
@@ -55,6 +55,7 @@
* IN data_len
*/
void FLAC__lpc_window_data(const FLAC__int32 in[], const FLAC__real window[], FLAC__real out[], uint32_t data_len);
+void FLAC__lpc_window_data_wide(const FLAC__int64 in[], const FLAC__real window[], FLAC__real out[], uint32_t data_len);
/*
* FLAC__lpc_compute_autocorrelation()
@@ -156,7 +157,8 @@ int FLAC__lpc_quantize_coefficients(const FLAC__real lp_coeff[], uint32_t order,
*/
void FLAC__lpc_compute_residual_from_qlp_coefficients(const FLAC__int32 *data, uint32_t data_len, const FLAC__int32 qlp_coeff[], uint32_t order, int lp_quantization, FLAC__int32 residual[]);
void FLAC__lpc_compute_residual_from_qlp_coefficients_wide(const FLAC__int32 *data, uint32_t data_len, const FLAC__int32 qlp_coeff[], uint32_t order, int lp_quantization, FLAC__int32 residual[]);
-
+FLAC__bool FLAC__lpc_compute_residual_from_qlp_coefficients_limit_residual(const FLAC__int32 *data, uint32_t data_len, const FLAC__int32 qlp_coeff[], uint32_t order, int lp_quantization, FLAC__int32 residual[]);
+FLAC__bool FLAC__lpc_compute_residual_from_qlp_coefficients_limit_residual_33bit(const FLAC__int64 *data, uint32_t data_len, const FLAC__int32 qlp_coeff[], uint32_t order, int lp_quantization, FLAC__int32 residual[]);
#ifndef FLAC__NO_ASM
# ifdef FLAC__CPU_ARM64
void FLAC__lpc_compute_residual_from_qlp_coefficients_intrin_neon(const FLAC__int32 *data, uint32_t data_len, const FLAC__int32 qlp_coeff[], uint32_t order, int lp_quantization, FLAC__int32 residual[]);