FFmpeg
|
#include <swresample_internal.h>
Data Fields | |
DitherDSPContext | ddsp |
enum AVResampleDitherMethod | method |
int | apply_map |
ChannelMapInfo * | ch_map_info |
int | mute_dither_threshold |
int | mute_reset_threshold |
const float * | ns_coef_b |
const float * | ns_coef_a |
int | channels |
DitherState * | state |
AudioData * | flt_data |
AudioData * | s16_data |
AudioConvert * | ac_in |
AudioConvert * | ac_out |
void(* | quantize )(int16_t *dst, const float *src, float *dither, int len) |
int | samples_align |
enum SwrDitherType | method |
int | noise_pos |
float | scale |
float | noise_scale |
Noise scale. | |
int | ns_taps |
Noise shaping dither taps. | |
float | ns_scale |
Noise shaping dither scale. | |
float | ns_scale_1 |
Noise shaping dither scale^-1. | |
int | ns_pos |
Noise shaping dither position. | |
float | ns_coeffs [NS_TAPS] |
Noise shaping filter coefficients. | |
float | ns_errors [SWR_CH_MAX][2 *NS_TAPS] |
AudioData | noise |
noise used for dithering | |
AudioData | temp |
temporary storage when writing into the input buffer isnt possible | |
int | output_sample_bits |
the number of used output bits, needed to scale dither correctly | |
DitherDSPContext DitherContext::ddsp |
Definition at line 55 of file dither.c.
Referenced by ff_convert_dither(), ff_dither_alloc(), and generate_dither_noise().
enum AVResampleDitherMethod DitherContext::method |
Definition at line 56 of file dither.c.
Referenced by convert_samples(), ff_convert_dither(), ff_dither_alloc(), generate_dither_noise(), swr_convert_internal(), swr_init(), swri_dither_init(), and swri_get_dither().
int DitherContext::apply_map |
Definition at line 57 of file dither.c.
Referenced by ff_convert_dither(), and ff_dither_alloc().
ChannelMapInfo* DitherContext::ch_map_info |
Definition at line 58 of file dither.c.
Referenced by ff_convert_dither(), and ff_dither_alloc().
int DitherContext::mute_dither_threshold |
Definition at line 60 of file dither.c.
Referenced by ff_dither_alloc(), and quantize_triangular_ns().
int DitherContext::mute_reset_threshold |
Definition at line 61 of file dither.c.
Referenced by ff_dither_alloc(), and quantize_triangular_ns().
const float* DitherContext::ns_coef_b |
Definition at line 62 of file dither.c.
Referenced by ff_dither_alloc(), and quantize_triangular_ns().
const float* DitherContext::ns_coef_a |
Definition at line 63 of file dither.c.
Referenced by ff_dither_alloc(), and quantize_triangular_ns().
int DitherContext::channels |
Definition at line 65 of file dither.c.
Referenced by ff_dither_alloc(), and ff_dither_free().
DitherState* DitherContext::state |
Definition at line 66 of file dither.c.
Referenced by convert_samples(), ff_dither_alloc(), and ff_dither_free().
AudioData* DitherContext::flt_data |
Definition at line 68 of file dither.c.
Referenced by ff_convert_dither(), ff_dither_alloc(), and ff_dither_free().
AudioData* DitherContext::s16_data |
Definition at line 69 of file dither.c.
Referenced by ff_convert_dither(), ff_dither_alloc(), and ff_dither_free().
AudioConvert* DitherContext::ac_in |
Definition at line 70 of file dither.c.
Referenced by ff_convert_dither(), ff_dither_alloc(), and ff_dither_free().
AudioConvert* DitherContext::ac_out |
Definition at line 71 of file dither.c.
Referenced by ff_convert_dither(), ff_dither_alloc(), and ff_dither_free().
Definition at line 73 of file dither.c.
Referenced by convert_samples(), and ff_convert_dither().
int DitherContext::samples_align |
Definition at line 74 of file dither.c.
Referenced by convert_samples(), and ff_convert_dither().
enum SwrDitherType DitherContext::method |
Definition at line 54 of file swresample_internal.h.
int DitherContext::noise_pos |
Definition at line 55 of file swresample_internal.h.
Referenced by swr_convert_internal().
float DitherContext::scale |
Definition at line 56 of file swresample_internal.h.
Referenced by swri_dither_init().
float DitherContext::noise_scale |
Noise scale.
Definition at line 57 of file swresample_internal.h.
Referenced by swri_dither_init(), and swri_get_dither().
int DitherContext::ns_taps |
Noise shaping dither taps.
Definition at line 58 of file swresample_internal.h.
Referenced by swri_dither_init().
float DitherContext::ns_scale |
Noise shaping dither scale.
Definition at line 59 of file swresample_internal.h.
Referenced by swri_dither_init().
float DitherContext::ns_scale_1 |
Noise shaping dither scale^-1.
Definition at line 60 of file swresample_internal.h.
Referenced by swri_dither_init().
int DitherContext::ns_pos |
Noise shaping dither position.
Definition at line 61 of file swresample_internal.h.
Referenced by swri_dither_init().
float DitherContext::ns_coeffs[NS_TAPS] |
Noise shaping filter coefficients.
Definition at line 62 of file swresample_internal.h.
Referenced by swri_dither_init().
float DitherContext::ns_errors[SWR_CH_MAX][2 *NS_TAPS] |
Definition at line 63 of file swresample_internal.h.
Referenced by swri_dither_init().
AudioData DitherContext::noise |
noise used for dithering
Definition at line 64 of file swresample_internal.h.
Referenced by swr_convert_internal(), swr_free(), swr_init(), and swri_dither_init().
AudioData DitherContext::temp |
temporary storage when writing into the input buffer isnt possible
Definition at line 65 of file swresample_internal.h.
Referenced by swr_convert_internal(), swr_free(), swr_init(), and swri_dither_init().
int DitherContext::output_sample_bits |
the number of used output bits, needed to scale dither correctly
Definition at line 66 of file swresample_internal.h.
Referenced by swr_convert_internal(), and swri_dither_init().