/third_party/ffmpeg/libswresample/x86/ |
D | audio_convert_init.c | 37 enum AVSampleFormat out_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 87 out_fmt = av_get_packed_sample_fmt(out_fmt); in swri_dither_init() 91 if(out_fmt == AV_SAMPLE_FMT_S32) scale = 1.0/(1LL<<31); in swri_dither_init() 92 if(out_fmt == AV_SAMPLE_FMT_S16) scale = 1.0/(1LL<<15); in swri_dither_init() 93 if(out_fmt == AV_SAMPLE_FMT_U8 ) scale = 1.0/(1LL<< 7); 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() 102 if (out_fmt == AV_SAMPLE_FMT_S32 && s->dither.output_sample_bits) in swri_dither_init() [all …]
|
D | audioconvert.c | 145 AudioConvert *swri_audio_convert_alloc(enum AVSampleFormat out_fmt, in swri_audio_convert_alloc() argument 151 …conv_func_type *f = fmt_pair_to_conv_functions[av_get_packed_sample_fmt(out_fmt) + AV_SAMPLE_FMT_N… in swri_audio_convert_alloc() 161 out_fmt = av_get_planar_sample_fmt(out_fmt); in swri_audio_convert_alloc() 170 if(out_fmt == in_fmt && !ch_map) { 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); 210 enum AVSampleFormat out_fmt, 214 enum AVSampleFormat out_fmt, 218 enum AVSampleFormat out_fmt,
|
D | audioconvert.h | 59 AudioConvert *swri_audio_convert_alloc(enum AVSampleFormat out_fmt,
|
/third_party/ffmpeg/libavresample/ |
D | audio_convert.c | 52 enum AVSampleFormat out_fmt; member 70 void ff_audio_convert_set_func(AudioConvert *ac, enum AVSampleFormat out_fmt, in ff_audio_convert_set_func() argument 80 av_get_packed_sample_fmt(ac->out_fmt) == out_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() 130 av_get_sample_fmt_name(ac->out_fmt), descr); in ff_audio_convert_set_func() 261 enum AVSampleFormat out_fmt, in ff_audio_convert_alloc() argument 274 ac->out_fmt = out_fmt; in ff_audio_convert_alloc() 280 av_get_packed_sample_fmt(out_fmt) == AV_SAMPLE_FMT_S16 && 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 | 48 void ff_audio_convert_set_func(AudioConvert *ac, enum AVSampleFormat out_fmt, 65 enum AVSampleFormat out_fmt,
|
D | dither.c | 346 enum AVSampleFormat out_fmt, in ff_dither_alloc() argument 354 if (av_get_packed_sample_fmt(out_fmt) != AV_SAMPLE_FMT_S16 || in ff_dither_alloc() 357 av_get_sample_fmt_name(in_fmt), av_get_sample_fmt_name(out_fmt)); in ff_dither_alloc() 391 if (out_fmt != AV_SAMPLE_FMT_S16P) { in ff_dither_alloc() 397 c->ac_out = ff_audio_convert_alloc(avr, out_fmt, AV_SAMPLE_FMT_S16P, in ff_dither_alloc()
|
D | dither.h | 67 enum AVSampleFormat out_fmt,
|
D | utils.c | 73 enum AVSampleFormat out_fmt = av_get_planar_sample_fmt(avr->out_sample_fmt); in avresample_open() local 75 av_get_bytes_per_sample(out_fmt)); in avresample_open() 83 out_fmt == AV_SAMPLE_FMT_S32P) { in avresample_open() 85 out_fmt == AV_SAMPLE_FMT_FLTP) { in avresample_open()
|
/third_party/ffmpeg/libswresample/aarch64/ |
D | audio_convert_init.c | 49 enum AVSampleFormat out_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 | 49 enum AVSampleFormat out_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/libavfilter/ |
D | vf_mergeplanes.c | 40 const enum AVPixelFormat out_fmt; member 55 …{ "format", "set output pixel format", OFFSET(out_fmt), AV_OPT_TYPE_PIXEL_FMT, {.i64=AV_PIX_FMT_YU… 67 s->outdesc = av_pix_fmt_desc_get(s->out_fmt); in init() 73 s->nb_planes = av_pix_fmt_count_planes(s->out_fmt); in init() 114 s->outdesc = av_pix_fmt_desc_get(s->out_fmt); in query_formats() 129 if ((ret = ff_add_format(&formats, s->out_fmt)) < 0 || in query_formats()
|
D | vf_scale_npp.c | 65 enum AVPixelFormat out_fmt; member 164 av_pix_fmt_get_chroma_sub_sample(stage->out_fmt, &out_sw, &out_sh); in init_stage() 183 out_ctx->sw_format = stage->out_fmt; in init_stage() 300 s->stages[STAGE_DEINTERLEAVE].out_fmt = in_deinterleaved_format; in init_processing_chain() 305 s->stages[STAGE_RESIZE].out_fmt = out_deinterleaved_format; in init_processing_chain() 312 s->stages[STAGE_INTERLEAVE].out_fmt = out_format; in init_processing_chain()
|
D | vf_transpose_npp.c | 65 enum AVPixelFormat out_fmt; member 132 av_pix_fmt_get_chroma_sub_sample(stage->out_fmt, &out_sw, &out_sh); in init_stage() 152 out_ctx->sw_format = stage->out_fmt; in init_stage() 225 s->stages[STAGE_ROTATE].out_fmt = format; in init_processing_chain() 231 s->stages[STAGE_TRANSPOSE].out_fmt = format; in init_processing_chain()
|
D | vf_scale_cuda.c | 78 enum AVPixelFormat out_fmt; member 177 out_ctx->sw_format = s->out_fmt; in init_hwframe_ctx() 244 s->out_fmt = out_format; in init_processing_chain()
|
/third_party/ffmpeg/libavresample/tests/ |
D | avresample.c | 208 enum AVSampleFormat out_fmt; in main() local 275 out_fmt = formats[j]; in main() 283 av_get_sample_fmt_name(in_fmt), av_get_sample_fmt_name(out_fmt), in main() 288 out_rate * 6, out_fmt, 0); in main() 298 av_opt_set_int(s, "out_sample_fmt", out_fmt, 0); in main()
|
/third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
D | pnm.c | 40 const gchar *out_fmt; in GST_START_TEST() member 72 test_formats[i].out_fmt, NULL); in GST_START_TEST()
|
/third_party/ffmpeg/libavutil/ |
D | opt.h | 762 … av_opt_get_pixel_fmt (void *obj, const char *name, int search_flags, enum AVPixelFormat *out_fmt); 763 …av_opt_get_sample_fmt(void *obj, const char *name, int search_flags, enum AVSampleFormat *out_fmt);
|
D | opt.c | 986 static int get_format(void *obj, const char *name, int search_flags, int *out_fmt, in get_format() argument 1000 *out_fmt = *(int *)dst; in get_format() 1004 int av_opt_get_pixel_fmt(void *obj, const char *name, int search_flags, enum AVPixelFormat *out_fmt) in av_opt_get_pixel_fmt() argument 1006 return get_format(obj, name, search_flags, out_fmt, AV_OPT_TYPE_PIXEL_FMT, "pixel"); in av_opt_get_pixel_fmt() 1009 … av_opt_get_sample_fmt(void *obj, const char *name, int search_flags, enum AVSampleFormat *out_fmt) in av_opt_get_sample_fmt() argument 1011 return get_format(obj, name, search_flags, out_fmt, AV_OPT_TYPE_SAMPLE_FMT, "sample"); in av_opt_get_sample_fmt()
|
/third_party/ffmpeg/libavcodec/ |
D | v4l2_context.c | 165 struct v4l2_format out_fmt = s->output.format; in v4l2_handle_event() local 183 ret = ioctl(s->fd, VIDIOC_G_FMT, &out_fmt); in v4l2_handle_event() 195 full_reinit = v4l2_resolution_changed(&s->output, &out_fmt); in v4l2_handle_event() 197 s->output.height = v4l2_get_height(&out_fmt); in v4l2_handle_event() 198 s->output.width = v4l2_get_width(&out_fmt); in v4l2_handle_event()
|
/third_party/mesa3d/src/vulkan/wsi/ |
D | wsi_common_wayland.c | 795 vk_outarray_append_typed(VkSurfaceFormatKHR, &out, out_fmt) { in wsi_wl_surface_get_formats() 796 out_fmt->format = disp_fmt->vk_format; in wsi_wl_surface_get_formats() 797 out_fmt->colorSpace = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR; in wsi_wl_surface_get_formats() 834 vk_outarray_append_typed(VkSurfaceFormat2KHR, &out, out_fmt) { in wsi_wl_surface_get_formats2() 835 out_fmt->surfaceFormat.format = disp_fmt->vk_format; in wsi_wl_surface_get_formats2() 836 out_fmt->surfaceFormat.colorSpace = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR; in wsi_wl_surface_get_formats2()
|
/third_party/ffmpeg/tests/ |
D | fate-run.sh | 176 out_fmt=$1 181 encfile="${outdir}/${test}.${out_fmt}" 184 ffmpeg -auto_conversion_filters -i $src_file "$@" -f $out_fmt -y ${encfile} || return
|
/third_party/gstreamer/gstplugins_bad/sys/v4l2codecs/ |
D | gstv4l2decoder.h | 53 gint i, guint32 * out_fmt);
|
D | gstv4l2decoder.c | 295 guint32 * out_fmt) in gst_v4l2_decoder_enum_sink_fmt() argument 311 *out_fmt = fmtdesc.pixelformat; in gst_v4l2_decoder_enum_sink_fmt()
|