FFmpeg
Functions
adx.c File Reference
#include "libavutil/common.h"
#include "libavutil/mathematics.h"
#include "adx.h"

Go to the source code of this file.

Functions

void ff_adx_calculate_coeffs (int cutoff, int sample_rate, int bits, int *coeff)
 Calculate LPC coefficients based on cutoff frequency and sample rate. More...
 

Function Documentation

◆ ff_adx_calculate_coeffs()

void ff_adx_calculate_coeffs ( int  cutoff,
int  sample_rate,
int  bits,
int coeff 
)

Calculate LPC coefficients based on cutoff frequency and sample rate.

Parameters
cutoffcutoff frequency
sample_ratesample rate
bitsnumber of bits used to quantize coefficients
[out]coeff2 quantized LPC coefficients

Definition at line 25 of file adx.c.

Referenced by adx_decode_header(), and adx_encode_init().