Go to the source code of this file.
Functions
SwrContext constructor functions
Initialize context after user parameters have been set.
More...
Check whether an swr context has been initialized or not.
More...
SwrContext destructor functions
Core conversion functions
Convert the next timestamp from input to output timestamps are in 1/(in_sample_rate * out_sample_rate) units.
More...
Low-level option setting functions
These functons provide a means to set low-level options that is not possible with the AVOption API.
Activate resampling compensation ("soft" compensation).
More...
Set a customized input channel mapping.
More...
int swr_build_matrix2 (const
AVChannelLayout *in_layout, const
AVChannelLayout *out_layout,
double center_mix_level,
double surround_mix_level,
double lfe_mix_level,
double maxval,
double rematrix_volume,
double *
matrix, ptrdiff_t
stride, enum
AVMatrixEncoding matrix_encoding, void *log_context)
Generate a channel mixing matrix.
More...
Set a customized remix matrix.
More...
Sample handling functions
Drops the specified number of output samples.
More...
Injects the specified number of silence samples.
More...
Gets the delay the next input sample will experience relative to the next output sample.
More...
Find an upper bound on the number of samples that the next swr_convert call will output, if called with in_samples of input samples.
More...
Return the swr build-time configuration.
More...
Configure or reconfigure the
SwrContext using the information provided by the AVFrames.
More...
Option constants
These constants are used for the AVOptions interface for lswr.
Force resampling even if equal sample rate.
More...
enum
SwrDitherType {
SWR_DITHER_NONE = 0,
SWR_DITHER_RECTANGULAR,
SWR_DITHER_TRIANGULAR,
SWR_DITHER_TRIANGULAR_HIGHPASS,
SWR_DITHER_NS = 64,
SWR_DITHER_NS_LIPSHITZ,
SWR_DITHER_NS_F_WEIGHTED,
SWR_DITHER_NS_MODIFIED_E_WEIGHTED,
SWR_DITHER_NS_IMPROVED_E_WEIGHTED,
SWR_DITHER_NS_SHIBATA,
SWR_DITHER_NS_LOW_SHIBATA,
SWR_DITHER_NS_HIGH_SHIBATA,
SWR_DITHER_NB
}
Detailed Description
libswresample public header
Definition in file swresample.h.