Lines Matching refs:time_base
47 AVRational time_base; ///< time_base to set in the output link
311 if (c->pix_fmt == AV_PIX_FMT_NONE || !c->w || !c->h || av_q2d(c->time_base) <= 0) {
321 c->time_base.num, c->time_base.den, c->frame_rate.num, c->frame_rate.den,
344 { "time_base_num", "deprecated, do not use", OFFSET(time_base.num), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, V },
345 { "time_base_den", "deprecated, do not use", OFFSET(time_base.den), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, V },
351 { "time_base", NULL, OFFSET(time_base), AV_OPT_TYPE_RATIONAL, { .dbl = 0 }, 0, DBL_MAX, V },
360 { "time_base", NULL, OFFSET(time_base), AV_OPT_TYPE_RATIONAL, { .dbl = 0 }, 0, INT_MAX, A },
409 if (!s->time_base.num)
410 s->time_base = (AVRational){1, s->sample_rate};
414 s->time_base.num, s->time_base.den, av_get_sample_fmt_name(s->sample_fmt),
481 link->time_base = c->time_base;