Home
last modified time | relevance | path

Searched refs:SwrContext (Results 1 – 25 of 28) sorted by relevance

12

/third_party/ffmpeg/libswresample/
Dswresample.h182 typedef struct SwrContext SwrContext; typedef
207 struct SwrContext *swr_alloc(void);
219 int swr_init(struct SwrContext *s);
228 int swr_is_initialized(struct SwrContext *s);
250 struct SwrContext *swr_alloc_set_opts(struct SwrContext *s,
267 void swr_free(struct SwrContext **s);
279 void swr_close(struct SwrContext *s);
306 int swr_convert(struct SwrContext *s, uint8_t **out, int out_count,
326 int64_t swr_next_pts(struct SwrContext *s, int64_t pts);
353 int swr_set_compensation(struct SwrContext *s, int sample_delta, int compensation_distance);
[all …]
Dswresample_internal.h75 typedef int (* resample_flush_func)(struct SwrContext *c);
77 typedef int64_t (* get_delay_func)(struct SwrContext *s, int64_t base);
79 typedef int64_t (* get_out_samples_func)(struct SwrContext *s, int in_samples);
95 struct SwrContext { struct
193 void swri_noise_shaping_int16 (SwrContext *s, AudioData *dsts, const AudioData *srcs, const AudioDa… argument
194 void swri_noise_shaping_int32 (SwrContext *s, AudioData *dsts, const AudioData *srcs, const AudioDa…
195 void swri_noise_shaping_float (SwrContext *s, AudioData *dsts, const AudioData *srcs, const AudioDa…
196 void swri_noise_shaping_double(SwrContext *s, AudioData *dsts, const AudioData *srcs, const AudioDa…
199 int swri_rematrix_init(SwrContext *s);
200 void swri_rematrix_free(SwrContext *s);
[all …]
Dswresample_frame.c26 int swr_config_frame(SwrContext *s, const AVFrame *out, const AVFrame *in) in swr_config_frame()
54 static int config_changed(SwrContext *s, in config_changed()
78 static inline int convert_frame(SwrContext *s, in convert_frame()
123 int swr_convert_frame(SwrContext *s, in swr_convert_frame()
Dswresample.c52 int swr_set_channel_mapping(struct SwrContext *s, const int *channel_map){ in swr_set_channel_mapping()
59 struct SwrContext *swr_alloc_set_opts(struct SwrContext *s, in swr_alloc_set_opts()
114 static void clear_context(SwrContext *s){ in clear_context()
137 av_cold void swr_free(SwrContext **ss){ in swr_free()
138 SwrContext *s= *ss; in swr_free()
148 av_cold void swr_close(SwrContext *s){ in swr_close()
152 av_cold int swr_init(struct SwrContext *s){ in swr_init()
487 static int resample(SwrContext *s, AudioData *out_param, int out_count, in resample()
582 static int swr_convert_internal(struct SwrContext *s, AudioData *out, int out_count, in swr_convert_internal()
710 int swr_is_initialized(struct SwrContext *s) { in swr_is_initialized()
[all …]
Dsoxr_resample.c69 static int flush(struct SwrContext *s){ in flush()
99 static int64_t get_delay(struct SwrContext *s, int64_t base){ in get_delay()
116 static int64_t get_out_samples(struct SwrContext *s, int in_samples){ in get_out_samples()
Doptions.c34 #define OFFSET(x) offsetof(SwrContext,x)
149 av_cold struct SwrContext *swr_alloc(void){ in swr_alloc()
150 SwrContext *s= av_mallocz(sizeof(SwrContext)); in swr_alloc()
Ddither.c26 int swri_get_dither(SwrContext *s, void *dst, int len, unsigned seed, enum AVSampleFormat noise_fmt… in swri_get_dither()
79 av_cold int swri_dither_init(SwrContext *s, enum AVSampleFormat out_fmt, enum AVSampleFormat in_fmt) in swri_dither_init()
Drematrix.c64 int swr_set_matrix(struct SwrContext *s, const double *matrix, int stride) in swr_set_matrix()
366 av_cold static int auto_matrix(SwrContext *s) in auto_matrix()
395 av_cold int swri_rematrix_init(SwrContext *s){ in swri_rematrix_init()
500 av_cold void swri_rematrix_free(SwrContext *s){ in swri_rematrix_free()
507 int swri_rematrix(SwrContext *s, AudioData *out, AudioData *in, int len, int mustcopy){ in swri_rematrix()
Ddither_template.c43 void RENAME(swri_noise_shaping)(SwrContext *s, AudioData *dsts, const AudioData *srcs, const AudioD… in RENAME()
Dresample.c517 static int64_t get_delay(struct SwrContext *s, int64_t base){ in get_delay()
527 static int64_t get_out_samples(struct SwrContext *s, int in_samples) { in get_out_samples()
546 static int resample_flush(struct SwrContext *s) { in resample_flush()
Drematrix_template.c90 static RENAME(mix_any_func_type) *RENAME(get_mix_any_func)(SwrContext *s){ in RENAME()
/third_party/ffmpeg/doc/examples/
Dtranscode_aac.c285 SwrContext **resample_context) in init_resampler()
488 SwrContext *resample_context) in convert_samples()
554 SwrContext *resampler_context, in read_decode_convert_and_store()
791 SwrContext *resample_context = NULL; in main()
Dresampling_audio.c94 struct SwrContext *swr_ctx; in main()
Dmuxing.c67 struct SwrContext *swr_ctx;
/third_party/ffmpeg/libswresample/x86/
Dw64xmmtest.c25 wrap(swr_convert(struct SwrContext *s, uint8_t **out, int out_count, in wrap()
Drematrix_init.c33 av_cold int swri_rematrix_init_x86(struct SwrContext *s){ in D()
/third_party/ffmpeg/libswresample/arm/
Dneontest.c25 wrap(swr_convert(struct SwrContext *s, uint8_t **out, int out_count, in wrap()
/third_party/ffmpeg/libswresample/aarch64/
Dneontest.c25 wrap(swr_convert(struct SwrContext *s, uint8_t **out, int out_count, in wrap()
/third_party/ffmpeg/libavcodec/
Dopus.h135 SwrContext *swr;
/third_party/ffmpeg/libswresample/tests/
Dswresample.c245 struct SwrContext * forw_ctx= NULL; in main()
246 struct SwrContext *backw_ctx= NULL; in main()
/third_party/ffmpeg/libavfilter/
Daf_asoftclip.c52 SwrContext *up_ctx;
53 SwrContext *down_ctx;
Daf_aresample.c41 struct SwrContext *swr;
Daf_pan.c54 struct SwrContext *swr;
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/audio/
DFFMpegExtractor.cpp207 SwrContext *swr = swr_alloc(); in decode()
/third_party/ffmpeg/doc/
Dresampler.texi9 @code{SwrContext} options or using the @file{libavutil/opt.h} API for

12