libswresample public header
More...
Go to the source code of this file.
Macros
Maximum number of channels.
Functions
SwrContext constructor functions
Initialize context after user parameters have been set.
Check whether an swr context has been initialized or not.
Allocate
SwrContext if needed and set/reset common parameters.
SwrContext destructor functions
Free the given
SwrContext and set the pointer to NULL.
Core conversion functions
Convert the next timestamp from input to output timestamps are in 1/(in_sample_rate * out_sample_rate) units.
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).
Set a customized input channel mapping.
Set a customized remix matrix.
Sample handling functions
Drops the specified number of output samples.
Injects the specified number of silence samples.
Gets the delay the next input sample will experience relative to the next output sample.
Return the swr build-time configuration.
Convert the samples in the input
AVFrame and write them to the output
AVFrame.
Configure or reconfigure the
SwrContext using the information provided by the AVFrames.
Option constants
These constants are used for the AVOptions interface for lswr.
Force resampling even if equal sample rate.
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.