/third_party/ffmpeg/libswresample/ |
D | swresample_internal.h | 45 typedef struct AudioData{ struct 53 } AudioData; argument 66 AudioData noise; ///< noise used for dithering 67 …AudioData 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 149 …AudioData postin; ///< post-input audio data: used for rematrix/resa… 150 AudioData midbuf; ///< intermediate audio data (postin/preout) 151 …AudioData preout; ///< pre-output audio data: used for rematrix/resa… [all …]
|
D | swresample.c | 101 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 …]
|
D | soxr_resample.c | 85 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()
|
D | dither_template.c | 43 void RENAME(swri_noise_shaping)(SwrContext *s, AudioData *dsts, const AudioData *srcs, const AudioD… in RENAME()
|
D | audioconvert.h | 76 int swri_audio_convert(AudioConvert *ctx, AudioData *out, AudioData *in, int len);
|
D | resample.c | 452 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()
|
D | audioconvert.c | 191 int swri_audio_convert(AudioConvert *ctx, AudioData *out, AudioData *in, int len) in swri_audio_convert()
|
D | rematrix.c | 507 int swri_rematrix(SwrContext *s, AudioData *out, AudioData *in, int len, int mustcopy){ in swri_rematrix()
|
/third_party/ffmpeg/libavresample/ |
D | audio_data.h | 37 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 …]
|
D | audio_data.c | 36 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 …]
|
D | internal.h | 30 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 */
|
D | resample.h | 30 AudioData *buffer; 94 int ff_audio_resample(ResampleContext *c, AudioData *dst, AudioData *src);
|
D | dither.h | 86 int ff_convert_dither(DitherContext *c, AudioData *dst, AudioData *src);
|
D | audio_convert.h | 95 int ff_audio_convert(AudioConvert *ac, AudioData *out, AudioData *in);
|
D | dither.c | 68 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()
|
D | utils.c | 288 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()
|
D | audio_mix.h | 78 int ff_audio_mix(AudioMix *am, AudioData *src);
|
D | resample.c | 334 int ff_audio_resample(ResampleContext *c, AudioData *dst, AudioData *src) in ff_audio_resample()
|
D | audio_convert.c | 314 int ff_audio_convert(AudioConvert *ac, AudioData *out, AudioData *in) in ff_audio_convert()
|
D | audio_mix.c | 428 int ff_audio_mix(AudioMix *am, AudioData *src) in ff_audio_mix()
|