| FFmpeg
    | 
swresample.h File Reference
  libswresample public header More...
Include dependency graph for swresample.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
| Macros | |
| #define | SWR_CH_MAX 32 | 
| Maximum number of channels.  More... | |
| #define | SWR_FLAG_RESAMPLE 1 | 
| Force resampling even if equal sample rate.  More... | |
| Typedefs | |
| typedef struct SwrContext | SwrContext | 
| Enumerations | |
| 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 } | 
| enum | SwrEngine { SWR_ENGINE_SWR, SWR_ENGINE_SOXR, SWR_ENGINE_NB } | 
| Resampling Engines.  More... | |
| enum | SwrFilterType { SWR_FILTER_TYPE_CUBIC, SWR_FILTER_TYPE_BLACKMAN_NUTTALL, SWR_FILTER_TYPE_KAISER } | 
| Resampling Filter Types.  More... | |
| Functions | |
| const AVClass * | swr_get_class (void) | 
| Get the AVClass for swrContext.  More... | |
| struct SwrContext * | swr_alloc (void) | 
| Allocate SwrContext.  More... | |
| int | swr_init (struct SwrContext *s) | 
| Initialize context after user parameters have been set.  More... | |
| struct SwrContext * | swr_alloc_set_opts (struct SwrContext *s, int64_t out_ch_layout, enum AVSampleFormat out_sample_fmt, int out_sample_rate, int64_t in_ch_layout, enum AVSampleFormat in_sample_fmt, int in_sample_rate, int log_offset, void *log_ctx) | 
| Allocate SwrContext if needed and set/reset common parameters.  More... | |
| void | swr_free (struct SwrContext **s) | 
| Free the given SwrContext and set the pointer to NULL.  More... | |
| int | swr_convert (struct SwrContext *s, uint8_t **out, int out_count, const uint8_t **in, int in_count) | 
| Convert audio.  More... | |
| int64_t | swr_next_pts (struct SwrContext *s, int64_t pts) | 
| Convert the next timestamp from input to output timestamps are in 1/(in_sample_rate * out_sample_rate) units.  More... | |
| int | swr_set_compensation (struct SwrContext *s, int sample_delta, int compensation_distance) | 
| Activate resampling compensation.  More... | |
| int | swr_set_channel_mapping (struct SwrContext *s, const int *channel_map) | 
| Set a customized input channel mapping.  More... | |
| int | swr_set_matrix (struct SwrContext *s, const double *matrix, int stride) | 
| Set a customized remix matrix.  More... | |
| int | swr_drop_output (struct SwrContext *s, int count) | 
| Drops the specified number of output samples.  More... | |
| int | swr_inject_silence (struct SwrContext *s, int count) | 
| Injects the specified number of silence samples.  More... | |
| int64_t | swr_get_delay (struct SwrContext *s, int64_t base) | 
| Gets the delay the next input sample will experience relative to the next output sample.  More... | |
| unsigned | swresample_version (void) | 
| Return the LIBSWRESAMPLE_VERSION_INT constant.  More... | |
| const char * | swresample_configuration (void) | 
| Return the swr build-time configuration.  More... | |
| const char * | swresample_license (void) | 
| Return the swr license.  More... | |
Detailed Description
libswresample public header
Definition in file swresample.h.
Generated by
 1.8.11
 1.8.11