Searched refs:time_base (Results 126 - 150 of 417) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavfilter/
H A Davfilter.c263 if (!link->time_base.num && !link->time_base.den)
264 link->time_base = inlink ? inlink->time_base : AV_TIME_BASE_Q;
288 if (!link->time_base.num && !link->time_base.den)
289 link->time_base = inlink->time_base;
292 if (!link->time_base.num && !link->time_base
[all...]
H A Dvf_frei0r.c75 AVRational time_base; member in struct:Frei0rContext
405 s->update(s->instance, in->pts * av_q2d(inlink->time_base) * 1000,
458 s->time_base.num = s->framerate.den;
459 s->time_base.den = s->framerate.num;
473 outlink->time_base = s->time_base;
501 s->update(s->instance, av_rescale_q(frame->pts, s->time_base, (AVRational){1,1000}),
H A Davf_concat.c130 outlink->time_base = AV_TIME_BASE_Q;
170 buf->pts = av_rescale_q(buf->pts, inlink->time_base, outlink->time_base);
178 outlink->time_base);
267 outlink->time_base, rate_tb);
276 buf->pts = base_pts + av_rescale_q(sent, rate_tb, outlink->time_base);
H A Daf_aresample.c155 outlink->time_base = (AVRational) {1, out_rate};
198 int64_t inpts = av_rescale(insamplesref->pts, inlink->time_base.num * (int64_t)outlink->sample_rate * inlink->sample_rate, inlink->time_base.den);
H A Daf_asyncts.c92 link->time_base = (AVRational){1, link->sample_rate};
184 av_rescale_q(buf->pts, inlink->time_base, outlink->time_base);
H A Dvf_zoompan.c163 int64_t pts = av_rescale_q(in->pts, inlink->time_base,
164 outlink->time_base) + s->frame_count;
166 var_values[VAR_TIME] = pts * av_q2d(outlink->time_base);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavformat/
H A Dnutdec.c208 nut->time_base= av_malloc(nut->time_base_count * sizeof(AVRational));
211 GET_V(nut->time_base[i].num, tmp>0 && tmp<(1ULL<<31))
212 GET_V(nut->time_base[i].den, tmp>0 && tmp<(1ULL<<31))
213 if(av_gcd(nut->time_base[i].num, nut->time_base[i].den) != 1){
307 GET_V(stream_id, tmp < s->nb_streams && !nut->stream[tmp].time_base);
376 stc->time_base= &nut->time_base[stc->time_base_id];
377 avpriv_set_pts_info(s->streams[stream_id], 63, stc->time_base->num, stc->time_base
[all...]
H A Ddv.c262 avpriv_set_pts_info(c->vst, 64, c->sys->time_base.num,
263 c->sys->time_base.den);
264 avctx->time_base= c->sys->time_base;
278 c->sys->time_base);
405 c->abytes= av_rescale_q(c->frames, c->sys->time_base,
458 c->dv_demux->sys->time_base);
H A Dgxfenc.c62 AVRational time_base; member in struct:GXFContext
397 int timecode_base = gxf->time_base.den == 60000 ? 60 : 50;
693 /* FIXME check from time_base ? */
698 gxf->time_base = (AVRational){ 1001, 60000 };
704 gxf->time_base = (AVRational){ 1, 50 };
710 avpriv_set_pts_info(st, 64, gxf->time_base.num, gxf->time_base.den);
839 field_nb = av_rescale_rnd(pkt->dts, gxf->time_base.den,
840 (int64_t)48000*gxf->time_base.num, AV_ROUND_UP);
928 field_nb[i] = av_rescale_rnd(pkt[i]->dts, gxf->time_base
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/
H A Did3v2enc.c200 const AVRational time_base = {1, 1000}; local
210 start = av_rescale_q(ch->start, ch->time_base, time_base);
211 end = av_rescale_q(ch->end, ch->time_base, time_base);
H A Dsegment.c711 pkt->stream_index, av_ts2str(pkt->pts), av_ts2timestr(pkt->pts, &st->time_base),
719 av_compare_ts(pkt->pts, st->time_base,
729 seg->cur_entry.start_time = (double)pkt->pts * av_q2d(st->time_base);
730 seg->cur_entry.start_pts = av_rescale_q(pkt->pts, st->time_base, AV_TIME_BASE_Q);
733 FFMAX(seg->cur_entry.end_time, (double)(pkt->pts + pkt->duration) * av_q2d(st->time_base));
739 av_ts2str(pkt->pts), av_ts2timestr(pkt->pts, &st->time_base), seg->frame_count);
746 av_ts2str(pkt->pts), av_ts2timestr(pkt->pts, &st->time_base),
747 av_ts2str(pkt->dts), av_ts2timestr(pkt->dts, &st->time_base));
751 AV_TIME_BASE_Q, st->time_base);
758 av_ts2str(pkt->pts), av_ts2timestr(pkt->pts, &st->time_base),
[all...]
H A Dgxfenc.c77 AVRational time_base; member in struct:GXFContext
437 int timecode_base = gxf->time_base.den == 60000 ? 60 : 50;
756 /* FIXME check from time_base ? */
761 gxf->time_base = (AVRational){ 1001, 60000 };
767 gxf->time_base = (AVRational){ 1, 50 };
775 avpriv_set_pts_info(st, 64, gxf->time_base.num, gxf->time_base.den);
911 field_nb = av_rescale_rnd(pkt->dts, gxf->time_base.den,
912 (int64_t)48000*gxf->time_base.num, AV_ROUND_UP);
1003 field_nb[i] = av_rescale_rnd(pkt[i]->dts, gxf->time_base
[all...]
H A Davidec.c457 st->codec->bit_rate = av_rescale(8*len, st->time_base.den, duration * st->time_base.num);
674 st->avg_frame_rate = av_inv_q(st->time_base);
1004 AVRational time_base; local
1042 time_base = ast->sub_ctx->streams[0]->time_base;
1043 avpriv_set_pts_info(st, 64, time_base.num, time_base.den);
1063 next_ts = av_rescale_q(next_ast->frame_offset, next_st->time_base,
1070 ts = av_rescale_q(ast->sub_pkt.dts, st->time_base, AV_TIME_BASE_
[all...]
H A Ddv.c292 avpriv_set_pts_info(c->vst, 64, c->sys->time_base.num,
293 c->sys->time_base.den);
294 c->vst->avg_frame_rate = av_inv_q(c->vst->time_base);
304 c->sys->time_base);
446 c->abytes = av_rescale_q(c->frames, c->sys->time_base,
537 c->dv_demux->sys->time_base);
H A Dwavdec.c482 av_compare_ts(video_dts, s->streams[1]->time_base,
483 audio_dts, s->streams[0]->time_base) > 0 : 0;
564 smv_timestamp = av_rescale_q(timestamp, s->streams[0]->time_base, s->streams[1]->time_base);
566 timestamp = av_rescale_q(smv_timestamp, s->streams[1]->time_base, s->streams[0]->time_base);
H A Dhlsenc.c280 * st->time_base.num / st->time_base.den;
282 if (can_split && av_compare_ts(pkt->pts - hls->start_pts, st->time_base,
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavfilter/
H A Dvf_frei0r.c62 AVRational time_base; member in struct:Frei0rContext
349 frei0r->update(frei0r->instance, inpicref->pts * av_q2d(inlink->time_base) * 1000,
405 frei0r->time_base.num = frame_rate_q.den;
406 frei0r->time_base.den = frame_rate_q.num;
420 outlink->time_base = frei0r->time_base;
439 frei0r->update(frei0r->instance, av_rescale_q(picref->pts, frei0r->time_base, (AVRational){1,1000}),
H A Dvf_overlay.c184 AVRational tb1 = ctx->inputs[MAIN ]->time_base;
185 AVRational tb2 = ctx->inputs[OVERLAY]->time_base;
186 AVRational *tb = &ctx->outputs[0]->time_base;
216 outpicref->pts = av_rescale_q(outpicref->pts, ctx->inputs[MAIN]->time_base,
217 ctx->outputs[0]->time_base);
239 over->overpicref->pts = av_rescale_q(inpicref->pts, ctx->inputs[OVERLAY]->time_base,
240 ctx->outputs[0]->time_base);
H A Dvf_select.c157 select->var_values[VAR_TB] = av_q2d(inlink->time_base);
190 select->var_values[VAR_START_T] = TS2D(picref->pts) * av_q2d(inlink->time_base);
193 select->var_values[VAR_T ] = TS2D(picref->pts) * av_q2d(inlink->time_base);
H A Dvsrc_movie.c215 outlink->time_base = movie->format_ctx->streams[movie->stream_index]->time_base;
257 (double)movie->picref->pts * av_q2d(st->time_base),
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/
H A Davconv.c973 pkt.pts = av_rescale_q(pkt.pts, enc->time_base, ost->st->time_base);
975 pkt.duration = av_rescale_q(pkt.duration, enc->time_base, ost->st->time_base);
1246 sub->pts = av_rescale_q(pts, ist->st->time_base, AV_TIME_BASE_Q);
1262 pkt.pts = av_rescale_q(sub->pts, AV_TIME_BASE_Q, ost->st->time_base);
1344 sync_ipts = get_sync_ipts(ost) / av_q2d(enc->time_base);
1404 pkt.pts = av_rescale_q(ost->sync_opts, enc->time_base, ost->st->time_base);
1429 // big_picture.pts= av_rescale(ost->sync_opts, AV_TIME_BASE*(int64_t)enc->time_base
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Dlibxvid.c313 frate = avctx->time_base.den;
314 fbase = avctx->time_base.num;
323 avctx->time_base.den = frate;
324 avctx->time_base.num = fbase;
345 avctx->time_base.den = est_frate;
346 avctx->time_base.num = est_fbase;
351 avctx->time_base.den = frate;
352 avctx->time_base.num = fbase;
584 xvid_enc_create.fincr = avctx->time_base.num;
585 xvid_enc_create.fbase = avctx->time_base
[all...]
H A Dituh263dec.c85 s->avctx->time_base.den, s->avctx->time_base.num
925 s->avctx->time_base= (AVRational){1001, 30000};
1024 s->avctx->time_base.den= 1800000;
1025 s->avctx->time_base.num= 1000 + get_bits1(&s->gb);
1026 s->avctx->time_base.num*= get_bits(&s->gb, 7);
1027 if(s->avctx->time_base.num == 0){
1031 gcd= av_gcd(s->avctx->time_base.den, s->avctx->time_base.num);
1032 s->avctx->time_base
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavdevice/
H A Ddecklink_enc.cpp243 c->time_base.num, c->time_base.den)) {
259 ctx->frames_preroll = c->time_base.den * ctx->preroll;
260 if (c->time_base.den > 1000)
269 avpriv_set_pts_info(st, 64, c->time_base.num, c->time_base.den);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Dituh263dec.c86 s->avctx->time_base.den, s->avctx->time_base.num
942 s->avctx->time_base= (AVRational){1001, 30000};
1038 s->avctx->time_base.den= 1800000;
1039 s->avctx->time_base.num= 1000 + get_bits1(&s->gb);
1040 s->avctx->time_base.num*= get_bits(&s->gb, 7);
1041 if(s->avctx->time_base.num == 0){
1045 gcd= av_gcd(s->avctx->time_base.den, s->avctx->time_base.num);
1046 s->avctx->time_base
[all...]

Completed in 272 milliseconds

1234567891011>>