/third_party/ffmpeg/libswresample/x86/ |
D | audio_convert_init.c | 38 enum AVSampleFormat in_fmt, in PROTO4() 48 …if( out_fmt == AV_SAMPLE_FMT_S32 && in_fmt == AV_SAMPLE_FMT_S16 || out_fmt == AV_SAMPLE_FMT_S32… in PROTO4() 50 …if( out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_S32 || out_fmt == AV_SAMPLE_FMT_S16… in PROTO4() 59 …if( out_fmt == AV_SAMPLE_FMT_FLT && in_fmt == AV_SAMPLE_FMT_FLTP || out_fmt == AV_SAMPLE_FMT_S3… in PROTO4() 65 …if( out_fmt == AV_SAMPLE_FMT_FLT && in_fmt == AV_SAMPLE_FMT_FLTP || out_fmt == AV_SAMPLE_FMT_S3… in PROTO4() 68 …if( out_fmt == AV_SAMPLE_FMT_FLTP && in_fmt == AV_SAMPLE_FMT_FLT || out_fmt == AV_SAMPLE_FMT_S3… in PROTO4() 73 …if( out_fmt == AV_SAMPLE_FMT_FLT && in_fmt == AV_SAMPLE_FMT_S32 || out_fmt == AV_SAMPLE_FMT_FLT… in PROTO4() 75 …if( out_fmt == AV_SAMPLE_FMT_FLT && in_fmt == AV_SAMPLE_FMT_S16 || out_fmt == AV_SAMPLE_FMT_FLT… in PROTO4() 77 …if( out_fmt == AV_SAMPLE_FMT_S32 && in_fmt == AV_SAMPLE_FMT_FLT || out_fmt == AV_SAMPLE_FMT_S32… in PROTO4() 79 …if( out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_FLT || out_fmt == AV_SAMPLE_FMT_S16… in PROTO4() [all …]
|
/third_party/ffmpeg/libswresample/ |
D | dither.c | 79 av_cold int swri_dither_init(SwrContext *s, enum AVSampleFormat out_fmt, enum AVSampleFormat in_fmt) in swri_dither_init() argument 88 in_fmt = av_get_packed_sample_fmt( in_fmt); in swri_dither_init() 90 if(in_fmt == AV_SAMPLE_FMT_FLT || in_fmt == AV_SAMPLE_FMT_DBL){ in swri_dither_init() 95 …if(in_fmt == AV_SAMPLE_FMT_S32 && out_fmt == AV_SAMPLE_FMT_S32 && (s->dither.output_sample_bits&31… in swri_dither_init() 96 if(in_fmt == AV_SAMPLE_FMT_S32 && out_fmt == AV_SAMPLE_FMT_S16) scale = 1<<16; in swri_dither_init() 97 if(in_fmt == AV_SAMPLE_FMT_S32 && out_fmt == AV_SAMPLE_FMT_U8 ) scale = 1<<24; in swri_dither_init() 98 if(in_fmt == AV_SAMPLE_FMT_S16 && out_fmt == AV_SAMPLE_FMT_U8 ) scale = 1<<8; in swri_dither_init()
|
D | audioconvert.c | 146 enum AVSampleFormat in_fmt, in swri_audio_convert_alloc() argument 151 …v_functions[av_get_packed_sample_fmt(out_fmt) + AV_SAMPLE_FMT_NB*av_get_packed_sample_fmt(in_fmt)]; in swri_audio_convert_alloc() 160 in_fmt = av_get_planar_sample_fmt( in_fmt); in swri_audio_convert_alloc() 167 if (in_fmt == AV_SAMPLE_FMT_U8 || in_fmt == AV_SAMPLE_FMT_U8P) in swri_audio_convert_alloc() 170 if(out_fmt == in_fmt && !ch_map) { in swri_audio_convert_alloc() 171 switch(av_get_bytes_per_sample(in_fmt)){ in swri_audio_convert_alloc() 179 if(HAVE_X86ASM && HAVE_MMX) swri_audio_convert_init_x86(ctx, out_fmt, in_fmt, channels); in swri_audio_convert_alloc() 180 if(ARCH_ARM) swri_audio_convert_init_arm(ctx, out_fmt, in_fmt, channels); in swri_audio_convert_alloc() 181 if(ARCH_AARCH64) swri_audio_convert_init_aarch64(ctx, out_fmt, in_fmt, channels); in swri_audio_convert_alloc()
|
D | swresample_internal.h | 207 int swri_dither_init(SwrContext *s, enum AVSampleFormat out_fmt, enum AVSampleFormat in_fmt); 211 enum AVSampleFormat in_fmt, 215 enum AVSampleFormat in_fmt, 219 enum AVSampleFormat in_fmt,
|
D | audioconvert.h | 60 enum AVSampleFormat in_fmt,
|
/third_party/ffmpeg/libavresample/ |
D | audio_convert.c | 51 enum AVSampleFormat in_fmt; member 71 enum AVSampleFormat in_fmt, int channels, in ff_audio_convert_set_func() argument 79 if (av_get_packed_sample_fmt(ac->in_fmt) == in_fmt && in ff_audio_convert_set_func() 95 if (ac->in_fmt == in_fmt && ac->out_fmt == out_fmt && in ff_audio_convert_set_func() 111 if (ac->in_fmt == in_fmt && ac->out_fmt == out_fmt && in ff_audio_convert_set_func() 129 "to %-4s (%s)\n", av_get_sample_fmt_name(ac->in_fmt), in ff_audio_convert_set_func() 262 enum AVSampleFormat in_fmt, in ff_audio_convert_alloc() argument 275 ac->in_fmt = in_fmt; in ff_audio_convert_alloc() 281 av_get_bytes_per_sample(in_fmt) > 2) { in ff_audio_convert_alloc() 282 ac->dc = ff_dither_alloc(avr, out_fmt, in_fmt, channels, sample_rate, in ff_audio_convert_alloc() [all …]
|
D | audio_convert.h | 49 enum AVSampleFormat in_fmt, int channels, 66 enum AVSampleFormat in_fmt,
|
D | dither.c | 347 enum AVSampleFormat in_fmt, in ff_dither_alloc() argument 355 av_get_bytes_per_sample(in_fmt) <= 2) { in ff_dither_alloc() 357 av_get_sample_fmt_name(in_fmt), av_get_sample_fmt_name(out_fmt)); in ff_dither_alloc() 403 if (in_fmt != AV_SAMPLE_FMT_FLTP || c->apply_map) { in ff_dither_alloc() 409 if (in_fmt != AV_SAMPLE_FMT_FLTP) { in ff_dither_alloc() 410 c->ac_in = ff_audio_convert_alloc(avr, AV_SAMPLE_FMT_FLTP, in_fmt, in ff_dither_alloc()
|
D | dither.h | 68 enum AVSampleFormat in_fmt,
|
D | utils.c | 72 enum AVSampleFormat in_fmt = av_get_planar_sample_fmt(avr->in_sample_fmt); in avresample_open() local 74 int max_bps = FFMAX(av_get_bytes_per_sample(in_fmt), in avresample_open() 82 if (in_fmt == AV_SAMPLE_FMT_S32P || in avresample_open() 84 if (in_fmt == AV_SAMPLE_FMT_FLTP || in avresample_open()
|
/third_party/ffmpeg/libswresample/aarch64/ |
D | audio_convert_init.c | 50 enum AVSampleFormat in_fmt, in swri_audio_convert_init_aarch64() argument 58 …if(out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_FLT || out_fmt == AV_SAMPLE_FMT_S16P &&… in swri_audio_convert_init_aarch64() 60 if(out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_FLTP && channels == 2) in swri_audio_convert_init_aarch64() 62 if(out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_FLTP && channels > 2) in swri_audio_convert_init_aarch64()
|
/third_party/ffmpeg/libswresample/arm/ |
D | audio_convert_init.c | 50 enum AVSampleFormat in_fmt, in swri_audio_convert_init_arm() argument 58 …if(out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_FLT || out_fmt == AV_SAMPLE_FMT_S16P &&… in swri_audio_convert_init_arm() 60 if(out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_FLTP && channels == 2) in swri_audio_convert_init_arm() 62 if(out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_FLTP && channels > 2) in swri_audio_convert_init_arm()
|
/third_party/ffmpeg/libavresample/tests/ |
D | avresample.c | 204 enum AVSampleFormat in_fmt; in main() local 258 in_fmt = formats[i]; in main() 267 in_fmt, 0); in main() 272 audiogen(&rnd, (void **)in_data, in_fmt, in_channels, in_rate, in_rate * 6); in main() 283 av_get_sample_fmt_name(in_fmt), av_get_sample_fmt_name(out_fmt), in main() 295 av_opt_set_int(s, "in_sample_fmt", in_fmt, 0); in main()
|
/third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
D | pnm.c | 39 const gchar *in_fmt; in GST_START_TEST() member 67 test_formats[i].in_fmt, NULL); in GST_START_TEST()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_scale_npp.c | 64 enum AVPixelFormat in_fmt; member 163 av_pix_fmt_get_chroma_sub_sample(stage->in_fmt, &in_sw, &in_sh); in init_stage() 299 s->stages[STAGE_DEINTERLEAVE].in_fmt = in_format; in init_processing_chain() 304 s->stages[STAGE_RESIZE].in_fmt = in_deinterleaved_format; in init_processing_chain() 311 s->stages[STAGE_INTERLEAVE].in_fmt = out_deinterleaved_format; in init_processing_chain()
|
D | vf_transpose_npp.c | 64 enum AVPixelFormat in_fmt; member 131 av_pix_fmt_get_chroma_sub_sample(stage->in_fmt, &in_sw, &in_sh); in init_stage() 224 s->stages[STAGE_ROTATE].in_fmt = format; in init_processing_chain() 230 s->stages[STAGE_TRANSPOSE].in_fmt = format; in init_processing_chain()
|
D | vf_scale_cuda.c | 77 enum AVPixelFormat in_fmt; member 243 s->in_fmt = in_format; in init_processing_chain()
|
/third_party/ffmpeg/libavformat/ |
D | hls.c | 1957 ff_const59 AVInputFormat *in_fmt = NULL; in hls_read_header() local 1996 ret = av_probe_input_buffer(&pls->pb, &in_fmt, url, NULL, 0, 0); in hls_read_header() 2016 ret = avformat_open_input(&pls->ctx, pls->segments[0]->url, in_fmt, NULL); in hls_read_header()
|
D | dashdec.c | 1882 ff_const59 AVInputFormat *in_fmt = NULL; in reopen_demux_for_component() local 1919 ret = av_probe_input_buffer(&pls->pb, &in_fmt, "", NULL, 0, 0); in reopen_demux_for_component() 1931 ret = avformat_open_input(&pls->ctx, "", in_fmt, &in_fmt_opts); //pls->init_section->url in reopen_demux_for_component()
|