Home
last modified time | relevance | path

Searched refs:oformat (Results 1 – 25 of 42) sorted by relevance

12

/third_party/ffmpeg/libavformat/
Dmux.c91 int avformat_alloc_output_context2(AVFormatContext **avctx, const AVOutputFormat *oformat, in avformat_alloc_output_context2() argument
101 if (!oformat) { in avformat_alloc_output_context2()
103 oformat = av_guess_format(format, NULL, NULL); in avformat_alloc_output_context2()
104 if (!oformat) { in avformat_alloc_output_context2()
110 oformat = av_guess_format(NULL, filename, NULL); in avformat_alloc_output_context2()
111 if (!oformat) { in avformat_alloc_output_context2()
120 s->oformat = oformat; in avformat_alloc_output_context2()
121 if (s->oformat->priv_data_size > 0) { in avformat_alloc_output_context2()
122 s->priv_data = av_mallocz(s->oformat->priv_data_size); in avformat_alloc_output_context2()
125 if (s->oformat->priv_class) { in avformat_alloc_output_context2()
[all …]
Doptions.c46 else if(fc->oformat) return fc->oformat->name; in format_to_name()
55 s->oformat && s->oformat->priv_class)) in format_child_next()
143 s->oformat && !strcmp(s->oformat->name, "image2") in io_open_default()
Dsegment.c76 const AVOutputFormat *oformat; member
152 ret = avformat_alloc_output_context2(&seg->avf, seg->oformat, NULL, NULL); in segment_mux_init()
176 if (!oc->oformat->codec_tag || in segment_mux_init()
177 av_codec_get_id (oc->oformat->codec_tag, ipar->codec_tag) == opar->codec_id || in segment_mux_init()
178 av_codec_get_tag(oc->oformat->codec_tag, ipar->codec_id) <= 0) { in segment_mux_init()
260 if (oc->oformat->priv_class && oc->priv_data) in segment_start()
743 seg->oformat = av_guess_format(seg->format, s->url, NULL); in seg_init()
745 if (!seg->oformat) in seg_init()
747 if (seg->oformat->flags & AVFMT_NOFILE) { in seg_init()
749 seg->oformat->name); in seg_init()
[all …]
Drtp.c97 const AVOutputFormat *ofmt = fmt ? fmt->oformat : NULL; in ff_rtp_get_payload_type()
110 if (par->codec_id == AV_CODEC_ID_H263 && (!fmt || !fmt->oformat || in ff_rtp_get_payload_type()
111 !fmt->oformat->priv_class || !fmt->priv_data || in ff_rtp_get_payload_type()
Dmxfenc.c669 if (s->oformat == &ff_mxf_opatom_muxer) in mxf_write_preface()
767 …const char *product = product_entry ? product_entry->value : s->oformat != &ff_mxf_opatom_muxer ? … in mxf_write_identification()
868 if (st == mxf->timecode_track && s->oformat == &ff_mxf_opatom_muxer) { in mxf_write_track()
904 …if (st != mxf->timecode_track && s->oformat == &ff_mxf_opatom_muxer && st->codecpar->codec_type ==… in mxf_write_common_fields()
1068 if (s->oformat == &ff_mxf_d10_muxer) { in mxf_write_generic_desc()
1140 if (s->oformat == &ff_mxf_d10_muxer) { in mxf_write_cdci_common()
1437 if (s->oformat == &ff_mxf_opatom_muxer) { in mxf_write_generic_sound_common()
1451 if (s->oformat == &ff_mxf_d10_muxer) { in mxf_write_generic_sound_common()
1458 if (show_warnings && (s->oformat == &ff_mxf_d10_muxer) && in mxf_write_generic_sound_common()
1463 } else if (s->oformat == &ff_mxf_d10_muxer) { in mxf_write_generic_sound_common()
[all …]
Drawenc.c41 s->oformat->name); in force_one_stream()
44 if ( s->oformat->audio_codec != AV_CODEC_ID_NONE in force_one_stream()
47 s->oformat->name); in force_one_stream()
50 if ( s->oformat->video_codec != AV_CODEC_ID_NONE in force_one_stream()
53 s->oformat->name); in force_one_stream()
Dwebm_chunk.c54 const AVOutputFormat *oformat; in webm_chunk_init() local
71 oformat = av_guess_format("webm", s->url, "video/webm"); in webm_chunk_init()
72 if (!oformat) in webm_chunk_init()
75 ret = avformat_alloc_output_context2(&wc->avf, oformat, NULL, NULL); in webm_chunk_init()
Dfifo.c483 static int fifo_mux_init(AVFormatContext *avf, const AVOutputFormat *oformat, in fifo_mux_init() argument
490 ret = avformat_alloc_output_context2(&avf2, oformat, NULL, filename); in fifo_mux_init()
523 const AVOutputFormat *oformat; in fifo_init() local
534 oformat = av_guess_format(fifo->format, avf->url, NULL); in fifo_init()
535 if (!oformat) { in fifo_init()
540 ret = fifo_mux_init(avf, oformat, avf->url); in fifo_init()
Dmux_utils.c116 if (!s->oformat) in ff_format_output_open()
119 if (!(s->oformat->flags & AVFMT_NOFILE)) in ff_format_output_open()
Dhdsenc.c313 const AVOutputFormat *oformat; in hds_write_header() local
321 oformat = av_guess_format("flv", NULL, NULL); in hds_write_header()
322 if (!oformat) { in hds_write_header()
365 ctx->oformat = oformat; in hds_write_header()
Dsdp.c524 if (fmt && fmt->oformat && fmt->oformat->priv_class && in sdp_write_media_attributes()
558 if (!fmt || !fmt->oformat->priv_class || in sdp_write_media_attributes()
589 if (fmt && fmt->oformat && fmt->oformat->priv_class && in sdp_write_media_attributes()
Drtpenc_mpegts.c74 mpegts_ctx->oformat = mpegts_format; in rtp_mpegts_write_header()
107 rtp_ctx->oformat = rtp_format; in rtp_mpegts_write_header()
Davformat.c103 if (s->oformat && s->oformat->deinit && si->initialized) in avformat_free_context()
104 s->oformat->deinit(s); in avformat_free_context()
109 if (s->oformat && s->oformat->priv_class && s->priv_data) in avformat_free_context()
Dsmoothstreamingenc.c285 const AVOutputFormat *oformat; in ism_write_header() local
292 oformat = av_guess_format("ismv", NULL, NULL); in ism_write_header()
293 if (!oformat) { in ism_write_header()
327 ctx->oformat = oformat; in ism_write_header()
Dmpegenc.c310 s->is_vcd = (CONFIG_MPEG1VCD_MUXER && ctx->oformat == &ff_mpeg1vcd_muxer); in mpeg_mux_init()
311 s->is_svcd = (CONFIG_MPEG2SVCD_MUXER && ctx->oformat == &ff_mpeg2svcd_muxer); in mpeg_mux_init()
312 s->is_mpeg2 = ((CONFIG_MPEG2VOB_MUXER && ctx->oformat == &ff_mpeg2vob_muxer) || in mpeg_mux_init()
313 (CONFIG_MPEG2DVD_MUXER && ctx->oformat == &ff_mpeg2dvd_muxer) || in mpeg_mux_init()
314 (CONFIG_MPEG2SVCD_MUXER && ctx->oformat == &ff_mpeg2svcd_muxer)); in mpeg_mux_init()
315 s->is_dvd = (CONFIG_MPEG2DVD_MUXER && ctx->oformat == &ff_mpeg2dvd_muxer); in mpeg_mux_init()
Dsupenc.c78 s->oformat->name); in sup_write_header()
Drtpenc_chain.c50 rtpctx->oformat = rtp_format; in ff_rtp_chain_mux_open()
/third_party/ffmpeg/libavdevice/
Davdevice.c32 if (!s->oformat || !s->oformat->control_message) in avdevice_app_to_dev_control_message()
34 return s->oformat->control_message(s, type, data, data_size); in avdevice_app_to_dev_control_message()
63 av_assert0(s->oformat || s->iformat); in avdevice_list_devices()
64 if ((s->oformat && !s->oformat->get_device_list) || in avdevice_list_devices()
74 if (s->oformat) in avdevice_list_devices()
75 ret = s->oformat->get_device_list(s, *device_list); in avdevice_list_devices()
Dbktr.c157 geo.oformat = METEOR_GEO_YUV_422 | METEOR_GEO_YUV_12; in bktr_init()
170 geo.oformat |= METEOR_GEO_EVEN_ONLY; in bktr_init()
/third_party/ffmpeg/tools/
Denum_options.c92 const AVOutputFormat *oformat = NULL; in show_format_opts() local
106 while ((oformat = av_muxer_iterate(&oformat_opaque))) { in show_format_opts()
107 if (!oformat->priv_class) in show_format_opts()
109 printf("@subsection %s AVOptions\n", oformat->priv_class->class_name); in show_format_opts()
110 show_opts(oformat->priv_class); in show_format_opts()
/third_party/ffmpeg/fftools/
Dffmpeg_mux.c114 if (!(s->oformat->flags & AVFMT_NOTIMESTAMPS)) { in of_write_packet()
129 int64_t max = ost->last_mux_dts + !(s->oformat->flags & AVFMT_TS_NONSTRICT); in of_write_packet()
193 if (!strcmp(output_files[i]->ctx->oformat->name, "rtp")) { in print_sdp()
311 if (s && s->oformat && !(s->oformat->flags & AVFMT_NOFILE)) in of_close()
Dffmpeg_opt.c1497 ost->st->codecpar->codec_id = av_guess_codec(s->oformat, NULL, s->url, in choose_encoder()
1504 ost->file_index, ost->index, s->oformat->name, in choose_encoder()
1695 if (oc->oformat->flags & AVFMT_GLOBALHEADER) in new_output_stream()
1999 if (!strcmp(oc->oformat->name, "avi")) { in new_video_stream()
2002 ost->vsync_method = (oc->oformat->flags & AVFMT_VARIABLE_FPS) ? in new_video_stream()
2003 ((oc->oformat->flags & AVFMT_NOTIMESTAMPS) ? in new_video_stream()
2463 of->format = oc->oformat; in open_output_file()
2496 …if (!o->video_disable && av_guess_codec(oc->oformat, NULL, filename, NULL, AVMEDIA_TYPE_VIDEO) != … in open_output_file()
2498 int qcr = avformat_query_codec(oc->oformat, oc->oformat->video_codec, 0); in open_output_file()
2534 …if (!o->audio_disable && av_guess_codec(oc->oformat, NULL, filename, NULL, AVMEDIA_TYPE_AUDIO) != … in open_output_file()
[all …]
/third_party/ltp/testcases/kernel/kvm/
DMakefile60 …$(KVM_LD) -z noexecstack -r -T $(abs_srcdir)/linker/payload.lds --oformat=$(BIN_FORMAT) -o $@ $*-p…
64 …@$(KVM_LD) -z noexecstack -r -T $(abs_srcdir)/linker/payload.lds --oformat=$(BIN_FORMAT) -o $@ $*-…
/third_party/ffmpeg/doc/examples/
Dtranscoding.c186 if (ofmt_ctx->oformat->flags & AVFMT_GLOBALHEADER) in open_output_file()
219 if (!(ofmt_ctx->oformat->flags & AVFMT_NOFILE)) { in open_output_file()
616 if (ofmt_ctx && !(ofmt_ctx->oformat->flags & AVFMT_NOFILE)) in main()
Dtranscode_aac.c175 if (!((*output_format_context)->oformat = av_guess_format(NULL, filename, in open_output_file()
220 if ((*output_format_context)->oformat->flags & AVFMT_GLOBALHEADER) in open_output_file()

12