AVRational       1324 cmdutils.c             const AVRational *fps = c->supported_framerates;
AVRational        378 doc/examples/decoding_encoding.c     c->time_base = (AVRational){1,25};
AVRational        106 doc/examples/filter_audio.c     av_opt_set_q  (abuffer_ctx, "time_base",      (AVRational){ 1, INPUT_SAMPLERATE },  AV_OPT_SEARCH_CHILDREN);
AVRational         97 doc/examples/filtering_audio.c     AVRational time_base = fmt_ctx->streams[audio_stream_index]->time_base;
AVRational         93 doc/examples/filtering_video.c     AVRational time_base = fmt_ctx->streams[video_stream_index]->time_base;
AVRational        172 doc/examples/filtering_video.c static void display_frame(const AVFrame *frame, AVRational time_base)
AVRational         71 doc/examples/muxing.c     AVRational *time_base = &fmt_ctx->streams[pkt->stream_index]->time_base;
AVRational         80 doc/examples/muxing.c static int write_frame(AVFormatContext *fmt_ctx, const AVRational *time_base, AVStream *st, AVPacket *pkt)
AVRational        138 doc/examples/muxing.c         ost->st->time_base = (AVRational){ 1, c->sample_rate };
AVRational        152 doc/examples/muxing.c         ost->st->time_base = (AVRational){ 1, STREAM_FRAME_RATE };
AVRational        275 doc/examples/muxing.c                       STREAM_DURATION, (AVRational){ 1, 1 }) >= 0)
AVRational        335 doc/examples/muxing.c         frame->pts = av_rescale_q(ost->samples_count, (AVRational){1, c->sample_rate}, c->time_base);
AVRational        455 doc/examples/muxing.c                       STREAM_DURATION, (AVRational){ 1, 1 }) >= 0)
AVRational         36 doc/examples/remuxing.c     AVRational *time_base = &fmt_ctx->streams[pkt->stream_index]->time_base;
AVRational        141 doc/examples/transcoding.c                 enc_ctx->time_base = (AVRational){1, enc_ctx->sample_rate};
AVRational        848 ffmpeg.c               sub->pts               += av_rescale_q(sub->start_display_time, (AVRational){ 1, 1000 }, AV_TIME_BASE_Q);
AVRational        869 ffmpeg.c               pkt.duration = av_rescale_q(sub->end_display_time, (AVRational){ 1, 1000 }, ost->st->time_base);
AVRational       1261 ffmpeg.c                       AVRational tb = enc->time_base;
AVRational       1753 ffmpeg.c                                                      (AVRational){1, ist->dec_ctx->sample_rate}, duration, &ist->filter_in_rescale_delta_last,
AVRational       1816 ffmpeg.c           AVRational decoded_frame_tb;
AVRational       1921 ffmpeg.c                                                     (AVRational){1, avctx->sample_rate}, decoded_frame->nb_samples, &ist->filter_in_rescale_delta_last,
AVRational       1922 ffmpeg.c                                                     (AVRational){1, avctx->sample_rate});
AVRational       1950 ffmpeg.c           AVRational *frame_sample_aspect;
AVRational       2265 ffmpeg.c                       AVRational time_base_q = AV_TIME_BASE_Q;
AVRational       2642 ffmpeg.c                   AVRational sar;
AVRational       2781 ffmpeg.c                                        (AVRational){ enc_ctx->height, enc_ctx->width });
AVRational       2839 ffmpeg.c                           ost->frame_rate = (AVRational){25, 1};
AVRational       2865 ffmpeg.c                       enc_ctx->time_base      = (AVRational){ 1, enc_ctx->sample_rate };
AVRational       2885 ffmpeg.c                           av_mul_q(ost->frame_aspect_ratio, (AVRational){ enc_ctx->height, enc_ctx->width }) :
AVRational       2931 ffmpeg.c                       enc_ctx->time_base = (AVRational){1, 1000};
AVRational       3066 ffmpeg.c               ost->st->time_base = av_add_q(ost->enc_ctx->time_base, (AVRational){0, 1});
AVRational        274 ffmpeg.h           AVRational framerate;               /* framerate forced with -r */
AVRational        399 ffmpeg.h           AVRational frame_rate;
AVRational        403 ffmpeg.h           AVRational frame_aspect_ratio;
AVRational        633 ffmpeg_filter.c     AVRational tb = ist->framerate.num ? av_inv_q(ist->framerate) :
AVRational        635 ffmpeg_filter.c     AVRational fr = ist->framerate;
AVRational        636 ffmpeg_filter.c     AVRational sar;
AVRational        660 ffmpeg_filter.c         sar = (AVRational){0,1};
AVRational       1320 ffmpeg_opt.c           AVRational q;
AVRational        159 ffplay.c           AVRational sar;
AVRational        191 ffplay.c           AVRational start_pts_tb;
AVRational        193 ffplay.c           AVRational next_pts_tb;
AVRational        585 ffplay.c                           AVRational tb = (AVRational){1, frame->sample_rate};
AVRational       1067 ffplay.c                                          int pic_width, int pic_height, AVRational pic_sar)
AVRational       1334 ffplay.c       static void set_default_window_size(int width, int height, AVRational sar)
AVRational       1965 ffplay.c           AVRational fr = av_guess_frame_rate(is->ic, is->video_st, NULL);
AVRational       2134 ffplay.c           AVRational tb;
AVRational       2145 ffplay.c                       tb = (AVRational){1, frame->sample_rate};
AVRational       2188 ffplay.c                       af->duration = av_q2d((AVRational){frame->nb_samples, frame->sample_rate});
AVRational       2223 ffplay.c           AVRational tb = is->video_st->time_base;
AVRational       2224 ffplay.c           AVRational frame_rate = av_guess_frame_rate(is->ic, is->video_st, NULL);
AVRational       2297 ffplay.c                   duration = (frame_rate.num && frame_rate.den ? av_q2d((AVRational){frame_rate.den, frame_rate.num}) : 0);
AVRational       3007 ffplay.c               AVRational sar = av_guess_sample_aspect_ratio(ic, st, NULL);
AVRational        311 ffprobe.c          void (*print_rational)      (WriterContext *wctx, AVRational *q, char *sep);
AVRational        644 ffprobe.c                                               const char *key, AVRational q, char sep)
AVRational        653 ffprobe.c                                    int64_t ts, const AVRational *time_base, int is_duration)
AVRational       1787 ffprobe.c              AVRational sar;
AVRational       1965 ffprobe.c                  AVRational tb = fmt_ctx->streams[pkt.stream_index]->time_base;
AVRational       2045 ffprobe.c          AVRational sar, dar;
AVRational         93 libavcodec/assdec.c     static const AVRational ass_tb = {1, 100};
AVRational         58 libavcodec/audio_frame_queue.c                                       (AVRational){ 1, afq->avctx->sample_rate });
AVRational       1367 libavcodec/avcodec.h     AVRational time_base;
AVRational       1621 libavcodec/avcodec.h     AVRational sample_aspect_ratio;
AVRational       3015 libavcodec/avcodec.h     AVRational framerate;
AVRational       3031 libavcodec/avcodec.h     AVRational pkt_timebase;
AVRational       3143 libavcodec/avcodec.h AVRational av_codec_get_pkt_timebase         (const AVCodecContext *avctx);
AVRational       3144 libavcodec/avcodec.h void       av_codec_set_pkt_timebase         (AVCodecContext *avctx, AVRational val);
AVRational       3193 libavcodec/avcodec.h     const AVRational *supported_framerates; ///< array of supported framerates, or NULL if any, array is terminated by {0,0}
AVRational       3932 libavcodec/avcodec.h void av_packet_rescale_ts(AVPacket *pkt, AVRational tb_src, AVRational tb_dst);
AVRational        571 libavcodec/avpacket.c void av_packet_rescale_ts(AVPacket *pkt, AVRational src_tb, AVRational dst_tb)
AVRational        552 libavcodec/ccaption_dec.c             int start_time = av_rescale_q(ctx->start_time, avctx->time_base, (AVRational){ 1, 100 });
AVRational        553 libavcodec/ccaption_dec.c             int end_time = av_rescale_q(ctx->end_time, avctx->time_base, (AVRational){ 1, 100 });
AVRational        756 libavcodec/crystalhd.c             avctx->sample_aspect_ratio = (AVRational) {  1,  1};
AVRational        759 libavcodec/crystalhd.c             avctx->sample_aspect_ratio = (AVRational) { 12, 11};
AVRational        762 libavcodec/crystalhd.c             avctx->sample_aspect_ratio = (AVRational) { 10, 11};
AVRational        765 libavcodec/crystalhd.c             avctx->sample_aspect_ratio = (AVRational) { 16, 11};
AVRational        768 libavcodec/crystalhd.c             avctx->sample_aspect_ratio = (AVRational) { 40, 33};
AVRational        771 libavcodec/crystalhd.c             avctx->sample_aspect_ratio = (AVRational) { 24, 11};
AVRational        774 libavcodec/crystalhd.c             avctx->sample_aspect_ratio = (AVRational) { 20, 11};
AVRational        777 libavcodec/crystalhd.c             avctx->sample_aspect_ratio = (AVRational) { 32, 11};
AVRational        780 libavcodec/crystalhd.c             avctx->sample_aspect_ratio = (AVRational) { 80, 33};
AVRational        783 libavcodec/crystalhd.c             avctx->sample_aspect_ratio = (AVRational) { 18, 11};
AVRational        786 libavcodec/crystalhd.c             avctx->sample_aspect_ratio = (AVRational) { 15, 11};
AVRational        789 libavcodec/crystalhd.c             avctx->sample_aspect_ratio = (AVRational) { 64, 33};
AVRational        792 libavcodec/crystalhd.c             avctx->sample_aspect_ratio = (AVRational) {160, 99};
AVRational        795 libavcodec/crystalhd.c             avctx->sample_aspect_ratio = (AVRational) {  4,  3};
AVRational        798 libavcodec/crystalhd.c             avctx->sample_aspect_ratio = (AVRational) { 16,  9};
AVRational        801 libavcodec/crystalhd.c             avctx->sample_aspect_ratio = (AVRational) {221,  1};
AVRational         65 libavcodec/dirac.c static const AVRational dirac_preset_aspect_ratios[] = {
AVRational         77 libavcodec/dirac.c static const AVRational dirac_frame_rate[] = {
AVRational        123 libavcodec/dirac.c     AVRational frame_rate = { 0, 0 };
AVRational        174 libavcodec/diracdec.c         AVRational bytes;       /* average bytes per slice                   */
AVRational         46 libavcodec/dnxhddata.h     AVRational frame_rates[5];
AVRational        158 libavcodec/dpx.c         avctx->sample_aspect_ratio = (AVRational){ 0, 1 };
AVRational        164 libavcodec/dpx.c             AVRational q = av_d2q(av_int2float(i), 4096);
AVRational        318 libavcodec/dv_profile.c     return av_dv_codec_profile2(width, height, pix_fmt, (AVRational){0, 0});
AVRational        326 libavcodec/dv_profile.c                                        AVRational frame_rate)
AVRational         45 libavcodec/dv_profile.h     AVRational       time_base;             /* 1/framerate */
AVRational         49 libavcodec/dv_profile.h     AVRational       sar[2];                /* sample aspect ratios for 4:3 and 16:9 */
AVRational         90 libavcodec/dv_profile.h const AVDVProfile *av_dv_codec_profile2(int width, int height, enum AVPixelFormat pix_fmt, AVRational frame_rate);
AVRational        790 libavcodec/dvbsubdec.c         sub->end_display_time = av_rescale_q((sub->pts - ctx->prev_start ), AV_TIME_BASE_Q, (AVRational){ 1, 1000 }) - 1;
AVRational        157 libavcodec/eacmv.c         s->avctx->framerate = (AVRational){ fps, 1 };
AVRational         56 libavcodec/eatgq.c     avctx->framerate = (AVRational){ 15, 1 };
AVRational         58 libavcodec/eatgv.c     avctx->framerate = (AVRational){ 15, 1 };
AVRational         59 libavcodec/eatqi.c     avctx->framerate = (AVRational){ 15, 1 };
AVRational        339 libavcodec/ffv1dec.c         f->cur->sample_aspect_ratio = (AVRational){ 0, 1 };
AVRational        102 libavcodec/flvdec.c         s->avctx->sample_aspect_ratio= (AVRational){1,2};
AVRational        502 libavcodec/h261dec.c     s->avctx->framerate = (AVRational) { 30000, 1001 };
AVRational         43 libavcodec/h263.h extern const AVRational ff_h263_pixel_aspect[16];
AVRational         80 libavcodec/h263.h av_const int ff_h263_aspect_to_info(AVRational aspect);
AVRational        275 libavcodec/h263data.h const AVRational ff_h263_pixel_aspect[16]={
AVRational        201 libavcodec/h264.h     AVRational sar;
AVRational        535 libavcodec/h264_parser.c         avctx->time_base = av_inv_q(av_mul_q(avctx->framerate, (AVRational){avctx->ticks_per_frame, 1}));
AVRational        170 libavcodec/h264data.h static const AVRational ff_h264_pixel_aspect[17] = {
AVRational        308 libavcodec/hevc.h     AVRational sar;
AVRational         52 libavcodec/hevc_ps.c static const AVRational vui_sar[] = {
AVRational        985 libavcodec/hevc_ps.c     sps->vui.sar = (AVRational){0, 1};
AVRational        202 libavcodec/internal.h     return av_rescale_q(samples, (AVRational){ 1, avctx->sample_rate },
AVRational        249 libavcodec/internal.h int ff_set_sar(AVCodecContext *avctx, AVRational sar);
AVRational        948 libavcodec/ituh263dec.c         s->avctx->sample_aspect_ratio= (AVRational){12,11};
AVRational        949 libavcodec/ituh263dec.c         s->avctx->framerate = (AVRational){ 30000, 1001 };
AVRational       1038 libavcodec/ituh263dec.c                 s->avctx->sample_aspect_ratio= (AVRational){12,11};
AVRational       1059 libavcodec/ituh263dec.c                 s->avctx->framerate = (AVRational){ 30000, 1001 };
AVRational         88 libavcodec/ituh263enc.c av_const int ff_h263_aspect_to_info(AVRational aspect){
AVRational         91 libavcodec/ituh263enc.c     if(aspect.num==0 || aspect.den==0) aspect= (AVRational){1,1};
AVRational        105 libavcodec/libvorbisdec.c     avccontext->time_base= (AVRational){1, avccontext->sample_rate};
AVRational         98 libavcodec/libzvbi-teletextdec.c     const int ts_start    = av_rescale_q(ctx->pts,          AV_TIME_BASE_Q,        (AVRational){1, 100});
AVRational         99 libavcodec/libzvbi-teletextdec.c     const int ts_duration = av_rescale_q(ctx->sub_duration, (AVRational){1, 1000}, (AVRational){1, 100});
AVRational        312 libavcodec/microdvddec.c             int ts_start     = av_rescale_q(start,    avctx->time_base, (AVRational){1,100});
AVRational        314 libavcodec/microdvddec.c                 av_rescale_q(duration, avctx->time_base, (AVRational){1,100}) : -1;
AVRational         90 libavcodec/movtextdec.c                             (AVRational){1,100});
AVRational         93 libavcodec/movtextdec.c                             (AVRational){1,100});
AVRational        308 libavcodec/mpeg12data.c const AVRational ff_mpeg12_frame_rate_tab[16] = {
AVRational        328 libavcodec/mpeg12data.c const AVRational ff_mpeg2_frame_rate_tab[] = {
AVRational        415 libavcodec/mpeg12data.c const AVRational ff_mpeg2_aspect[16]={
AVRational         51 libavcodec/mpeg12data.h extern const AVRational ff_mpeg12_frame_rate_tab[];
AVRational         52 libavcodec/mpeg12data.h extern const AVRational ff_mpeg2_frame_rate_tab[];
AVRational         55 libavcodec/mpeg12data.h extern const AVRational ff_mpeg2_aspect[16];
AVRational         62 libavcodec/mpeg12dec.c     AVRational save_aspect;
AVRational         64 libavcodec/mpeg12dec.c     AVRational frame_rate_ext;  /* MPEG-2 specific framerate modificator */
AVRational       1282 libavcodec/mpeg12dec.c             AVRational dar =
AVRational       1284 libavcodec/mpeg12dec.c                                   (AVRational) { s1->pan_scan.width,
AVRational       1286 libavcodec/mpeg12dec.c                          (AVRational) { s->width, s->height });
AVRational       1293 libavcodec/mpeg12dec.c                 (av_cmp_q(dar, (AVRational) { 4, 3 }) &&
AVRational       1294 libavcodec/mpeg12dec.c                  av_cmp_q(dar, (AVRational) { 16, 9 }))) {
AVRational       1297 libavcodec/mpeg12dec.c                              (AVRational) { s->width, s->height });
AVRational       1301 libavcodec/mpeg12dec.c                              (AVRational) { s1->pan_scan.width, s1->pan_scan.height });
AVRational        107 libavcodec/mpeg12enc.c     AVRational bestq = (AVRational) {0, 0};
AVRational        108 libavcodec/mpeg12enc.c     AVRational ext;
AVRational        109 libavcodec/mpeg12enc.c     AVRational target = av_inv_q(s->avctx->time_base);
AVRational        118 libavcodec/mpeg12enc.c                 AVRational q = av_mul_q(ext, ff_mpeg12_frame_rate_tab[i]);
AVRational        218 libavcodec/mpeg12enc.c         AVRational rate = ff_mpeg12_frame_rate_tab[s->frame_rate_index];
AVRational        244 libavcodec/mpeg12enc.c     AVRational aspect_ratio = s->avctx->sample_aspect_ratio;
AVRational        247 libavcodec/mpeg12enc.c         aspect_ratio = (AVRational){1,1};             // pixel aspect 1.1 (VGA)
AVRational        250 libavcodec/mpeg12enc.c         AVRational framerate = ff_mpeg12_frame_rate_tab[s->frame_rate_index];
AVRational        107 libavcodec/mpeg4video_parser.c         s1->pts = av_rescale_q(s->time, (AVRational){1, s->avctx->time_base.den}, (AVRational){1, 1200000});
AVRational       1780 libavcodec/mpeg4videodec.c     s->avctx->time_base = av_inv_q(av_mul_q(s->avctx->framerate, (AVRational){s->avctx->ticks_per_frame, 1}));
AVRational       2269 libavcodec/mpeg4videodec.c             s->avctx->time_base = av_inv_q(av_mul_q(s->avctx->framerate, (AVRational){s->avctx->ticks_per_frame, 1}));
AVRational        354 libavcodec/mpegvideo.h     AVRational mpeg2_frame_rate_ext;
AVRational         29 libavcodec/mpegvideo_parser.c     AVRational frame_rate;
AVRational        160 libavcodec/mpegvideo_parser.c         avctx->time_base = av_inv_q(av_mul_q(avctx->framerate, (AVRational){avctx->ticks_per_frame, 1}));
AVRational         72 libavcodec/mpl2dec.c     const int ts_start     = av_rescale_q(avpkt->pts,      avctx->time_base, (AVRational){1,100});
AVRational         74 libavcodec/mpl2dec.c                              av_rescale_q(avpkt->duration, avctx->time_base, (AVRational){1,100}) : -1;
AVRational        111 libavcodec/options.c     s->time_base           = (AVRational){0,1};
AVRational        112 libavcodec/options.c     s->framerate           = (AVRational){ 0, 1 };
AVRational        113 libavcodec/options.c     s->pkt_timebase        = (AVRational){ 0, 1 };
AVRational        118 libavcodec/options.c     s->sample_aspect_ratio = (AVRational){0,1};
AVRational        574 libavcodec/pngdec.c         avctx->sample_aspect_ratio = (AVRational){ 0, 1 };
AVRational        377 libavcodec/rv10.c             AVRational old_aspect = s->avctx->sample_aspect_ratio;
AVRational        386 libavcodec/rv10.c                 old_aspect = (AVRational){1, 1};
AVRational        388 libavcodec/rv10.c                 s->avctx->sample_aspect_ratio = av_mul_q(old_aspect, (AVRational){2, 1});
AVRational        390 libavcodec/rv10.c                 s->avctx->sample_aspect_ratio = av_mul_q(old_aspect, (AVRational){1, 2});
AVRational       1617 libavcodec/rv34.c static AVRational update_sar(int old_w, int old_h, AVRational sar, int new_w, int new_h)
AVRational       1621 libavcodec/rv34.c         sar = (AVRational){1, 1};
AVRational       1623 libavcodec/rv34.c     sar = av_mul_q(sar, (AVRational){new_h * old_w, new_w * old_h});
AVRational        123 libavcodec/samidec.c         int ts_start     = av_rescale_q(avpkt->pts, avctx->time_base, (AVRational){1,100});
AVRational        125 libavcodec/samidec.c                            av_rescale_q(avpkt->duration, avctx->time_base, (AVRational){1,100}) : -1;
AVRational        213 libavcodec/srtdec.c                                     (AVRational){1,100});
AVRational        216 libavcodec/srtdec.c                                     (AVRational){1,100});
AVRational         52 libavcodec/textdec.c     const int ts_start     = av_rescale_q(avpkt->pts,      avctx->time_base, (AVRational){1,100});
AVRational         54 libavcodec/textdec.c                              av_rescale_q(avpkt->duration, avctx->time_base, (AVRational){1,100}) : -1;
AVRational        467 libavcodec/tiffenc.c         AVRational y = av_mul_q(av_make_q(s->dpi, 1),
AVRational        409 libavcodec/truemotion1.c         s->avctx->sample_aspect_ratio = (AVRational){ 1 << width_shift, 1 };
AVRational        244 libavcodec/utils.c int ff_set_sar(AVCodecContext *avctx, AVRational sar)
AVRational        251 libavcodec/utils.c         avctx->sample_aspect_ratio = (AVRational){ 0, 1 };
AVRational        802 libavcodec/utils.c             frame->sample_aspect_ratio = (AVRational){ 0, 1 };
AVRational       1273 libavcodec/utils.c MAKE_ACCESSORS(AVCodecContext, codec, AVRational, pkt_timebase)
AVRational       1423 libavcodec/utils.c             avctx->sample_aspect_ratio = (AVRational){ 0, 1 };
AVRational       1691 libavcodec/utils.c             avctx->time_base = av_inv_q(av_mul_q(avctx->framerate, (AVRational){avctx->ticks_per_frame, 1}));
AVRational       2423 libavcodec/utils.c         avctx->time_base = av_inv_q(av_mul_q(avctx->framerate, (AVRational){avctx->ticks_per_frame, 1}));
AVRational       2566 libavcodec/utils.c                                                    (AVRational){1, avctx->sample_rate},
AVRational       2591 libavcodec/utils.c                                                    (AVRational){1, avctx->sample_rate},
AVRational       2765 libavcodec/utils.c                 AVRational ms = { 1, 1000 };
AVRational       3001 libavcodec/utils.c     AVRational display_aspect_ratio;
AVRational        458 libavcodec/vc1.c             v->s.avctx->sample_aspect_ratio = (AVRational){w, h};
AVRational        117 libavcodec/vc1_parser.c         avctx->time_base = av_inv_q(av_mul_q(avctx->framerate, (AVRational){avctx->ticks_per_frame, 1}));
AVRational        194 libavcodec/vc1data.c const AVRational ff_vc1_pixel_aspect[16] = {
AVRational        105 libavcodec/vc1data.h extern const AVRational ff_vc1_pixel_aspect[16];
AVRational       2250 libavcodec/vp3.c     AVRational fps, aspect;
AVRational         83 libavcodec/webvttdec.c         int ts_start     = av_rescale_q(avpkt->pts, avctx->time_base, (AVRational){1,100});
AVRational         85 libavcodec/webvttdec.c                            av_rescale_q(avpkt->duration, avctx->time_base, (AVRational){1,100}) : -1;
AVRational         73 libavcodec/xsubdec.c         packet_time = av_rescale_q(avpkt->pts, AV_TIME_BASE_Q, (AVRational){1, 1000});
AVRational        412 libavdevice/avdevice.h     AVRational fps;
AVRational        262 libavdevice/bktr.c     AVRational framerate;
AVRational        852 libavdevice/dshow.c         AVRational time_base;
AVRational        856 libavdevice/dshow.c             time_base = (AVRational) { v->AvgTimePerFrame, 10000000 };
AVRational        860 libavdevice/dshow.c             time_base = (AVRational) { v->AvgTimePerFrame, 10000000 };
AVRational        335 libavdevice/dshow_capture.h     AVRational requested_framerate;
AVRational         51 libavdevice/fbdev_dec.c     AVRational framerate_q;  ///< framerate
AVRational         45 libavdevice/gdigrab.c     AVRational time_base;   /**< Time base */
AVRational         50 libavdevice/gdigrab.c     AVRational framerate;   /**< Capture framerate (private option) */
AVRational        511 libavdevice/gdigrab.c     AVRational time_base  = gdigrab->time_base;
AVRational        399 libavdevice/lavfi.c         AVRational tb = lavfi->sinks[i]->inputs[0]->time_base;
AVRational        129 libavdevice/libdc1394.c     AVRational framerate;
AVRational        678 libavdevice/opengl_enc.c     AVRational sar, dar; /* sample and display aspect ratios */
AVRational        684 libavdevice/opengl_enc.c     sar = st->sample_aspect_ratio.num ? st->sample_aspect_ratio : (AVRational){ 1, 1 };
AVRational        685 libavdevice/opengl_enc.c     dar = av_mul_q(sar, (AVRational){ encctx->width, encctx->height });
AVRational        689 libavdevice/opengl_enc.c     if (av_cmp_q(dar, (AVRational){ opengl->window_width, opengl->window_height }) > 0) {
AVRational        640 libavdevice/pulse_audio_enc.c         AVRational r = { 1, codec_ctx->sample_rate };
AVRational         93 libavdevice/sdl.c     AVRational sar, dar; /* sample and display aspect ratios */
AVRational        100 libavdevice/sdl.c     sar = st->sample_aspect_ratio.num ? st->sample_aspect_ratio : (AVRational){ 1, 1 };
AVRational        101 libavdevice/sdl.c     dar = av_mul_q(sar, (AVRational){ encctx->width, encctx->height });
AVRational        106 libavdevice/sdl.c         if (av_cmp_q(dar, (AVRational){ sdl->window_width, sdl->window_height }) > 0) {
AVRational         46 libavdevice/v4l.c     AVRational time_base;
AVRational        456 libavdevice/v4l2.c             AVRational tb = {AV_TIME_BASE, 1};
AVRational        648 libavdevice/v4l2.c     AVRational framerate_q = { 0 };
AVRational        250 libavdevice/vfwcap.c     AVRational framerate_q;
AVRational         68 libavdevice/x11grab.c     AVRational time_base;    /**< Time base */
AVRational         83 libavdevice/x11grab.c     AVRational framerate;    /**< Set by a private option. */
AVRational         58 libavdevice/xcbgrab.c     AVRational time_base;
AVRational        525 libavdevice/xcbgrab.c     c->time_base  = (AVRational){ st->avg_frame_rate.den,
AVRational        138 libavdevice/xv.c         AVRational sar = encctx->sample_aspect_ratio;
AVRational        229 libavdevice/xv.c     AVRational sar, dar; /* sample and display aspect ratios */
AVRational        234 libavdevice/xv.c     sar = st->sample_aspect_ratio.num ? st->sample_aspect_ratio : (AVRational){ 1, 1 };
AVRational        235 libavdevice/xv.c     dar = av_mul_q(sar, (AVRational){ encctx->width, encctx->height });
AVRational        239 libavdevice/xv.c     if (av_cmp_q(dar, (AVRational){ xv->dest_w, xv->dest_h }) > 0) {
AVRational        227 libavfilter/aeval.c     outlink->time_base = (AVRational){1, eval->sample_rate};
AVRational        207 libavfilter/af_adelay.c     s->next_pts = frame->pts + av_rescale_q(frame->nb_samples, (AVRational){1, inlink->sample_rate}, inlink->time_base);
AVRational        235 libavfilter/af_adelay.c             s->next_pts += av_rescale_q(nb_samples, (AVRational){1, outlink->sample_rate}, outlink->time_base);
AVRational        287 libavfilter/af_aecho.c     s->next_pts = frame->pts + av_rescale_q(frame->nb_samples, (AVRational){1, inlink->sample_rate}, inlink->time_base);
AVRational        322 libavfilter/af_aecho.c             s->next_pts += av_rescale_q(nb_samples, (AVRational){1, outlink->sample_rate}, outlink->time_base);
AVRational        233 libavfilter/af_afade.c     int64_t cur_sample = av_rescale_q(buf->pts, inlink->time_base, (AVRational){1, inlink->sample_rate});
AVRational        228 libavfilter/af_amix.c     outlink->time_base = (AVRational){ 1, outlink->sample_rate };
AVRational         84 libavfilter/af_apad.c     apad->next_pts = frame->pts + av_rescale_q(frame->nb_samples, (AVRational){1, inlink->sample_rate}, inlink->time_base);
AVRational        127 libavfilter/af_apad.c             apad->next_pts += av_rescale_q(n_out, (AVRational){1, outlink->sample_rate}, outlink->time_base);
AVRational        161 libavfilter/af_aresample.c     outlink->time_base = (AVRational) {1, out_rate};
AVRational        119 libavfilter/af_asetnsamples.c         asns->next_out_pts += av_rescale_q(nb_out_samples, (AVRational){1, outlink->sample_rate}, outlink->time_base);
AVRational         64 libavfilter/af_asetrate.c     AVRational intb = ctx->inputs[0]->time_base;
AVRational         92 libavfilter/af_asyncts.c     link->time_base = (AVRational){1, link->sample_rate};
AVRational       1063 libavfilter/af_atempo.c                      (AVRational){ 1, outlink->sample_rate },
AVRational        261 libavfilter/af_compand.c                         (AVRational){ 1, inlink->sample_rate },
AVRational        304 libavfilter/af_compand.c             (AVRational){ 1, outlink->sample_rate }, outlink->time_base);
AVRational        312 libavfilter/af_ladspa.c         outlink->time_base   = (AVRational){1, s->sample_rate};
AVRational        158 libavfilter/af_resample.c     outlink->time_base = (AVRational){ 1, outlink->sample_rate };
AVRational         45 libavfilter/af_silencedetect.c                           AVRational time_base);
AVRational         68 libavfilter/af_silencedetect.c                                     AVRational time_base)
AVRational         99 libavfilter/af_silencedetect.c                                  AVRational time_base)                           \
AVRational        230 libavfilter/asrc_flite.c     outlink->time_base = (AVRational){1, flite->wave->sample_rate};
AVRational         51 libavfilter/avf_avectorscope.c     AVRational frame_rate;
AVRational        165 libavfilter/avf_avectorscope.c     outlink->sample_aspect_ratio = (AVRational){1,1};
AVRational        260 libavfilter/avf_concat.c     AVRational rate_tb = { 1, ctx->inputs[in_no]->sample_rate };
AVRational        244 libavfilter/avf_showspectrum.c         outlink->sample_aspect_ratio = (AVRational){1,1};
AVRational         46 libavfilter/avf_showwaves.c     AVRational rate;
AVRational        138 libavfilter/avf_showwaves.c     outlink->sample_aspect_ratio = (AVRational){1,1};
AVRational        140 libavfilter/avf_showwaves.c     outlink->frame_rate = av_div_q((AVRational){inlink->sample_rate,showwaves->n},
AVRational        141 libavfilter/avf_showwaves.c                                    (AVRational){showwaves->w,1});
AVRational        258 libavfilter/avf_showwaves.c                                           (AVRational){ 1, inlink->sample_rate },
AVRational        276 libavfilter/avfilter.c                         inlink->sample_aspect_ratio : (AVRational){1,1};
AVRational        301 libavfilter/avfilter.c                     link->time_base = (AVRational) {1, link->sample_rate};
AVRational       1114 libavfilter/avfilter.c             AVRational samples_tb = { 1, link->sample_rate };
AVRational        140 libavfilter/avfilter.h     AVRational sample_aspect_ratio; ///< sample aspect ratio
AVRational        708 libavfilter/avfilter.h     AVRational sample_aspect_ratio; ///< agreed upon sample aspect ratio
AVRational        722 libavfilter/avfilter.h     AVRational time_base;
AVRational        794 libavfilter/avfilter.h     AVRational frame_rate;
AVRational        170 libavfilter/buffersink.c         s->next_pts += av_rescale_q(nb_samples, (AVRational){1, link->sample_rate},
AVRational        211 libavfilter/buffersink.c                                        (AVRational){ 1, link->sample_rate },
AVRational        356 libavfilter/buffersink.c AVRational av_buffersink_get_frame_rate(AVFilterContext *ctx)
AVRational        163 libavfilter/buffersink.h AVRational av_buffersink_get_frame_rate(AVFilterContext *ctx);
AVRational         47 libavfilter/buffersrc.c     AVRational        time_base;     ///< time_base to set in the output link
AVRational         48 libavfilter/buffersrc.c     AVRational        frame_rate;    ///< frame_rate to set in the output link
AVRational         55 libavfilter/buffersrc.c     AVRational        pixel_aspect;
AVRational        410 libavfilter/buffersrc.c         s->time_base = (AVRational){1, s->sample_rate};
AVRational        297 libavfilter/f_ebur128.c     outlink->sample_aspect_ratio = (AVRational){1,1};
AVRational        632 libavfilter/f_ebur128.c                 av_rescale_q(idx_insample, (AVRational){ 1, inlink->sample_rate },
AVRational        162 libavfilter/f_interleave.c         outlink->frame_rate = (AVRational) {1, 0};
AVRational        124 libavfilter/fifo.c         frame->pts += av_rescale_q(offset, (AVRational){1, link->sample_rate},
AVRational        603 libavfilter/formats.c int ff_parse_time_base(AVRational *ret, const char *arg, void *log_ctx)
AVRational        605 libavfilter/formats.c     AVRational r;
AVRational        103 libavfilter/framesync.h     AVRational time_base;
AVRational        165 libavfilter/framesync.h     AVRational time_base;
AVRational        203 libavfilter/internal.h int ff_parse_time_base(AVRational *ret, const char *arg, void *log_ctx);
AVRational         75 libavfilter/settb.c     AVRational time_base;
AVRational         47 libavfilter/tinterlace.h     AVRational preout_time_base;
AVRational         91 libavfilter/trim.c     AVRational tb = (inlink->type == AVMEDIA_TYPE_VIDEO) ?
AVRational         92 libavfilter/trim.c                      inlink->time_base : (AVRational){ 1, inlink->sample_rate };
AVRational        259 libavfilter/trim.c                            (AVRational){ 1, inlink->sample_rate });
AVRational        337 libavfilter/trim.c             out->pts += av_rescale_q(start_sample, (AVRational){ 1, out->sample_rate },
AVRational         61 libavfilter/vf_aspect.c     AVRational dar;
AVRational         62 libavfilter/vf_aspect.c     AVRational sar;
AVRational        104 libavfilter/vf_aspect.c static inline void compute_dar(AVRational *dar, AVRational sar, int w, int h)
AVRational        113 libavfilter/vf_aspect.c static int get_aspect_ratio(AVFilterLink *inlink, AVRational *aspect_ratio)
AVRational        157 libavfilter/vf_aspect.c     AVRational dar;
AVRational        158 libavfilter/vf_aspect.c     AVRational old_dar;
AVRational        159 libavfilter/vf_aspect.c     AVRational old_sar = inlink->sample_aspect_ratio;
AVRational        178 libavfilter/vf_aspect.c         inlink->sample_aspect_ratio = (AVRational){ 1, 1 };
AVRational        179 libavfilter/vf_aspect.c         dar = (AVRational){ inlink->w, inlink->h };
AVRational        238 libavfilter/vf_aspect.c     AVRational old_sar = inlink->sample_aspect_ratio;
AVRational        239 libavfilter/vf_aspect.c     AVRational old_dar, dar;
AVRational         83 libavfilter/vf_crop.c     AVRational out_sar; ///< output sample aspect ratio
AVRational        200 libavfilter/vf_crop.c         AVRational dar = av_mul_q(link->sample_aspect_ratio,
AVRational        201 libavfilter/vf_crop.c                                   (AVRational){ link->w, link->h });
AVRational        363 libavfilter/vf_decimate.c     AVRational fps = inlink->frame_rate;
AVRational        370 libavfilter/vf_decimate.c     fps = av_mul_q(fps, (AVRational){dm->cycle - 1, dm->cycle});
AVRational         59 libavfilter/vf_delogo.c                          int w, int h, AVRational sar,
AVRational        220 libavfilter/vf_delogo.c     AVRational sar;
AVRational        183 libavfilter/vf_drawtext.c     AVRational  tc_rate;            ///< frame rate for timecode
AVRational         51 libavfilter/vf_fps.c     AVRational framerate;   ///< target framerate
AVRational         84 libavfilter/vf_framepack.c     AVRational time_base = ctx->inputs[LEFT]->time_base;
AVRational         85 libavfilter/vf_framepack.c     AVRational frame_rate = ctx->inputs[LEFT]->frame_rate;
AVRational         54 libavfilter/vf_framestep.c         av_div_q(inlink->frame_rate, (AVRational){framestep->frame_step, 1});
AVRational         71 libavfilter/vf_frei0r.c     AVRational framerate;
AVRational         75 libavfilter/vf_frei0r.c     AVRational time_base;
AVRational        475 libavfilter/vf_frei0r.c     outlink->sample_aspect_ratio = (AVRational){1,1};
AVRational        499 libavfilter/vf_frei0r.c     frame->sample_aspect_ratio = (AVRational) {1, 1};
AVRational        502 libavfilter/vf_frei0r.c     s->update(s->instance, av_rescale_q(frame->pts, s->time_base, (AVRational){1,1000}),
AVRational        179 libavfilter/vf_histogram.c     outlink->sample_aspect_ratio = (AVRational){1,1};
AVRational        119 libavfilter/vf_mcdeint.c     enc_ctx->time_base = (AVRational){1,25};  // meaningless
AVRational         77 libavfilter/vf_repeatfields.c     if (av_cmp_q(link->frame_rate, (AVRational){30000, 1001}) == 0 &&
AVRational         78 libavfilter/vf_repeatfields.c          av_cmp_q(link->time_base, (AVRational){1001, 60000}) <= 0
AVRational         80 libavfilter/vf_repeatfields.c         f->pts = pts + av_rescale_q(fields, (AVRational){1001, 60000}, link->time_base);
AVRational        400 libavfilter/vf_scale.c         outlink->sample_aspect_ratio = av_mul_q((AVRational){outlink->h * inlink->w, outlink->w * inlink->h}, inlink->sample_aspect_ratio);
AVRational        291 libavfilter/vf_stereo3d.c     AVRational aspect = inlink->sample_aspect_ratio;
AVRational        292 libavfilter/vf_stereo3d.c     AVRational fps = inlink->frame_rate;
AVRational        293 libavfilter/vf_stereo3d.c     AVRational tb = inlink->time_base;
AVRational         42 libavfilter/vf_telecine.c     AVRational pts;
AVRational        147 libavfilter/vf_telecine.c     AVRational fps = inlink->frame_rate;
AVRational         46 libavfilter/vf_thumbnail.c     AVRational tb;              ///< copy of the input timebase to ease access
AVRational         67 libavfilter/vf_tinterlace.c static const AVRational standard_tbs[] = {
AVRational        150 libavfilter/vf_tinterlace.c         outlink->frame_rate = av_mul_q(inlink->frame_rate, (AVRational){2,1});
AVRational        151 libavfilter/vf_tinterlace.c         outlink->time_base  = av_mul_q(inlink->time_base , (AVRational){1,2});
AVRational        153 libavfilter/vf_tinterlace.c         outlink->frame_rate = av_mul_q(inlink->frame_rate, (AVRational){1,2});
AVRational        154 libavfilter/vf_tinterlace.c         outlink->time_base  = av_mul_q(inlink->time_base , (AVRational){2,1});
AVRational        116 libavfilter/vf_transpose.c         outlink->sample_aspect_ratio = av_div_q((AVRational) { 1, 1 },
AVRational        347 libavfilter/vf_uspp.c         avctx_enc->time_base = (AVRational){1,25};  // meaningless
AVRational         70 libavfilter/vf_vignette.c     AVRational aspect;
AVRational         71 libavfilter/vf_vignette.c     AVRational scale;
AVRational        284 libavfilter/vf_vignette.c     AVRational sar = inlink->sample_aspect_ratio;
AVRational        480 libavfilter/vf_yadif.c         link->frame_rate = av_mul_q(link->src->inputs[0]->frame_rate, (AVRational){2,1});
AVRational         50 libavfilter/vsrc_cellauto.c     AVRational frame_rate;
AVRational        293 libavfilter/vsrc_cellauto.c     picref->sample_aspect_ratio = (AVRational) {1, 1};
AVRational         63 libavfilter/vsrc_life.c     AVRational frame_rate;
AVRational        403 libavfilter/vsrc_life.c     picref->sample_aspect_ratio = (AVRational) {1, 1};
AVRational         63 libavfilter/vsrc_mandelbrot.c     AVRational frame_rate;
AVRational        403 libavfilter/vsrc_mandelbrot.c     picref->sample_aspect_ratio = (AVRational) {1, 1};
AVRational         55 libavfilter/vsrc_mptestsrc.c     AVRational frame_rate;
AVRational         54 libavfilter/vsrc_testsrc.c     AVRational time_base, frame_rate;
AVRational         57 libavfilter/vsrc_testsrc.c     AVRational sar;             ///< sample aspect ratio
AVRational        277 libavformat/apngdec.c                                      (AVRational){ 1, delay_den },
AVRational         37 libavformat/aqtitledec.c     AVRational frame_rate;
AVRational         47 libavformat/asfdec.c     AVRational dar[128];
AVRational        720 libavformat/asfdec.c         avpriv_new_chapter(s, i, (AVRational) { 1, 10000000 }, pres_time,
AVRational       1031 libavformat/asfdec.c         AVRational aspect;
AVRational        306 libavformat/asfenc.c     AVRational scale = {1, 10000000};
AVRational        425 libavformat/asfenc.c                 AVRational sar = enc->sample_aspect_ratio;
AVRational         43 libavformat/audiointerleave.c                              AVRational time_base)
AVRational         36 libavformat/audiointerleave.h     AVRational time_base;         ///< time base of output audio packets
AVRational         39 libavformat/audiointerleave.h int ff_audio_interleave_init(AVFormatContext *s, const int *samples_per_frame, AVRational time_base);
AVRational        829 libavformat/avformat.h     AVRational time_base;
AVRational        859 libavformat/avformat.h     AVRational sample_aspect_ratio;
AVRational        870 libavformat/avformat.h     AVRational avg_frame_rate;
AVRational       1007 libavformat/avformat.h     AVRational r_frame_rate;
AVRational       1117 libavformat/avformat.h     AVRational display_aspect_ratio;
AVRational       1120 libavformat/avformat.h AVRational av_stream_get_r_frame_rate(const AVStream *s);
AVRational       1121 libavformat/avformat.h void       av_stream_set_r_frame_rate(AVStream *s, AVRational r);
AVRational       1172 libavformat/avformat.h     AVRational time_base;   ///< time base in which the start/end timestamps are specified
AVRational       2640 libavformat/avformat.h AVRational av_guess_sample_aspect_ratio(AVFormatContext *format, AVStream *stream, AVFrame *frame);
AVRational       2650 libavformat/avformat.h AVRational av_guess_frame_rate(AVFormatContext *ctx, AVStream *stream, AVFrame *frame);
AVRational        909 libavformat/avidec.c                 AVRational active, active_aspect;
AVRational       1022 libavformat/avidec.c         AVRational time_base;
AVRational       1312 libavformat/avidec.c                               (AVRational) { FFMAX(1, ast->sample_size),
AVRational        394 libavformat/avienc.c             AVRational dar = av_mul_q(st->sample_aspect_ratio,
AVRational        395 libavformat/avienc.c                                       (AVRational) { enc->width,
AVRational        221 libavformat/avisynth.c     st->time_base         = (AVRational) { avs->vi->fps_denominator,
AVRational        223 libavformat/avisynth.c     st->avg_frame_rate    = (AVRational) { avs->vi->fps_numerator,
AVRational        295 libavformat/avisynth.c     st->time_base          = (AVRational) { 1,
AVRational        515 libavformat/avisynth.c     AVRational fps, samplerate;
AVRational        640 libavformat/avisynth.c     AVRational fps, samplerate;
AVRational        645 libavformat/avisynth.c     fps        = (AVRational) { avs->vi->fps_numerator,
AVRational        647 libavformat/avisynth.c     samplerate = (AVRational) { avs->vi->audio_samples_per_second, 1 };
AVRational        196 libavformat/avs.c                     avs->st_video->avg_frame_rate = (AVRational){avs->fps, 1};
AVRational         47 libavformat/bintext.c     AVRational framerate; /**< frames per second (private option) */
AVRational         91 libavformat/c93.c     video->sample_aspect_ratio = (AVRational) { 5, 6 };
AVRational         35 libavformat/cdxl.c     AVRational  fps;
AVRational        534 libavformat/concatdec.c static void rescale_interval(AVRational tb_in, AVRational tb_out,
AVRational         76 libavformat/dfa.c         st->sample_aspect_ratio = (AVRational){2, 1};
AVRational         83 libavformat/dump.c                               int dump_payload, AVRational time_base)
AVRational        372 libavformat/dump.c         AVRational display_aspect_ratio;
AVRational        303 libavformat/dv.c                                        (AVRational) { 8, 1 },
AVRational        447 libavformat/dv.c                                  (AVRational) { 8, c->ast[0]->codec->bit_rate });
AVRational        539 libavformat/dv.c                                (AVRational) { 8, 1 },
AVRational        389 libavformat/dvenc.c     AVRational rate;
AVRational         69 libavformat/electronicarts.c     AVRational time_base;
AVRational        311 libavformat/electronicarts.c     ea->time_base   = (AVRational) { 1, 15 };
AVRational        342 libavformat/electronicarts.c         ea->time_base = (AVRational) { 1, fps };
AVRational        415 libavformat/electronicarts.c             ea->time_base   = (AVRational) { 1, 15 };
AVRational        420 libavformat/electronicarts.c             ea->time_base   = (AVRational) { 1, 15 };
AVRational        426 libavformat/electronicarts.c             ea->time_base = (AVRational) { avio_rl16(pb), 1000 };
AVRational         60 libavformat/ffmetadec.c     AVRational tb = {1, 1e9};
AVRational         58 libavformat/gif.c     const AVRational sar = avctx->sample_aspect_ratio;
AVRational         34 libavformat/gxf.c     AVRational frames_per_second;
AVRational        219 libavformat/gxf.c static const AVRational frame_rate_tab[] = {
AVRational        236 libavformat/gxf.c static AVRational fps_tag2avr(int32_t fps) {
AVRational        246 libavformat/gxf.c static AVRational fps_umf2avr(uint32_t flags) {
AVRational        247 libavformat/gxf.c     static const AVRational map[] = {{50, 1}, {60000, 1001}, {24, 1},
AVRational        259 libavformat/gxf.c     si->frames_per_second = (AVRational){0, 0};
AVRational        321 libavformat/gxf.c     AVRational main_timebase = {0, 0};
AVRational        406 libavformat/gxf.c             AVRational fps;
AVRational        435 libavformat/gxf.c         main_timebase = (AVRational){1001, 60000};
AVRational         77 libavformat/gxfenc.c     AVRational time_base;
AVRational        761 libavformat/gxfenc.c                 gxf->time_base = (AVRational){ 1001, 60000 };
AVRational        767 libavformat/gxfenc.c                 gxf->time_base = (AVRational){ 1, 50 };
AVRational        823 libavformat/gxfenc.c     if (ff_audio_interleave_init(s, GXF_samples_per_frame, (AVRational){ 1, 48000 }) < 0)
AVRational         48 libavformat/hls.c #define MPEG_TIME_BASE_Q (AVRational){1, MPEG_TIME_BASE}
AVRational       1504 libavformat/hls.c static AVRational get_timebase(struct playlist *pls)
AVRational       1535 libavformat/hls.c                 AVRational tb;
AVRational        622 libavformat/id3v2.c     AVRational time_base = {1, 1000};
AVRational        200 libavformat/id3v2enc.c     const AVRational time_base = {1, 1000};
AVRational         45 libavformat/img2.h     AVRational framerate;   /**< Set by a private option. */
AVRational         97 libavformat/internal.h     AVRational offset_timebase;
AVRational        266 libavformat/internal.h AVChapter *avpriv_new_chapter(AVFormatContext *s, int id, AVRational time_base,
AVRational        409 libavformat/internal.h AVRational ff_choose_timebase(AVFormatContext *s, AVStream *st, int min_precision);
AVRational         38 libavformat/ivfdec.c     AVRational time_base;
AVRational       1937 libavformat/matroskadec.c                                           (AVRational){ 1, 1000000000 },
AVRational       2031 libavformat/matroskadec.c                                                 (AVRational){1, st->codec->sample_rate});
AVRational       2036 libavformat/matroskadec.c                                                        (AVRational){1, 1000000000},
AVRational       2037 libavformat/matroskadec.c                                                        (AVRational){1, st->codec->sample_rate}));
AVRational       2168 libavformat/matroskadec.c                                    (AVRational) { 1, 1000000000 },
AVRational       2698 libavformat/matroskadec.c                                             (AVRational){1, 1000000000},
AVRational       2699 libavformat/matroskadec.c                                             (AVRational){1, st->codec->sample_rate}));
AVRational        902 libavformat/matroskaenc.c                                    (AVRational){ 1, codec->sample_rate },
AVRational        903 libavformat/matroskaenc.c                                    (AVRational){ 1, 1000000000 }));
AVRational       1061 libavformat/matroskaenc.c     AVRational scale = {1, 1E9};
AVRational       1572 libavformat/matroskaenc.c                                        (AVRational){1, codec->sample_rate},
AVRational       1573 libavformat/matroskaenc.c                                        (AVRational){1, 1000000000});
AVRational         40 libavformat/mgsts.c     AVRational  fps;
AVRational         35 libavformat/microdvddec.c     AVRational frame_rate;
AVRational         81 libavformat/microdvddec.c     AVRational pts_info = (AVRational){ 2997, 125 };  /* default: 23.976 fps */
AVRational         29 libavformat/microdvdenc.c     AVRational tb = avctx->time_base;
AVRational        315 libavformat/mlvdec.c        AVRational framerate;
AVRational        444 libavformat/mov.c         avpriv_new_chapter(c->fc, i, (AVRational){1,10000000}, start, AV_NOPTS_VALUE, str);
AVRational       3800 libavformat/mov.c     AVRational rate = {st->codec->time_base.den,
AVRational       1197 libavformat/movenc.c static AVRational find_fps(AVFormatContext *s, AVStream *st)
AVRational       1199 libavformat/movenc.c     AVRational rate = {st->codec->time_base.den, st->codec->time_base.num};
AVRational       1515 libavformat/movenc.c     AVRational sar;
AVRational       3020 libavformat/movenc.c         avio_wb64(pb, av_rescale_q(c->start, c->time_base, (AVRational){1,10000000}));
AVRational       4588 libavformat/movenc.c         int64_t end = av_rescale_q(c->end, c->time_base, (AVRational){1,MOV_TIMESCALE});
AVRational       4589 libavformat/movenc.c         pkt.pts = pkt.dts = av_rescale_q(c->start, c->time_base, (AVRational){1,MOV_TIMESCALE});
AVRational       4621 libavformat/movenc.c     AVRational rate = find_fps(s, src_st);
AVRational        174 libavformat/mp3dec.c                                        (AVRational){spf, c->sample_rate},
AVRational        236 libavformat/mp3dec.c                                             (AVRational){1, c->sample_rate},
AVRational        321 libavformat/mp3dec.c         st->duration = av_rescale_q(mp3->frames, (AVRational){spf, c.sample_rate},
AVRational        958 libavformat/mpeg.c         AVRational time_base = s->streams[0]->time_base;
AVRational        224 libavformat/mpegtsenc.c     AVRational user_tb;
AVRational         59 libavformat/mpsubdec.c     AVRational pts_info = (AVRational){ 100, 1 }; // ts based by default
AVRational         78 libavformat/mpsubdec.c             pts_info = (AVRational){ fps, 1 };
AVRational        102 libavformat/mux.c AVRational ff_choose_timebase(AVFormatContext *s, AVStream *st, int min_precision)
AVRational        104 libavformat/mux.c     AVRational q;
AVRational         85 libavformat/mvdec.c static AVRational var_read_float(AVIOContext *pb, int size)
AVRational         87 libavformat/mvdec.c     AVRational v;
AVRational         90 libavformat/mvdec.c         return (AVRational) { 0, 0 };
AVRational        199 libavformat/mvdec.c         AVRational fps = var_read_float(pb, size);
AVRational        126 libavformat/mxf.c static const AVRational mxf_time_base[] = {
AVRational        137 libavformat/mxf.c                                                        AVRational time_base)
AVRational        140 libavformat/mxf.c     AVRational diff = av_sub_q(time_base, mxf_time_base[idx]);
AVRational        144 libavformat/mxf.c     if (av_cmp_q(diff, (AVRational){1, 1000}) >= 0)
AVRational         73 libavformat/mxf.h     struct AVRational time_base;
AVRational         82 libavformat/mxf.h const MXFSamplesPerFrame *ff_mxf_get_samples_per_frame(AVFormatContext *s, AVRational time_base);
AVRational        126 libavformat/mxfdec.c     struct AVRational rate;
AVRational        151 libavformat/mxfdec.c     AVRational edit_rate;
AVRational        162 libavformat/mxfdec.c     AVRational sample_rate;
AVRational        163 libavformat/mxfdec.c     AVRational aspect_ratio;
AVRational        190 libavformat/mxfdec.c     AVRational index_edit_rate;
AVRational        731 libavformat/mxfdec.c         mxf_timecode->rate = (AVRational){avio_rb16(pb), 1};
AVRational       1832 libavformat/mxfdec.c             material_track->edit_rate = (AVRational){25, 1};
AVRational       2745 libavformat/mxfdec.c     AVRational time_base = av_inv_q(track->edit_rate);
AVRational       2746 libavformat/mxfdec.c     AVRational sample_rate = av_inv_q(st->time_base);
AVRational       2754 libavformat/mxfdec.c         *sample_count = av_q2d(av_mul_q((AVRational){mxf->current_edit_unit, 1},
AVRational         82 libavformat/mxfenc.c     AVRational aspect_ratio; ///< display aspect ratio
AVRational        296 libavformat/mxfenc.c     AVRational time_base;
AVRational       1518 libavformat/mxfenc.c     sc->aspect_ratio = (AVRational){ 16, 9 };
AVRational       1561 libavformat/mxfenc.c         sc->aspect_ratio = (AVRational){ 16, 9 };
AVRational       1563 libavformat/mxfenc.c         sc->aspect_ratio = (AVRational){ 4, 3 };
AVRational       1679 libavformat/mxfenc.c     sc->aspect_ratio = (AVRational){ 16, 9 }; // 16:9 is mandatory for broadcast HD
AVRational       1766 libavformat/mxfenc.c             case 2:  sc->aspect_ratio = (AVRational){  4,  3}; break;
AVRational       1767 libavformat/mxfenc.c             case 3:  sc->aspect_ratio = (AVRational){ 16,  9}; break;
AVRational       1768 libavformat/mxfenc.c             case 4:  sc->aspect_ratio = (AVRational){221,100}; break;
AVRational       1854 libavformat/mxfenc.c             AVRational rate, tbc = st->time_base;
AVRational       1970 libavformat/mxfenc.c         spf = ff_mxf_get_samples_per_frame(s, (AVRational){ 1, 25 });
AVRational        177 libavformat/nsvdec.c     AVRational framerate;
AVRational        383 libavformat/nsvdec.c     AVRational framerate;
AVRational        398 libavformat/nsvdec.c         if(t<16) framerate = (AVRational){1, t+1};
AVRational        399 libavformat/nsvdec.c         else     framerate = (AVRational){t-15, 1};
AVRational        411 libavformat/nsvdec.c         framerate= (AVRational){i, 1};
AVRational        222 libavformat/nut.c void ff_nut_reset_ts(NUTContext *nut, AVRational time_base, int64_t val)
AVRational         80 libavformat/nut.h     AVRational *time_base;
AVRational         88 libavformat/nut.h     AVRational *time_base;
AVRational        106 libavformat/nut.h     AVRational *time_base;
AVRational        111 libavformat/nut.h     AVRational *max_pts_tb;
AVRational        132 libavformat/nut.h void ff_nut_reset_ts(NUTContext *nut, AVRational time_base, int64_t val);
AVRational        250 libavformat/nutdec.c     GET_V(nut->time_base_count, tmp > 0 && tmp < INT_MAX / sizeof(AVRational));
AVRational        251 libavformat/nutdec.c     nut->time_base = av_malloc(nut->time_base_count * sizeof(AVRational));
AVRational        181 libavformat/nutenc.c             AVRational f = av_div_q(codec->time_base, *nut->stream[stream_id].time_base);
AVRational        272 libavformat/nutenc.c static void put_tt(NUTContext *nut, AVRational *time_base, AVIOContext *bc, uint64_t val)
AVRational        722 libavformat/nutenc.c         AVRational time_base;
AVRational        726 libavformat/nutenc.c             time_base = (AVRational) {1, st->codec->sample_rate};
AVRational        734 libavformat/nutenc.c             if (!memcmp(&time_base, &nut->time_base[j], sizeof(AVRational))) {
AVRational        754 libavformat/nutenc.c             if (!memcmp(&ch->time_base, &nut->time_base[j], sizeof(AVRational)))
AVRational        588 libavformat/oggenc.c                                (AVRational){ 1, st->codec->sample_rate },
AVRational         61 libavformat/oggparsetheora.c         AVRational timebase;
AVRational         53 libavformat/oggparsevorbis.c         avpriv_new_chapter(as, cnum, (AVRational) { 1, 1000 },
AVRational         36 libavformat/oggparsevp8.c     AVRational framerate;
AVRational         58 libavformat/r3d.c     AVRational framerate;
AVRational         33 libavformat/rawdec.h     AVRational framerate;     /**< AVRational describing framerate, set by a private option. */
AVRational         32 libavformat/rawvideodec.c     AVRational framerate;     /**< AVRational describing framerate, set by a private option. */
AVRational         62 libavformat/rawvideodec.c                                        (AVRational){8,1}, st->time_base);
AVRational         95 libavformat/rpl.c static AVRational read_fps(const char* line, int* error)
AVRational         98 libavformat/rpl.c     AVRational result;
AVRational        126 libavformat/rpl.c     AVRational fps;
AVRational        268 libavformat/rtpenc.c     rtp_ts = av_rescale_q(ntp_time - s->first_rtcp_ntp_time, (AVRational){1, 1000000},
AVRational         46 libavformat/seek-test.c static void ts_str(char buffer[60], int64_t ts, AVRational base)
AVRational         52 libavformat/seek-test.c     ts= av_rescale_q(ts, base, (AVRational){1, 1000000});
AVRational        456 libavformat/tee.c     AVRational tb, tb2;
AVRational         34 libavformat/thp.c     AVRational       fps;
AVRational         72 libavformat/tmv.c     AVRational fps;
AVRational         42 libavformat/tty.c     AVRational framerate; /**< Set by a private option. */
AVRational        106 libavformat/utils.c MAKE_ACCESSORS(AVStream, stream, AVRational, r_frame_rate)
AVRational        746 libavformat/utils.c     AVRational codec_framerate = s->iformat ? st->codec->framerate :
AVRational        747 libavformat/utils.c                                               av_mul_q(av_inv_q(st->codec->time_base), (AVRational){1, st->codec->ticks_per_frame});
AVRational        988 libavformat/utils.c     AVRational duration;
AVRational       1056 libavformat/utils.c     duration = av_mul_q((AVRational) {pkt->duration, 1}, st->time_base);
AVRational       1060 libavformat/utils.c             duration = (AVRational) {num, den};
AVRational       1231 libavformat/utils.c                                      (AVRational) { 1, st->codec->sample_rate },
AVRational       2168 libavformat/utils.c             AVRational time_base = s->streams[0]->time_base;
AVRational       2965 libavformat/utils.c             AVRational ref_rate = st->r_frame_rate.num ? st->r_frame_rate : av_inv_q(st->time_base);
AVRational       3369 libavformat/utils.c                     AVRational std_fps = { get_std_framerate(j), 12 * 1001 };
AVRational       3394 libavformat/utils.c                 AVRational hw_ratio = { st->codec->height, st->codec->width };
AVRational       3710 libavformat/utils.c     st->sample_aspect_ratio = (AVRational) { 0, 1 };
AVRational       3752 libavformat/utils.c AVChapter *avpriv_new_chapter(AVFormatContext *s, int id, AVRational time_base,
AVRational       3993 libavformat/utils.c     AVRational new_tb;
AVRational       4170 libavformat/utils.c AVRational av_guess_sample_aspect_ratio(AVFormatContext *format, AVStream *stream, AVFrame *frame)
AVRational       4172 libavformat/utils.c     AVRational undef = {0, 1};
AVRational       4173 libavformat/utils.c     AVRational stream_sample_aspect_ratio = stream ? stream->sample_aspect_ratio : undef;
AVRational       4174 libavformat/utils.c     AVRational codec_sample_aspect_ratio  = stream && stream->codec ? stream->codec->sample_aspect_ratio : undef;
AVRational       4175 libavformat/utils.c     AVRational frame_sample_aspect_ratio  = frame  ? frame->sample_aspect_ratio  : codec_sample_aspect_ratio;
AVRational       4193 libavformat/utils.c AVRational av_guess_frame_rate(AVFormatContext *format, AVStream *st, AVFrame *frame)
AVRational       4195 libavformat/utils.c     AVRational fr = st->r_frame_rate;
AVRational       4196 libavformat/utils.c     AVRational codec_fr = st->codec->framerate;
AVRational       4197 libavformat/utils.c     AVRational   avg_fr = st->avg_frame_rate;
AVRational        121 libavformat/vivo.c     AVRational fps = { 1, 25};
AVRational        207 libavformat/vivo.c                 AVRational tmp;
AVRational        218 libavformat/wtvenc.c     AVRational dar = av_mul_q(st->sample_aspect_ratio, (AVRational){st->codec->width, st->codec->height});
AVRational         95 libavformat/yop.c     video_stream->sample_aspect_ratio = (AVRational){1, 2};
AVRational        256 libavformat/yuv4mpegdec.c     st->sample_aspect_ratio           = (AVRational){ aspectn, aspectd };
AVRational        253 libavutil/avutil.h #define AV_TIME_BASE_Q          (AVRational){1, AV_TIME_BASE}
AVRational        337 libavutil/avutil.h AVRational av_get_time_base_q(void);
AVRational        104 libavutil/frame.c     frame->sample_aspect_ratio = (AVRational){ 0, 1 };
AVRational        244 libavutil/frame.h     AVRational sample_aspect_ratio;
AVRational        244 libavutil/imgutils.c int av_image_check_sar(unsigned int w, unsigned int h, AVRational sar)
AVRational        206 libavutil/imgutils.h int av_image_check_sar(unsigned int w, unsigned int h, AVRational sar);
AVRational        132 libavutil/mathematics.c int64_t av_rescale_q_rnd(int64_t a, AVRational bq, AVRational cq,
AVRational        140 libavutil/mathematics.c int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq)
AVRational        145 libavutil/mathematics.c int av_compare_ts(int64_t ts_a, AVRational tb_a, int64_t ts_b, AVRational tb_b)
AVRational        166 libavutil/mathematics.c int64_t av_rescale_delta(AVRational in_tb, int64_t in_ts,  AVRational fs_tb, int duration, int64_t *last, AVRational out_tb){
AVRational        189 libavutil/mathematics.c int64_t av_add_stable(AVRational ts_tb, int64_t ts, AVRational inc_tb, int64_t inc)
AVRational        194 libavutil/mathematics.c         inc_tb = av_mul_q(inc_tb, (AVRational) {inc, 1});
AVRational        104 libavutil/mathematics.h int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq) av_const;
AVRational        112 libavutil/mathematics.h int64_t av_rescale_q_rnd(int64_t a, AVRational bq, AVRational cq,
AVRational        121 libavutil/mathematics.h int av_compare_ts(int64_t ts_a, AVRational tb_a, int64_t ts_b, AVRational tb_b);
AVRational        144 libavutil/mathematics.h int64_t av_rescale_delta(AVRational in_tb, int64_t in_ts,  AVRational fs_tb, int duration, int64_t *last, AVRational out_tb);
AVRational        157 libavutil/mathematics.h int64_t av_add_stable(AVRational ts_tb, int64_t ts, AVRational inc_tb, int64_t inc);
AVRational         76 libavutil/opt.c     case AV_OPT_TYPE_RATIONAL:  *intnum = ((AVRational*)dst)->num;
AVRational         77 libavutil/opt.c                                 *den    = ((AVRational*)dst)->den;
AVRational        113 libavutil/opt.c         if ((int)num == num) *(AVRational*)dst= (AVRational){num*intnum, den};
AVRational        114 libavutil/opt.c         else                 *(AVRational*)dst= av_d2q(num*intnum/den, 1<<24);
AVRational        278 libavutil/opt.c static int set_string_video_rate(void *obj, const AVOption *o, const char *val, AVRational *dst)
AVRational        446 libavutil/opt.c OPT_EVAL_NUMBER(q,      AV_OPT_TYPE_RATIONAL, AVRational)
AVRational        473 libavutil/opt.c const AVOption *av_set_q(void *obj, const char *name, AVRational n)
AVRational        500 libavutil/opt.c int av_opt_set_q(void *obj, const char *name, AVRational val, int search_flags)
AVRational        557 libavutil/opt.c int av_opt_set_video_rate(void *obj, const char *name, AVRational val, int search_flags)
AVRational        655 libavutil/opt.c     case AV_OPT_TYPE_RATIONAL:  snprintf(buf, buf_len, "%d/%d", ((AVRational*)dst)->num, ((AVRational*)dst)->den);break;
AVRational        709 libavutil/opt.c     case AV_OPT_TYPE_RATIONAL:  ret = snprintf(buf, sizeof(buf), "%d/%d",   ((AVRational*)dst)->num, ((AVRational*)dst)->den);break;
AVRational        796 libavutil/opt.c AVRational av_get_q(void *obj, const char *name, const AVOption **o_out)
AVRational        803 libavutil/opt.c         return (AVRational){0, 0};
AVRational        805 libavutil/opt.c         return (AVRational){intnum, den};
AVRational        846 libavutil/opt.c int av_opt_get_q(void *obj, const char *name, int search_flags, AVRational *out_val)
AVRational        856 libavutil/opt.c         *out_val = (AVRational){intnum, den};
AVRational        880 libavutil/opt.c int av_opt_get_video_rate(void *obj, const char *name, int search_flags, AVRational *out_val)
AVRational        890 libavutil/opt.c         *out_val = (AVRational){intnum, den};
AVRational       1136 libavutil/opt.c                 AVRational q = av_d2q(opt->default_val.dbl, INT_MAX);
AVRational       1216 libavutil/opt.c                 AVRational val;
AVRational       1568 libavutil/opt.c     case AV_OPT_TYPE_RATIONAL:  return sizeof(AVRational);
AVRational       1746 libavutil/opt.c     AVRational q;
AVRational       1785 libavutil/opt.c         return !av_cmp_q(*(AVRational*)dst, q);
AVRational       1815 libavutil/opt.c         q = (AVRational){0, 0};
AVRational       1820 libavutil/opt.c         return !av_cmp_q(*(AVRational*)dst, q);
AVRational       1904 libavutil/opt.c     AVRational rational;
AVRational       1905 libavutil/opt.c     AVRational video_rate;
AVRational        279 libavutil/opt.h         AVRational q;
AVRational        413 libavutil/opt.h attribute_deprecated const AVOption *av_set_q(void *obj, const char *name, AVRational n);
AVRational        417 libavutil/opt.h AVRational av_get_q(void *obj, const char *name, const AVOption **o_out);
AVRational        597 libavutil/opt.h int av_opt_eval_q     (void *obj, const AVOption *o, const char *val, AVRational *q_out);
AVRational        724 libavutil/opt.h int av_opt_set_q       (void *obj, const char *name, AVRational  val, int search_flags);
AVRational        729 libavutil/opt.h int av_opt_set_video_rate(void *obj, const char *name, AVRational val, int search_flags);
AVRational        775 libavutil/opt.h int av_opt_get_q       (void *obj, const char *name, int search_flags, AVRational *out_val);
AVRational        779 libavutil/opt.h int av_opt_get_video_rate(void *obj, const char *name, int search_flags, AVRational *out_val);
AVRational         44 libavutil/parseutils.c int av_parse_ratio(AVRational *q, const char *str, int max,
AVRational         72 libavutil/parseutils.c     AVRational rate;
AVRational        169 libavutil/parseutils.c int av_parse_video_rate(AVRational *rate, const char *arg)
AVRational        753 libavutil/parseutils.c             AVRational q = { 0, 0 };
AVRational         49 libavutil/parseutils.h int av_parse_ratio(AVRational *q, const char *str, int max,
AVRational         77 libavutil/parseutils.h int av_parse_video_rate(AVRational *rate, const char *str);
AVRational         38 libavutil/rational.c     AVRational a0 = { 0, 1 }, a1 = { 1, 0 };
AVRational         47 libavutil/rational.c         a1 = (AVRational) { num, den };
AVRational         62 libavutil/rational.c                 a1 = (AVRational) { x * a1.num + a0.num, x * a1.den + a0.den };
AVRational         67 libavutil/rational.c         a1  = (AVRational) { a2n, a2d };
AVRational         80 libavutil/rational.c AVRational av_mul_q(AVRational b, AVRational c)
AVRational         88 libavutil/rational.c AVRational av_div_q(AVRational b, AVRational c)
AVRational         90 libavutil/rational.c     return av_mul_q(b, (AVRational) { c.den, c.num });
AVRational         93 libavutil/rational.c AVRational av_add_q(AVRational b, AVRational c) {
AVRational        101 libavutil/rational.c AVRational av_sub_q(AVRational b, AVRational c)
AVRational        103 libavutil/rational.c     return av_add_q(b, (AVRational) { -c.num, c.den });
AVRational        106 libavutil/rational.c AVRational av_d2q(double d, int max)
AVRational        108 libavutil/rational.c     AVRational a;
AVRational        113 libavutil/rational.c         return (AVRational) { 0,0 };
AVRational        115 libavutil/rational.c         return (AVRational) { d < 0 ? -1 : 1, 0 };
AVRational        126 libavutil/rational.c int av_nearer_q(AVRational q, AVRational q1, AVRational q2)
AVRational        141 libavutil/rational.c int av_find_nearest_q_idx(AVRational q, const AVRational* q_list)
AVRational        154 libavutil/rational.c     AVRational a,b,r;
AVRational         53 libavutil/rational.h static inline AVRational av_make_q(int num, int den)
AVRational         55 libavutil/rational.h     AVRational r = { num, den };
AVRational         66 libavutil/rational.h static inline int av_cmp_q(AVRational a, AVRational b){
AVRational         80 libavutil/rational.h static inline double av_q2d(AVRational a){
AVRational        102 libavutil/rational.h AVRational av_mul_q(AVRational b, AVRational c) av_const;
AVRational        110 libavutil/rational.h AVRational av_div_q(AVRational b, AVRational c) av_const;
AVRational        118 libavutil/rational.h AVRational av_add_q(AVRational b, AVRational c) av_const;
AVRational        126 libavutil/rational.h AVRational av_sub_q(AVRational b, AVRational c) av_const;
AVRational        133 libavutil/rational.h static av_always_inline AVRational av_inv_q(AVRational q)
AVRational        135 libavutil/rational.h     AVRational r = { q.den, q.num };
AVRational        147 libavutil/rational.h AVRational av_d2q(double d, int max) av_const;
AVRational        153 libavutil/rational.h int av_nearer_q(AVRational q, AVRational q1, AVRational q2);
AVRational        160 libavutil/rational.h int av_find_nearest_q_idx(AVRational q, const AVRational* q_list);
AVRational        170 libavutil/timecode.c static int fps_from_frame_rate(AVRational rate)
AVRational        177 libavutil/timecode.c int av_timecode_check_frame_rate(AVRational rate)
AVRational        182 libavutil/timecode.c int av_timecode_init(AVTimecode *tc, AVRational rate, int flags, int frame_start, void *log_ctx)
AVRational        192 libavutil/timecode.c int av_timecode_init_from_string(AVTimecode *tc, AVRational rate, const char *str, void *log_ctx)
AVRational         44 libavutil/timecode.h     AVRational rate;    ///< frame rate in rational form
AVRational        119 libavutil/timecode.h int av_timecode_init(AVTimecode *tc, AVRational rate, int flags, int frame_start, void *log_ctx);
AVRational        131 libavutil/timecode.h int av_timecode_init_from_string(AVTimecode *tc, AVRational rate, const char *str, void *log_ctx);
AVRational        138 libavutil/timecode.h int av_timecode_check_frame_rate(AVRational rate);
AVRational         65 libavutil/timestamp.h static inline char *av_ts_make_time_string(char *buf, int64_t ts, AVRational *tb)
AVRational        117 libavutil/utils.c AVRational av_get_time_base_q(void)
AVRational        119 libavutil/utils.c     return (AVRational){1, AV_TIME_BASE};
AVRational         85 tools/seek_print.c                 AVRational *tb = &avf->streams[packet.stream_index]->time_base;