LMMS
Loading...
Searching...
No Matches
lpc.h File Reference
#include "cpu.h"
#include "float.h"
#include "../../../format.h"

Go to the source code of this file.

Functions

void FLAC__lpc_window_data (const FLAC__int32 in[], const FLAC__real window[], FLAC__real out[], unsigned data_len)
void FLAC__lpc_compute_autocorrelation (const FLAC__real data[], unsigned data_len, unsigned lag, FLAC__real autoc[])
void FLAC__lpc_compute_lp_coefficients (const FLAC__real autoc[], unsigned *max_order, FLAC__real lp_coeff[][FLAC__MAX_LPC_ORDER], FLAC__double error[])
int FLAC__lpc_quantize_coefficients (const FLAC__real lp_coeff[], unsigned order, unsigned precision, FLAC__int32 qlp_coeff[], int *shift)
void FLAC__lpc_compute_residual_from_qlp_coefficients (const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[])
void FLAC__lpc_compute_residual_from_qlp_coefficients_wide (const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[])
void FLAC__lpc_restore_signal (const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 data[])
void FLAC__lpc_restore_signal_wide (const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 data[])
FLAC__double FLAC__lpc_compute_expected_bits_per_residual_sample (FLAC__double lpc_error, unsigned total_samples)
FLAC__double FLAC__lpc_compute_expected_bits_per_residual_sample_with_error_scale (FLAC__double lpc_error, FLAC__double error_scale)
unsigned FLAC__lpc_compute_best_order (const FLAC__double lpc_error[], unsigned max_order, unsigned total_samples, unsigned overhead_bits_per_order)

Function Documentation

◆ FLAC__lpc_compute_autocorrelation()

void FLAC__lpc_compute_autocorrelation ( const FLAC__real data[],
unsigned data_len,
unsigned lag,
FLAC__real autoc[] )

◆ FLAC__lpc_compute_best_order()

unsigned FLAC__lpc_compute_best_order ( const FLAC__double lpc_error[],
unsigned max_order,
unsigned total_samples,
unsigned overhead_bits_per_order )

◆ FLAC__lpc_compute_expected_bits_per_residual_sample()

FLAC__double FLAC__lpc_compute_expected_bits_per_residual_sample ( FLAC__double lpc_error,
unsigned total_samples )

◆ FLAC__lpc_compute_expected_bits_per_residual_sample_with_error_scale()

FLAC__double FLAC__lpc_compute_expected_bits_per_residual_sample_with_error_scale ( FLAC__double lpc_error,
FLAC__double error_scale )

◆ FLAC__lpc_compute_lp_coefficients()

void FLAC__lpc_compute_lp_coefficients ( const FLAC__real autoc[],
unsigned * max_order,
FLAC__real lp_coeff[][FLAC__MAX_LPC_ORDER],
FLAC__double error[] )

◆ FLAC__lpc_compute_residual_from_qlp_coefficients()

void FLAC__lpc_compute_residual_from_qlp_coefficients ( const FLAC__int32 * data,
unsigned data_len,
const FLAC__int32 qlp_coeff[],
unsigned order,
int lp_quantization,
FLAC__int32 residual[] )

◆ FLAC__lpc_compute_residual_from_qlp_coefficients_wide()

void FLAC__lpc_compute_residual_from_qlp_coefficients_wide ( const FLAC__int32 * data,
unsigned data_len,
const FLAC__int32 qlp_coeff[],
unsigned order,
int lp_quantization,
FLAC__int32 residual[] )

◆ FLAC__lpc_quantize_coefficients()

int FLAC__lpc_quantize_coefficients ( const FLAC__real lp_coeff[],
unsigned order,
unsigned precision,
FLAC__int32 qlp_coeff[],
int * shift )

◆ FLAC__lpc_restore_signal()

void FLAC__lpc_restore_signal ( const FLAC__int32 residual[],
unsigned data_len,
const FLAC__int32 qlp_coeff[],
unsigned order,
int lp_quantization,
FLAC__int32 data[] )

◆ FLAC__lpc_restore_signal_wide()

void FLAC__lpc_restore_signal_wide ( const FLAC__int32 residual[],
unsigned data_len,
const FLAC__int32 qlp_coeff[],
unsigned order,
int lp_quantization,
FLAC__int32 data[] )

◆ FLAC__lpc_window_data()

void FLAC__lpc_window_data ( const FLAC__int32 in[],
const FLAC__real window[],
FLAC__real out[],
unsigned data_len )