FFmpeg
Data Fields
ACELPFContext Struct Reference

#include <acelp_filters.h>

Data Fields

void(* acelp_interpolatef )(float *out, const float *in, const float *filter_coeffs, int precision, int frac_pos, int filter_length, int length)
 Floating point version of ff_acelp_interpolate() More...
 
void(* acelp_apply_order_2_transfer_function )(float *out, const float *in, const float zero_coeffs[2], const float pole_coeffs[2], float gain, float mem[2], int n)
 Apply an order 2 rational transfer function in-place. More...
 

Detailed Description

Definition at line 28 of file acelp_filters.h.

Field Documentation

◆ acelp_interpolatef

void(* ACELPFContext::acelp_interpolatef) (float *out, const float *in, const float *filter_coeffs, int precision, int frac_pos, int filter_length, int length)

Floating point version of ff_acelp_interpolate()

Definition at line 32 of file acelp_filters.h.

Referenced by decode_pitch_vector().

◆ acelp_apply_order_2_transfer_function

void(* ACELPFContext::acelp_apply_order_2_transfer_function) (float *out, const float *in, const float zero_coeffs[2], const float pole_coeffs[2], float gain, float mem[2], int n)

Apply an order 2 rational transfer function in-place.

Parameters
outoutput buffer for filtered speech samples
ininput buffer containing speech data (may be the same as out)
zero_coeffsz^-1 and z^-2 coefficients of the numerator
pole_coeffsz^-1 and z^-2 coefficients of the denominator
gainscale factor for final output
memintermediate values used by filter (should be 0 initially)
nnumber of samples (should be a multiple of eight)

Definition at line 47 of file acelp_filters.h.

Referenced by amrnb_decode_frame().


The documentation for this struct was generated from the following file: