FFmpeg
Data Fields
DitherContext Struct Reference

#include <swresample_internal.h>

Data Fields

 
 
 
 
 
 
const float *  ns_coef_b
 
const float *  ns_coef_a
 
 
 
 
 
 
 
void(*  quantize )(int16_t *dst, const float *src, float *dither, int len)
 
 
 
 
float  scale
 
float  noise_scale
  Noise scale. More...
 
  Noise shaping dither taps. More...
 
float  ns_scale
  Noise shaping dither scale. More...
 
float  ns_scale_1
  Noise shaping dither scale^-1. More...
 
  Noise shaping dither position. More...
 
float  ns_coeffs [NS_TAPS]
  Noise shaping filter coefficients. More...
 
 
  noise used for dithering More...
 
  temporary storage when writing into the input buffer isn't possible More...
 
  the number of used output bits, needed to scale dither correctly More...
 

Detailed Description

Definition at line 54 of file dither.c.

Field Documentation

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().

void(* DitherContext::quantize)(int16_t *dst, const float *src, float *dither, int len)

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().

int DitherContext::method

Definition at line 56 of file swresample_internal.h.

int DitherContext::noise_pos

Definition at line 57 of file swresample_internal.h.

Referenced by swr_convert_internal().

float DitherContext::scale

Definition at line 58 of file swresample_internal.h.

Referenced by swri_dither_init().

float DitherContext::noise_scale

Noise scale.

Definition at line 59 of file swresample_internal.h.

Referenced by swr_init(), swri_dither_init(), and swri_get_dither().

int DitherContext::ns_taps

Noise shaping dither taps.

Definition at line 60 of file swresample_internal.h.

Referenced by swri_dither_init().

float DitherContext::ns_scale

Noise shaping dither scale.

Definition at line 61 of file swresample_internal.h.

Referenced by swri_dither_init().

float DitherContext::ns_scale_1

Noise shaping dither scale^-1.

Definition at line 62 of file swresample_internal.h.

Referenced by swri_dither_init().

int DitherContext::ns_pos

Noise shaping dither position.

Definition at line 63 of file swresample_internal.h.

Referenced by swri_dither_init().

float DitherContext::ns_coeffs[NS_TAPS]

Noise shaping filter coefficients.

Definition at line 64 of file swresample_internal.h.

Referenced by swri_dither_init().

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

Definition at line 65 of file swresample_internal.h.

Referenced by swri_dither_init().

AudioData DitherContext::noise

noise used for dithering

Definition at line 66 of file swresample_internal.h.

Referenced by clear_context(), swr_convert_internal(), and swr_init().

AudioData DitherContext::temp

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

Definition at line 67 of file swresample_internal.h.

Referenced by clear_context(), swr_convert_internal(), and swr_init().

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.

Referenced by swr_convert_internal(), and swri_dither_init().


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

Generated on Fri Jan 12 2018 01:46:24 for FFmpeg by   doxygen 1.8.6

AltStyle によって変換されたページ (->オリジナル) /