tb 1466 fftools/ffmpeg.c AVRational tb = enc->time_base; tb 1467 fftools/ffmpeg.c int extra_bits = av_clip(29 - av_log2(tb.den), 0, 16); tb 1469 fftools/ffmpeg.c tb.den <<= extra_bits; tb 1471 fftools/ffmpeg.c av_rescale_q(filtered_frame->pts, filter_tb, tb) - tb 1472 fftools/ffmpeg.c av_rescale_q(start_time, AV_TIME_BASE_Q, tb); tb 760 fftools/ffmpeg_filter.c AVRational tb = ist->framerate.num ? av_inv_q(ist->framerate) : tb 798 fftools/ffmpeg_filter.c tb.num, tb.den, sar.num, sar.den); tb 616 fftools/ffplay.c AVRational tb = (AVRational){1, frame->sample_rate}; tb 618 fftools/ffplay.c frame->pts = av_rescale_q(frame->pts, d->avctx->pkt_timebase, tb); tb 620 fftools/ffplay.c frame->pts = av_rescale_q(d->next_pts, d->next_pts_tb, tb); tb 623 fftools/ffplay.c d->next_pts_tb = tb; tb 2048 fftools/ffplay.c AVRational tb; tb 2059 fftools/ffplay.c tb = (AVRational){1, frame->sample_rate}; tb 2094 fftools/ffplay.c tb = av_buffersink_get_time_base(is->out_audio_filter); tb 2099 fftools/ffplay.c af->pts = (frame->pts == AV_NOPTS_VALUE) ? NAN : frame->pts * av_q2d(tb); tb 2142 fftools/ffplay.c AVRational tb = is->video_st->time_base; tb 2219 fftools/ffplay.c tb = av_buffersink_get_time_base(filt_out); tb 2222 fftools/ffplay.c pts = (frame->pts == AV_NOPTS_VALUE) ? NAN : frame->pts * av_q2d(tb); tb 1823 fftools/ffprobe.c #define print_time(k, v, tb) writer_print_time(w, k, v, tb, 0) tb 1825 fftools/ffprobe.c #define print_duration_time(k, v, tb) writer_print_time(w, k, v, tb, 1) tb 2413 fftools/ffprobe.c AVRational tb = ifile->streams[pkt.stream_index].st->time_base; tb 2416 fftools/ffprobe.c *cur_ts = av_rescale_q(pkt.pts, tb, AV_TIME_BASE_Q); tb 1829 libavcodec/adpcm.c GetByteContext tb; tb 1835 libavcodec/adpcm.c bytestream2_init(&tb, avctx->extradata, avctx->extradata_size); tb 1838 libavcodec/adpcm.c table[i][n] = THP_GET16(tb); tb 281 libavcodec/bsf.c AVRational tb = bsf->time_base_in; tb 288 libavcodec/bsf.c lst->bsfs[i]->time_base_in = tb; tb 295 libavcodec/bsf.c tb = lst->bsfs[i]->time_base_out; tb 298 libavcodec/bsf.c bsf->time_base_out = tb; tb 920 libavcodec/decode.c static int convert_sub_to_old_ass_form(AVSubtitle *sub, const AVPacket *pkt, AVRational tb) tb 952 libavcodec/decode.c ts_start = av_rescale_q(pkt->pts, tb, av_make_q(1, 100)); tb 954 libavcodec/decode.c ts_duration = av_rescale_q(pkt->duration, tb, av_make_q(1, 100)); tb 1019 libavcodec/decode.c const AVRational tb = avctx->pkt_timebase.num ? avctx->pkt_timebase tb 1021 libavcodec/decode.c int err = convert_sub_to_old_ass_form(sub, avpkt, tb); tb 52 libavcodec/h264_direct.c int tb = av_clip_int8(pocdiff0); tb 58 libavcodec/h264_direct.c return av_clip_intp2((tb * tx + 32) >> 6, 10); tb 703 libavcodec/h264_slice.c int tb = av_clip_int8(cur_poc - poc0); tb 705 libavcodec/h264_slice.c int dist_scale_factor = (tb * tx + 32) >> 8; tb 115 libavcodec/hevc_mvs.c static av_always_inline void mv_scale(Mv *dst, Mv *src, int td, int tb) tb 120 libavcodec/hevc_mvs.c tb = av_clip_int8(tb); tb 122 libavcodec/hevc_mvs.c scale_factor = av_clip_intp2((tb * tx + 32) >> 6, 12); tb 132 libavcodec/imc.c double freq, bark, prev_bark = 0, tf, tb; tb 140 libavcodec/imc.c tb = bark - prev_bark; tb 141 libavcodec/imc.c q->weights1[i - 1] = ff_exp10(-1.0 * tb); tb 142 libavcodec/imc.c q->weights2[i - 1] = ff_exp10(-2.7 * tb); tb 151 libavcodec/imc.c tb = freq2bark(tf); tb 152 libavcodec/imc.c if (tb > bark + 0.5) tb 160 libavcodec/imc.c tb = freq2bark(tf); tb 161 libavcodec/imc.c if (tb <= bark - 0.5) tb 80 libavcodec/rpza.c uint16_t ta, tb; tb 179 libavcodec/rpza.c tb = (colorB >> 10) & 0x1F; tb 180 libavcodec/rpza.c color4[1] |= ((11 * ta + 21 * tb) >> 5) << 10; tb 181 libavcodec/rpza.c color4[2] |= ((21 * ta + 11 * tb) >> 5) << 10; tb 185 libavcodec/rpza.c tb = (colorB >> 5) & 0x1F; tb 186 libavcodec/rpza.c color4[1] |= ((11 * ta + 21 * tb) >> 5) << 5; tb 187 libavcodec/rpza.c color4[2] |= ((21 * ta + 11 * tb) >> 5) << 5; tb 191 libavcodec/rpza.c tb = colorB & 0x1F; tb 192 libavcodec/rpza.c color4[1] |= ((11 * ta + 21 * tb) >> 5); tb 193 libavcodec/rpza.c color4[2] |= ((21 * ta + 11 * tb) >> 5); tb 1026 libavcodec/snowenc.c BlockNode *tb = mb_y ? &s->block[index-b_stride ] : NULL; tb 1121 libavcodec/snowenc.c if(tb) tb 1167 libavcodec/snowenc.c if(tb ) tb ->type &= ~BLOCK_OPT; tb 1106 libavcodec/wmaprodec.c const int8_t* tb = s->chgroup[i].transform_band; tb 1113 libavcodec/wmaprodec.c if (*tb++ == 1) { tb 405 libavdevice/lavfi.c AVRational tb = av_buffersink_get_time_base(lavfi->sinks[i]); tb 420 libavdevice/lavfi.c d = av_rescale_q_rnd(frame->pts, tb, AV_TIME_BASE_Q, AV_ROUND_NEAR_INF|AV_ROUND_PASS_MINMAX); tb 455 libavdevice/v4l2.c AVRational tb = {AV_TIME_BASE, 1}; tb 456 libavdevice/v4l2.c int64_t period = av_rescale_q(1, tb, ctx->streams[0]->avg_frame_rate); tb 419 libavfilter/aeval.c #define TS2T(ts, tb) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts)*av_q2d(tb)) tb 340 libavfilter/af_volume.c #define TS2T(ts, tb) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts)*av_q2d(tb)) tb 479 libavfilter/f_sendcmd.c #define TS2T(ts, tb) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts)*av_q2d(tb)) tb 147 libavfilter/setpts.c #define TS2T(ts, tb) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts)*av_q2d(tb)) tb 86 libavfilter/trim.c AVRational tb = (inlink->type == AVMEDIA_TYPE_VIDEO) ? tb 90 libavfilter/trim.c int64_t start_pts = av_rescale_q(s->start_time, AV_TIME_BASE_Q, tb); tb 95 libavfilter/trim.c int64_t end_pts = av_rescale_q(s->end_time, AV_TIME_BASE_Q, tb); tb 100 libavfilter/trim.c s->duration_tb = av_rescale_q(s->duration, AV_TIME_BASE_Q, tb); tb 58 libavfilter/vf_delogo.c #define TS2T(ts, tb) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts) * av_q2d(tb)) tb 252 libavfilter/vf_eq.c #define TS2T(ts, tb) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts) * av_q2d(tb)) tb 367 libavfilter/vf_hue.c #define TS2T(ts, tb) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts) * av_q2d(tb)) tb 418 libavfilter/vf_rotate.c #define TS2T(ts, tb) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts)*av_q2d(tb)) tb 650 libavfilter/vf_scale.c #define TS2T(ts, tb) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts) * av_q2d(tb)) tb 372 libavfilter/vf_stereo3d.c AVRational tb = inlink->time_base; tb 442 libavfilter/vf_stereo3d.c tb.num *= 2; tb 558 libavfilter/vf_stereo3d.c tb.den *= 2; tb 585 libavfilter/vf_stereo3d.c outlink->time_base = tb; tb 46 libavfilter/vf_thumbnail.c AVRational tb; ///< copy of the input timebase to ease access tb 125 libavfilter/vf_thumbnail.c picref->pts * av_q2d(s->tb), nb_frames); tb 192 libavfilter/vf_thumbnail.c s->tb = inlink->time_base; tb 58 libavfilter/vf_thumbnail_cuda.c AVRational tb; ///< copy of the input timebase to ease access tb 151 libavfilter/vf_thumbnail_cuda.c picref->pts * av_q2d(s->tb), nb_frames); tb 402 libavfilter/vf_thumbnail_cuda.c s->tb = inlink->time_base; tb 159 libavfilter/vf_vignette.c #define TS2T(ts, tb) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts) * av_q2d(tb)) tb 103 libavformat/ffmetadec.c AVRational tb = {1, 1e9}; tb 107 libavformat/ffmetadec.c if (sscanf(line, "TIMEBASE=%d/%d", &tb.num, &tb.den)) tb 121 libavformat/ffmetadec.c return avpriv_new_chapter(s, s->nb_chapters, tb, start, end, NULL); tb 315 libavformat/fifo.c AVRational tb = avf->streams[pkt->stream_index]->time_base; tb 317 libavformat/fifo.c tb, AV_TIME_BASE_Q); tb 2143 libavformat/hls.c AVRational tb; tb 2174 libavformat/hls.c tb = get_timebase(pls); tb 2176 libavformat/hls.c tb.den, AV_ROUND_DOWN) - tb 165 libavformat/mxf.c if (!av_cmp_q(time_base, mxf_content_package_rates[i].tb)) tb 64 libavformat/mxf.h AVRational tb; tb 65 libavutil/timestamp.h static inline char *av_ts_make_time_string(char *buf, int64_t ts, AVRational *tb) tb 68 libavutil/timestamp.h else snprintf(buf, AV_TS_MAX_STRING_SIZE, "%.6g", av_q2d(*tb) * ts); tb 76 libavutil/timestamp.h #define av_ts2timestr(ts, tb) av_ts_make_time_string((char[AV_TS_MAX_STRING_SIZE]){0}, ts, tb) tb 84 tools/seek_print.c AVRational *tb = &avf->streams[packet.stream_index]->time_base; tb 87 tools/seek_print.c av_ts2str(packet.dts), av_ts2timestr(packet.dts, tb), tb 88 tools/seek_print.c av_ts2str(packet.pts), av_ts2timestr(packet.pts, tb));