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

Lines Matching defs:of

4  * This file is part of FFmpeg.
7 * modify it under the terms of the GNU Lesser General Public
9 * version 2.1 of the License, or (at your option) any later version.
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * You should have received a copy of the GNU Lesser General Public
272 /* subtitles seem to be usually muxed ahead of other streams;
297 /* end of sub2video hack */
459 OutputFile *of = output_files[i];
460 AVFormatContext *s = of->ctx;
464 av_dict_free(&of->opts);
587 * But there is no reordering, so we can limit the number of output packets
589 * Counting encoded video frames needs to be done separately because of
610 uint8_t *t = av_malloc(new_pkt.size + FF_INPUT_BUFFER_PADDING_SIZE); //the new should be a subset of the old so cannot overflow
700 OutputFile *of = output_files[ost->file_index];
703 if (of->shortest) {
705 of->recording_time = FFMIN(of->recording_time, end);
711 OutputFile *of = output_files[ost->file_index];
713 if (of->recording_time != INT64_MAX &&
714 av_compare_ts(ost->sync_opts - ost->first_pts, ost->enc_ctx->time_base, of->recording_time,
1074 * For video, number of frames in == number of packets out.
1128 OutputFile *of = output_files[ost->file_index];
1133 if (of->shortest) {
1134 for (i = 0; i < of->ctx->nb_streams; i++)
1135 output_streams[of->ost_index + i]->finished = ENCODER_FINISHED | MUXER_FINISHED;
1140 * Get and encode new output from any of the filtergraphs, without causing
1154 OutputFile *of = output_files[ost->file_index];
1184 int64_t start_time = (of->start_time == AV_NOPTS_VALUE) ? 0 : of->start_time;
1204 do_video_out(of->ctx, ost, filtered_frame);
1214 do_audio_out(of->ctx, ost, filtered_frame);
1300 OutputFile *of = output_files[i];
1304 i, of->ctx->filename);
1306 for (j = 0; j < of->ctx->nb_streams; j++) {
1307 OutputStream *ost = output_streams[of->ost_index + j];
1582 OutputFile *of = output_files[ost->file_index];
1591 if (of->start_time != AV_NOPTS_VALUE && ist->pts < of->start_time)
1599 OutputFile *of = output_files[ost->file_index];
1601 int64_t start_time = (of->start_time == AV_NOPTS_VALUE) ? 0 : of->start_time;
1623 if (of->recording_time != INT64_MAX &&
1624 ist->pts >= of->recording_time + start_time) {
1686 if (ost->st->codec->codec_type == AVMEDIA_TYPE_VIDEO && (of->ctx->oformat->flags & AVFMT_RAWPICTURE)) {
1694 write_frame(of->ctx, &opkt, ost);
1809 /* if the decoder provides a pts, use it instead of the last packet pts.
2393 static void set_encoder_id(OutputFile *of, OutputStream *ost)
2405 e = av_dict_get(of->opts, "fflags", NULL, 0);
2407 const AVOption *o = av_opt_find(of->ctx, "fflags", NULL, 0, 0);
2410 av_opt_eval_flags(of->ctx, o, e->value, &format_flags);
2687 "back to a default value of 25fps for output stream #%d:%d. Use the -r option "
2924 of stream copy */
3028 OutputFile *of = output_files[ost->file_index];
3032 (os->pb && avio_tell(os->pb) >= of->limit_filesize))
3036 for (j = 0; j < of->ctx->nb_streams; j++)
3037 close_output_stream(output_streams[of->ost_index + j]);
3381 // FIXME this ideally should be done before the first use of starttime but we do not know which are the enabled streams at that point.
3382 // so we instead do it here as part of discontinuity handling
3523 * Perform a step of transcoding for the specified filter graph.
3571 * Run a single step of transcoding.
3615 * The following code is the main loop of the file converter
3670 /* at the end of stream, we must flush the decoder buffers */