• Home
  • Raw
  • Download

Lines Matching defs:AVAudioResampleContext

53 struct AVAudioResampleContext {  struct
54 const AVClass *av_class; /**< AVClass for logging and AVOptions */
56 uint64_t in_channel_layout; /**< input channel layout */
57 enum AVSampleFormat in_sample_fmt; /**< input sample format */
58 int in_sample_rate; /**< input sample rate */
59 uint64_t out_channel_layout; /**< output channel layout */
60 enum AVSampleFormat out_sample_fmt; /**< output sample format */
61 int out_sample_rate; /**< output sample rate */
62 enum AVSampleFormat internal_sample_fmt; /**< internal sample format */
63 enum AVMixCoeffType mix_coeff_type; /**< mixing coefficient type */
64 double center_mix_level; /**< center mix level */
65 double surround_mix_level; /**< surround mix level */
66 double lfe_mix_level; /**< lfe mix level */
67 int normalize_mix_level; /**< enable mix level normalization */
68 int force_resampling; /**< force resampling */
69 … /**< length of each FIR filter in the resampling filterbank relative to the cutoff frequency */
70 … /**< log2 of the number of entries in the resampling polyphase filterbank */
71 … /**< if 1 then the resampling FIR filter will be linearly interpolated */
72 … /**< resampling cutoff frequency. 1.0 corresponds to half the output sample rate */
73 enum AVResampleFilterType filter_type; /**< resampling filter type */
74 … /**< beta value for Kaiser window (only applicable if filter_type == AV_FILTER_TYPE_KAISER) */
75 enum AVResampleDitherMethod dither_method; /**< dither method */
77 int in_channels; /**< number of input channels */
78 int out_channels; /**< number of output channels */
79 int resample_channels; /**< number of channels used for resampling */
80 int downmix_needed; /**< downmixing is needed */
81 int upmix_needed; /**< upmixing is needed */
82 int mixing_needed; /**< either upmixing or downmixing is needed */
83 int resample_needed; /**< resampling is needed */
84 int in_convert_needed; /**< input sample format conversion is needed */
85 int out_convert_needed; /**< output sample format conversion is needed */
86 int in_copy_needed; /**< input data copy is needed */
88 AudioData *in_buffer; /**< buffer for converted input */
89 AudioData *resample_out_buffer; /**< buffer for output from resampler */
90 AudioData *out_buffer; /**< buffer for converted output */
91 AVAudioFifo *out_fifo; /**< FIFO for output samples */
93 AudioConvert *ac_in; /**< input sample format conversion context */
94 AudioConvert *ac_out; /**< output sample format conversion context */
95 ResampleContext *resample; /**< resampling context */
96 AudioMix *am; /**< channel mixing context */
97 enum AVMatrixEncoding matrix_encoding; /**< matrixed stereo encoding */
103 double *mix_matrix;
105 int use_channel_map;
106 enum RemapPoint remap_point;
107 ChannelMapInfo ch_map_info;