RetroArch
Functions
lpc.h File Reference
#include "../private/cpu.h"
#include "../private/float.h"
#include "../FLAC/format.h"
Include dependency graph for lpc.h:
This graph shows which files directly or indirectly include this file:

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], 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[])
 
double FLAC__lpc_compute_expected_bits_per_residual_sample (double lpc_error, unsigned total_samples)
 
double FLAC__lpc_compute_expected_bits_per_residual_sample_with_error_scale (double lpc_error, double error_scale)
 
unsigned FLAC__lpc_compute_best_order (const 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 double  lpc_error[],
unsigned  max_order,
unsigned  total_samples,
unsigned  overhead_bits_per_order 
)
Here is the call graph for this function:

◆ FLAC__lpc_compute_expected_bits_per_residual_sample()

double FLAC__lpc_compute_expected_bits_per_residual_sample ( double  lpc_error,
unsigned  total_samples 
)
Here is the call graph for this function:

◆ FLAC__lpc_compute_expected_bits_per_residual_sample_with_error_scale()

double FLAC__lpc_compute_expected_bits_per_residual_sample_with_error_scale ( double  lpc_error,
double  error_scale 
)
Here is the caller graph for this function:

◆ 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],
double  error[] 
)
Here is the call graph for this function:

◆ 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 
)
Here is the call graph for this function:

◆ 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[] 
)
Here is the caller graph for this function:

◆ 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[] 
)
Here is the caller graph for this function:

◆ FLAC__lpc_window_data()

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