Lines Matching defs:ctx
507 static int decode_interrupt_cb(void *ctx)
609 avformat_close_input(&input_files[i]->ctx);
1435 i, f->ctx->url);
1469 i, of->ctx->url);
1471 for (j = 0; j < of->ctx->nb_streams; j++) {
1542 oc = output_files[0]->ctx;
1850 start_time += start_at_zero ? 0 : f->ctx->start_time;
1918 "%s: corrupt decoded frame in stream %d\n", input_files[ist->file_index]->ctx->url, ist->st->index);
2680 AVBSFContext *ctx = ost->bsf_ctx;
2683 if (!ctx)
2686 ret = avcodec_parameters_copy(ctx->par_in, ost->st->codecpar);
2690 ctx->time_base_in = ost->st->time_base;
2692 ret = av_bsf_init(ctx);
2695 ctx->filter->name);
2699 ret = avcodec_parameters_copy(ost->st->codecpar, ctx->par_out);
2702 ost->st->time_base = ctx->time_base_out;
2840 const AVOption *o = av_opt_find(of->ctx, "fflags", NULL, 0, 0);
2843 av_opt_eval_flags(of->ctx, o, e->value, &format_flags);
2893 AVFormatContext *avf = output_files[ost->file_index]->ctx;
2947 oc = output_files[ost->file_index]->ctx;
2960 AVFormatContext *oc = of->ctx;
3264 AVStream *st = file->ctx->streams[pkt->stream_index];
3268 av_log(file->ctx, AV_LOG_WARNING,
3340 for (j = 0; j < ifile->ctx->nb_programs; j++) {
3341 AVProgram *p = ifile->ctx->programs[j];
3355 oc = output_files[i]->ctx;
3465 AVFormatContext *os = output_files[ost->file_index]->ctx;
3472 for (j = 0; j < of->ctx->nb_streams; j++)
3651 ret = av_read_frame(f->ctx, pkt);
3672 av_log(f->ctx, AV_LOG_WARNING,
3679 av_log(f->ctx, AV_LOG_ERROR,
3725 if (f->ctx->pb ? !f->ctx->pb->seekable :
3726 strcmp(f->ctx->iformat->name, "lavfi"))
3767 (f->ctx->start_time != AV_NOPTS_VALUE ? f->ctx->start_time * !start_at_zero : 0) +
3788 return av_read_frame(f->ctx, *pkt);
3906 is = ifile->ctx;
4401 os = output_files[i]->ctx;