Home
last modified time | relevance | path

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

12

/third_party/ffmpeg/libswresample/
Dswresample.h189 typedef struct SwrContext SwrContext; typedef
214 struct SwrContext *swr_alloc(void);
226 int swr_init(struct SwrContext *s);
235 int swr_is_initialized(struct SwrContext *s);
260 struct SwrContext *swr_alloc_set_opts(struct SwrContext *s,
288 int swr_alloc_set_opts2(struct SwrContext **ps,
304 void swr_free(struct SwrContext **s);
316 void swr_close(struct SwrContext *s);
343 int swr_convert(struct SwrContext *s, uint8_t **out, int out_count,
363 int64_t swr_next_pts(struct SwrContext *s, int64_t pts);
[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
197 void swri_noise_shaping_int16 (SwrContext *s, AudioData *dsts, const AudioData *srcs, const AudioDa… argument
198 void swri_noise_shaping_int32 (SwrContext *s, AudioData *dsts, const AudioData *srcs, const AudioDa…
199 void swri_noise_shaping_float (SwrContext *s, AudioData *dsts, const AudioData *srcs, const AudioDa…
200 void swri_noise_shaping_double(SwrContext *s, AudioData *dsts, const AudioData *srcs, const AudioDa…
203 int swri_rematrix_init(SwrContext *s);
204 void swri_rematrix_free(SwrContext *s);
[all …]
Dswresample.c32 int swr_set_channel_mapping(struct SwrContext *s, const int *channel_map){ in swr_set_channel_mapping()
41 struct SwrContext *swr_alloc_set_opts(struct SwrContext *s, in swr_alloc_set_opts()
85 int swr_alloc_set_opts2(struct SwrContext **ps, in swr_alloc_set_opts2()
89 struct SwrContext *s = *ps; in swr_alloc_set_opts2()
148 static void clear_context(SwrContext *s){ in clear_context()
173 av_cold void swr_free(SwrContext **ss){ in swr_free()
174 SwrContext *s= *ss; in swr_free()
187 av_cold void swr_close(SwrContext *s){ in swr_close()
191 av_cold int swr_init(struct SwrContext *s){ in swr_init()
571 static int resample(SwrContext *s, AudioData *out_param, int out_count, in resample()
[all …]
Dswresample_frame.c27 int swr_config_frame(SwrContext *s, const AVFrame *out, const AVFrame *in) in swr_config_frame()
83 static int config_changed(SwrContext *s, in config_changed()
132 static inline int convert_frame(SwrContext *s, in convert_frame()
184 int swr_convert_frame(SwrContext *s, in swr_convert_frame()
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.c35 #define OFFSET(x) offsetof(SwrContext,x)
167 av_cold struct SwrContext *swr_alloc(void){ in swr_alloc()
168 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()
440 av_cold static int auto_matrix(SwrContext *s) in auto_matrix()
469 av_cold int swri_rematrix_init(SwrContext *s){ in swri_rematrix_init()
575 av_cold void swri_rematrix_free(SwrContext *s){ in swri_rematrix_free()
582 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.c512 static int64_t get_delay(struct SwrContext *s, int64_t base){ in get_delay()
522 static int64_t get_out_samples(struct SwrContext *s, int in_samples) { in get_out_samples()
541 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.c288 SwrContext **resample_context) in init_resampler()
490 SwrContext *resample_context) in convert_samples()
556 SwrContext *resampler_context, in read_decode_convert_and_store()
792 SwrContext *resample_context = NULL; in main()
Dresampling_audio.c94 struct SwrContext *swr_ctx; in main()
Dmuxing.c70 struct SwrContext *swr_ctx;
/third_party/ffmpeg/libswresample/aarch64/
Dneontest.c25 wrap(swr_convert(struct SwrContext *s, uint8_t **out, int out_count, in wrap()
/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/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/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/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/audio/
DFFMpegExtractor.cpp207 SwrContext *swr = swr_alloc(); in decode()
/third_party/ffmpeg/libavfilter/
Daf_aresample.c41 struct SwrContext *swr;
Daf_pan.c54 struct SwrContext *swr;
Df_ebur128.c87 SwrContext *swr_ctx; ///< over-sampling context for true peak metering
/third_party/ffmpeg/doc/
Dresampler.texi9 @code{SwrContext} options or using the @file{libavutil/opt.h} API for

12