Home
last modified time | relevance | path

Searched refs:in_sample_fmt (Results 1 – 10 of 10) sorted by relevance

/third_party/ffmpeg/libswresample/tests/
Dswresample.c228 enum AVSampleFormat in_sample_fmt, out_sample_fmt; in main() local
286in_sample_fmt = formats[vector % FF_ARRAY_ELEMS(formats)]; vector /= FF_ARRAY_ELEMS(formats); in main()
303 av_get_sample_fmt_name(in_sample_fmt), av_get_sample_fmt_name(out_sample_fmt)); in main()
305 in_ch_layout, in_sample_fmt, in_sample_rate, in main()
307 …backw_ctx = swr_alloc_set_opts(backw_ctx, in_ch_layout, in_sample_fmt, in_sample_rate, in main()
328 setup_array(ain , array_in , in_sample_fmt, SAMPLES); in main()
330 setup_array(aout, array_out, in_sample_fmt , SAMPLES); in main()
334 set(ain, ch, i, in_ch_count, in_sample_fmt, sin(i*i*3/SAMPLES)); in main()
337 audiogen(ain, in_sample_fmt, in_ch_count, SAMPLES/6+1, SAMPLES); in main()
349 shift(ain, 1, in_ch_count, in_sample_fmt); in main()
[all …]
/third_party/ffmpeg/libavresample/
Dutils.c72 enum AVSampleFormat in_fmt = av_get_planar_sample_fmt(avr->in_sample_fmt); in avresample_open()
114 avr->in_convert_needed = avr->in_sample_fmt != avr->internal_sample_fmt; in avresample_open()
122 avr->out_convert_needed = avr->in_sample_fmt != avr->out_sample_fmt; in avresample_open()
212 avr->in_sample_fmt, avr->in_channels, in avresample_open()
225 src_fmt = avr->in_sample_fmt; in avresample_open()
375 avr->in_sample_fmt, 1, "input"); in avresample_convert()
514 avr->in_sample_fmt = in->format; in avresample_config()
534 avr->in_sample_fmt != in->format) { in config_changed()
Dinternal.h57 enum AVSampleFormat in_sample_fmt; /**< input sample format */ member
Doptions.c40 …{ "in_sample_fmt", "Input Sample Format", OFFSET(in_sample_fmt), AV_OPT_TYP…
/third_party/ffmpeg/libswresample/
Dswresample.c61 … int64_t in_ch_layout, enum AVSampleFormat in_sample_fmt, int in_sample_rate, in swr_alloc_set_opts() argument
81 if (av_opt_set_int(s, "isf", in_sample_fmt, 0) < 0) in swr_alloc_set_opts()
158 if(s-> in_sample_fmt >= AV_SAMPLE_FMT_NB){ in swr_init()
159 av_log(s, AV_LOG_ERROR, "Requested input sample format %d is invalid\n", s->in_sample_fmt); in swr_init()
223 if( av_get_bytes_per_sample(s-> in_sample_fmt) <= 2 in swr_init()
226 }else if( av_get_bytes_per_sample(s-> in_sample_fmt) <= 2 in swr_init()
231 }else if( av_get_planar_sample_fmt(s-> in_sample_fmt) == AV_SAMPLE_FMT_S32P in swr_init()
238 }else if(av_get_bytes_per_sample(s->in_sample_fmt) <= 4){ in swr_init()
255 set_audiodata_fmt(&s-> in, s-> in_sample_fmt); in swr_init()
340 s-> in_sample_fmt, s-> in.ch_count, NULL, 0); in swr_init()
[all …]
Doptions.c48 {"isf" , "set input sample format" , OFFSET( in_sample_fmt ), AV_OPT_TYPE_SAMP…
49 {"in_sample_fmt" , "set input sample format" , OFFSET( in_sample_fmt ), AV_OPT_TYPE_SAMP…
Dswresample.h252 … int64_t in_ch_layout, enum AVSampleFormat in_sample_fmt, int in_sample_rate,
Dswresample_frame.c62 s->in_sample_fmt != in->format) { in config_changed()
Dswresample_internal.h99 enum AVSampleFormat in_sample_fmt; ///< input sample format member
/third_party/ffmpeg/doc/
Dresampler.texi34 @item isf, in_sample_fmt