FFmpeg
Data Fields
DitherContext Struct Reference

#include <swresample_internal.h>

Data Fields

int method
 
int noise_pos
 
float scale
 
float noise_scale
 Noise scale. More...
 
int ns_taps
 Noise shaping dither taps. More...
 
float ns_scale
 Noise shaping dither scale. More...
 
float ns_scale_1
 Noise shaping dither scale^-1. More...
 
int ns_pos
 Noise shaping dither position. More...
 
float ns_coeffs [NS_TAPS]
 Noise shaping filter coefficients. More...
 
float ns_errors [SWR_CH_MAX][2 *NS_TAPS]
 
AudioData noise
 noise used for dithering More...
 
AudioData temp
 temporary storage when writing into the input buffer isn't possible More...
 
int output_sample_bits
 the number of used output bits, needed to scale dither correctly More...
 

Detailed Description

Definition at line 55 of file swresample_internal.h.

Field Documentation

◆ method

int DitherContext::method

Definition at line 56 of file swresample_internal.h.

◆ noise_pos

int DitherContext::noise_pos

Definition at line 57 of file swresample_internal.h.

◆ scale

float DitherContext::scale

Definition at line 58 of file swresample_internal.h.

◆ noise_scale

float DitherContext::noise_scale

Noise scale.

Definition at line 59 of file swresample_internal.h.

◆ ns_taps

int DitherContext::ns_taps

Noise shaping dither taps.

Definition at line 60 of file swresample_internal.h.

◆ ns_scale

float DitherContext::ns_scale

Noise shaping dither scale.

Definition at line 61 of file swresample_internal.h.

◆ ns_scale_1

float DitherContext::ns_scale_1

Noise shaping dither scale^-1.

Definition at line 62 of file swresample_internal.h.

◆ ns_pos

int DitherContext::ns_pos

Noise shaping dither position.

Definition at line 63 of file swresample_internal.h.

◆ ns_coeffs

float DitherContext::ns_coeffs[NS_TAPS]

Noise shaping filter coefficients.

Definition at line 64 of file swresample_internal.h.

◆ ns_errors

float DitherContext::ns_errors[SWR_CH_MAX][2 *NS_TAPS]

Definition at line 65 of file swresample_internal.h.

◆ noise

AudioData DitherContext::noise

noise used for dithering

Definition at line 66 of file swresample_internal.h.

◆ temp

AudioData DitherContext::temp

temporary storage when writing into the input buffer isn't possible

Definition at line 67 of file swresample_internal.h.

◆ output_sample_bits

int DitherContext::output_sample_bits

the number of used output bits, needed to scale dither correctly

Definition at line 68 of file swresample_internal.h.


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