Home
last modified time | relevance | path

Searched refs:AudioData (Results 1 – 20 of 20) sorted by relevance

/third_party/ffmpeg/libswresample/
Dswresample_internal.h45 typedef struct AudioData{ struct
53 } AudioData; argument
66 AudioData noise; ///< noise used for dithering
67AudioData temp; ///< temporary storage when writing into the input…
74 … (* multiple_resample_func)(struct ResampleContext *c, AudioData *dst, int dst_size, AudioData *…
78 … (* invert_initial_buffer_func)(struct ResampleContext *c, AudioData *dst, const AudioData *src,…
148 AudioData in; ///< input audio data
149AudioData postin; ///< post-input audio data: used for rematrix/resa…
150 AudioData midbuf; ///< intermediate audio data (postin/preout)
151AudioData preout; ///< pre-output audio data: used for rematrix/resa…
[all …]
Dswresample.c101 static void set_audiodata_fmt(AudioData *a, enum AVSampleFormat fmt){ in set_audiodata_fmt()
109 static void free_temp(AudioData *a){ in free_temp()
400 int swri_realloc_audio(AudioData *a, int count){ in swri_realloc_audio()
402 AudioData old; in swri_realloc_audio()
432 static void copy(AudioData *out, AudioData *in, in copy()
445 static void fill_audiodata(AudioData *out, uint8_t *in_arg [SWR_CH_MAX]){ in fill_audiodata()
458 static void reversefill_audiodata(AudioData *out, uint8_t *in_arg [SWR_CH_MAX]){ in reversefill_audiodata()
472 static void buf_set(AudioData *out, AudioData *in, int count){ in buf_set()
487 static int resample(SwrContext *s, AudioData *out_param, int out_count, in resample()
488 const AudioData * in_param, int in_count){ in resample()
[all …]
Dsoxr_resample.c85 struct ResampleContext * c, AudioData *dst, int dst_size, in process()
86 AudioData *src, int src_size, int *consumed){ in process()
111 static int invert_initial_buffer(struct ResampleContext *c, AudioData *dst, const AudioData *src, in invert_initial_buffer()
Ddither_template.c43 void RENAME(swri_noise_shaping)(SwrContext *s, AudioData *dsts, const AudioData *srcs, const AudioD… in RENAME()
Daudioconvert.h76 int swri_audio_convert(AudioConvert *ctx, AudioData *out, AudioData *in, int len);
Dresample.c452 static int multiple_resample(ResampleContext *c, AudioData *dst, int dst_size, AudioData *src, int … in multiple_resample()
548 AudioData *a= &s->in_buffer; in resample_flush()
566 static int invert_initial_buffer(ResampleContext *c, AudioData *dst, const AudioData *src, in invert_initial_buffer()
Daudioconvert.c191 int swri_audio_convert(AudioConvert *ctx, AudioData *out, AudioData *in, int len) in swri_audio_convert()
Drematrix.c507 int swri_rematrix(SwrContext *s, AudioData *out, AudioData *in, int len, int mustcopy){ in swri_rematrix()
/third_party/ffmpeg/libavresample/
Daudio_data.h37 struct AudioData { struct
58 int ff_audio_data_set_channels(AudioData *a, int channels); argument
79 int ff_audio_data_init(AudioData *a, uint8_t * const *src, int plane_size,
95 AudioData *ff_audio_data_alloc(int channels, int nb_samples,
108 int ff_audio_data_realloc(AudioData *a, int nb_samples);
117 void ff_audio_data_free(AudioData **a);
127 int ff_audio_data_copy(AudioData *out, AudioData *in, ChannelMapInfo *map);
141 int ff_audio_data_combine(AudioData *dst, int dst_offset, AudioData *src,
152 void ff_audio_data_drain(AudioData *a, int nb_samples);
164 int ff_audio_data_add_to_fifo(AVAudioFifo *af, AudioData *a, int offset,
[all …]
Daudio_data.c36 static void calc_ptr_alignment(AudioData *a) in calc_ptr_alignment()
59 int ff_audio_data_set_channels(AudioData *a, int channels) in ff_audio_data_set_channels()
73 int ff_audio_data_init(AudioData *a, uint8_t * const *src, int plane_size, in ff_audio_data_init()
119 AudioData *ff_audio_data_alloc(int channels, int nb_samples, in ff_audio_data_alloc()
122 AudioData *a; in ff_audio_data_alloc()
162 int ff_audio_data_realloc(AudioData *a, int nb_samples) in ff_audio_data_realloc()
217 void ff_audio_data_free(AudioData **a) in ff_audio_data_free()
225 int ff_audio_data_copy(AudioData *dst, AudioData *src, ChannelMapInfo *map) in ff_audio_data_copy()
278 int ff_audio_data_combine(AudioData *dst, int dst_offset, AudioData *src, in ff_audio_data_combine()
334 void ff_audio_data_drain(AudioData *a, int nb_samples) in ff_audio_data_drain()
[all …]
Dinternal.h30 typedef struct AudioData AudioData; typedef
88 AudioData *in_buffer; /**< buffer for converted input */
89 AudioData *resample_out_buffer; /**< buffer for output from resampler */
90 AudioData *out_buffer; /**< buffer for converted output */
Dresample.h30 AudioData *buffer;
94 int ff_audio_resample(ResampleContext *c, AudioData *dst, AudioData *src);
Ddither.h86 int ff_convert_dither(DitherContext *c, AudioData *dst, AudioData *src);
Daudio_convert.h95 int ff_audio_convert(AudioConvert *ac, AudioData *out, AudioData *in);
Ddither.c68 AudioData *flt_data; // input data in fltp
69 AudioData *s16_data; // dithered output in s16p
242 int ff_convert_dither(DitherContext *c, AudioData *dst, AudioData *src) in ff_convert_dither()
245 AudioData *flt_data; in ff_convert_dither()
Dutils.c288 AudioData *output, AudioData *converted) in handle_buffered_output()
336 AudioData input_buffer; in avresample_convert()
337 AudioData output_buffer; in avresample_convert()
338 AudioData *current_buffer; in avresample_convert()
441 AudioData *resample_out; in avresample_convert()
Daudio_mix.h78 int ff_audio_mix(AudioMix *am, AudioData *src);
Dresample.c334 int ff_audio_resample(ResampleContext *c, AudioData *dst, AudioData *src) in ff_audio_resample()
Daudio_convert.c314 int ff_audio_convert(AudioConvert *ac, AudioData *out, AudioData *in) in ff_audio_convert()
Daudio_mix.c428 int ff_audio_mix(AudioMix *am, AudioData *src) in ff_audio_mix()