• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/

Lines Matching refs:oformat

121 int avformat_alloc_output_context2(AVFormatContext **avctx, AVOutputFormat *oformat,
131 if (!oformat) {
133 oformat = av_guess_format(format, NULL, NULL);
134 if (!oformat) {
140 oformat = av_guess_format(NULL, filename, NULL);
141 if (!oformat) {
150 s->oformat = oformat;
151 if (s->oformat->priv_data_size > 0) {
152 s->priv_data = av_mallocz(s->oformat->priv_data_size);
155 if (s->oformat->priv_class) {
156 *(const AVClass**)s->priv_data= s->oformat->priv_class;
176 AVOutputFormat *oformat, const char *filename)
179 int ret = avformat_alloc_output_context2(&avctx, oformat, format, filename);
197 for (n = 0; s->oformat->codec_tag[n]; n++) {
198 avctag = s->oformat->codec_tag[n];
224 AVOutputFormat *of = s->oformat;
232 if (s->priv_data && s->oformat->priv_class && *(const AVClass**)s->priv_data==s->oformat->priv_class &&
322 av_get_codec_tag_string(tagbuf2, sizeof(tagbuf2), av_codec_get_tag(s->oformat->codec_tag, codec->codec_id));
418 if (s->oformat->write_header) {
419 ret = s->oformat->write_header(s);
430 if (s->oformat->flags & (AVFMT_TS_NEGATIVE | AVFMT_NOTIMESTAMPS)) {
499 ((!(s->oformat->flags & AVFMT_TS_NONSTRICT) &&
590 ret = s->oformat->write_uncoded_frame(s, pkt->stream_index, &frame, 0);
593 ret = s->oformat->write_packet(s, pkt);
633 if (s->oformat->flags & AVFMT_ALLOW_FLUSH) {
634 ret = s->oformat->write_packet(s, NULL);
646 if (ret < 0 && !(s->oformat->flags & AVFMT_NOTIMESTAMPS))
849 if (s->oformat->interleave_packet) {
850 int ret = s->oformat->interleave_packet(s, out, in, flush);
871 if ((ret = compute_pkt_fields2(s, st, pkt)) < 0 && !(s->oformat->flags & AVFMT_NOTIMESTAMPS))
874 if (pkt->dts == AV_NOPTS_VALUE && !(s->oformat->flags & AVFMT_NOTIMESTAMPS)) {
934 if (s->oformat->write_trailer)
935 ret = s->oformat->write_trailer(s);
946 if (s->oformat->priv_class)
955 if (!s->oformat || !s->oformat->get_output_timestamp)
957 s->oformat->get_output_timestamp(s, stream, dts, wall);
988 av_assert0(s->oformat);
989 if (!s->oformat->write_uncoded_frame)
1024 av_assert0(s->oformat);
1025 if (!s->oformat->write_uncoded_frame)
1027 return s->oformat->write_uncoded_frame(s, stream_index, NULL,