World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
См. документацию.
21 #ifndef SWRESAMPLE_SWRESAMPLE_H
22 #define SWRESAMPLE_SWRESAMPLE_H
136 #define SWR_FLAG_RESAMPLE 1
137 //TODO use int resample ?
253 int log_offset,
void *log_ctx);
389 double center_mix_level,
double surround_mix_level,
390 double lfe_mix_level,
double rematrix_maxval,
391 double rematrix_volume,
double *
matrix,
@ SWR_DITHER_TRIANGULAR_HIGHPASS
@ SWR_DITHER_NS_LOW_SHIBATA
@ SWR_DITHER_NS_IMPROVED_E_WEIGHTED
int swr_set_compensation(struct SwrContext *s, int sample_delta, int compensation_distance)
@ SWR_DITHER_NS_MODIFIED_E_WEIGHTED
int swr_set_channel_mapping(struct SwrContext *s, const int *channel_map)
GLuint GLuint GLsizei count
int swr_set_matrix(struct SwrContext *s, const double *matrix, int stride)
@ SWR_FILTER_TYPE_BLACKMAN_NUTTALL
int swr_is_initialized(struct SwrContext *s)
GLenum GLenum GLenum input
unsigned __int64 uint64_t
int64_t swr_next_pts(struct SwrContext *s, int64_t pts)
int64_t swr_get_delay(struct SwrContext *s, int64_t base)
@ SWR_DITHER_NB
not part of API/ABI
int swr_inject_silence(struct SwrContext *s, int count)
int swr_init(struct SwrContext *s)
struct SwrContext * swr_alloc(void)
@ SWR_DITHER_NS
not part of API/ABI
@ SWR_ENGINE_NB
not part of API/ABI
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)
const AVClass * swr_get_class(void)
const char * swresample_license(void)
EGLImageKHR EGLint EGLint EGLint * stride
int swr_convert_frame(SwrContext *swr, AVFrame *output, const AVFrame *input)
struct SwrContext SwrContext
int swr_drop_output(struct SwrContext *s, int count)
void swr_free(struct SwrContext **s)
int swr_convert(struct SwrContext *s, uint8_t **out, int out_count, const uint8_t **in, int in_count)
int swr_config_frame(SwrContext *swr, const AVFrame *out, const AVFrame *in)
@ SWR_DITHER_NS_HIGH_SHIBATA
int swr_get_out_samples(struct SwrContext *s, int in_samples)
void swr_close(struct SwrContext *s)
const char * swresample_configuration(void)
int swr_build_matrix(uint64_t in_layout, uint64_t out_layout, double center_mix_level, double surround_mix_level, double lfe_mix_level, double rematrix_maxval, double rematrix_volume, double *matrix, int stride, enum AVMatrixEncoding matrix_encoding, void *log_ctx)
@ SWR_DITHER_NS_F_WEIGHTED
unsigned swresample_version(void)