AVRational        129 ffmpeg.c       static AVRational frame_rate;
AVRational       3026 ffmpeg.c               AVRational fps= frame_rate.num ? frame_rate : (AVRational){25,1};
AVRational       3194 ffmpeg.c           audio_enc->time_base= (AVRational){1, audio_sample_rate};
AVRational       1934 ffplay.c           ap->time_base= (AVRational){1, 25};
AVRational       4150 ffserver.c                     AVRational frame_rate;
AVRational        215 libavcodec/apiexample.c     c->time_base= (AVRational){1,25};
AVRational         48 libavcodec/avcodec.h #define AV_TIME_BASE_Q          (AVRational){1, AV_TIME_BASE}
AVRational        924 libavcodec/avcodec.h     AVRational time_base;
AVRational       1482 libavcodec/avcodec.h     AVRational sample_aspect_ratio;
AVRational       2378 libavcodec/avcodec.h     const AVRational *supported_framerates; ///< array of supported framerates, or NULL if any, array is terminated by {0,0}
AVRational         50 libavcodec/dvdata.h     AVRational       time_base;             /* 1/framerate */
AVRational         54 libavcodec/dvdata.h     AVRational       sar[2];                /* sample aspect ratios for 4:3 and 16:9 */
AVRational         54 libavcodec/eatgq.c     avctx->time_base = (AVRational){1, 15};
AVRational         55 libavcodec/eatgv.c     avctx->time_base = (AVRational){1, 15};
AVRational         56 libavcodec/eatqi.c     avctx->time_base = (AVRational){1, 15};
AVRational        465 libavcodec/h261dec.c     s->avctx->time_base= (AVRational){1001, 30000};
AVRational        162 libavcodec/h263.c     if(aspect.num==0) aspect= (AVRational){1,1};
AVRational       5078 libavcodec/h263.c         s->avctx->sample_aspect_ratio= (AVRational){12,11};
AVRational       5079 libavcodec/h263.c         s->avctx->time_base= (AVRational){1001, 30000};
AVRational       5165 libavcodec/h263.c                 s->avctx->sample_aspect_ratio= (AVRational){12,11};
AVRational       5186 libavcodec/h263.c                 s->avctx->time_base= (AVRational){1001, 30000};
AVRational       3779 libavcodec/h264.c             s->avctx->time_base= (AVRational){h->sps.num_units_in_tick, h->sps.time_scale};
AVRational        168 libavcodec/h264.h     AVRational sar;
AVRational         38 libavcodec/h264data.h static const AVRational pixel_aspect[17]={
AVRational        188 libavcodec/libvorbis.c         avccontext->coded_frame->pts= av_rescale_q(op2->granulepos, (AVRational){1, avccontext->sample_rate}, avccontext->time_base);
AVRational       1164 libavcodec/mpeg12.c     AVRational frame_rate_ext;       ///< MPEG-2 specific framerate modificator
AVRational       1290 libavcodec/mpeg12.c                          (AVRational){s->width, s->height}
AVRational       1296 libavcodec/mpeg12.c                          (AVRational){s1->pan_scan.width, s1->pan_scan.height}
AVRational        308 libavcodec/mpeg12data.c const AVRational ff_frame_rate_tab[] = {
AVRational        349 libavcodec/mpeg12data.c const AVRational ff_mpeg2_aspect[16]={
AVRational         51 libavcodec/mpeg12data.h extern const AVRational ff_frame_rate_tab[];
AVRational         54 libavcodec/mpeg12data.h extern const AVRational ff_mpeg2_aspect[16];
AVRational        204 libavcodec/mpeg12enc.c             AVRational framerate= ff_frame_rate_tab[s->frame_rate_index];
AVRational        373 libavcodec/mpeg4data.h static const AVRational pixel_aspect[16]={
AVRational         72 libavcodec/opt.c         if((int)num == num) *(AVRational*)dst= (AVRational){num*intnum, den};
AVRational         73 libavcodec/opt.c         else                *(AVRational*)dst= av_d2q(num*intnum/den, 1<<24);
AVRational        254 libavcodec/opt.c     case FF_OPT_TYPE_RATIONAL:  snprintf(buf, buf_len, "%d/%d", ((AVRational*)dst)->num, ((AVRational*)dst)->den);break;
AVRational        283 libavcodec/opt.c     case FF_OPT_TYPE_RATIONAL:  *intnum= ((AVRational*)dst)->num;
AVRational        284 libavcodec/opt.c                                 *den   = ((AVRational*)dst)->den;
AVRational        301 libavcodec/opt.c AVRational av_get_q(void *obj, const char *name, const AVOption **o_out){
AVRational        308 libavcodec/opt.c         return (AVRational){intnum, den};
AVRational        437 libavcodec/opt.c                 AVRational val;
AVRational        148 libavcodec/opt.h AVRational av_get_q(void *obj, const char *name, const AVOption **o_out);
AVRational        426 libavcodec/options.c     s->time_base= (AVRational){0,1};
AVRational        431 libavcodec/options.c     s->sample_aspect_ratio= (AVRational){0,1};
AVRational         46 libavcodec/parser.h     AVRational frame_rate;
AVRational       1073 libavcodec/roqvideoenc.c     .supported_framerates = (AVRational[]){{30,1}, {0,0}},
AVRational        686 libavcodec/utils.c     AVRational display_aspect_ratio;
AVRational       1121 libavcodec/utils.c         AVRational time_base = av_d2q(strtod(arg, 0), 1001000);
AVRational       1036 libavcodec/vc1.c             v->s.avctx->sample_aspect_ratio = (AVRational){w, h};
AVRational        142 libavcodec/vc1data.c const AVRational ff_vc1_pixel_aspect[16]={
AVRational         95 libavcodec/vc1data.h extern const AVRational ff_vc1_pixel_aspect[16];
AVRational         41 libavdevice/v4l.c     AVRational time_base;
AVRational         61 libavdevice/x11grab.c     AVRational time_base;    /**< Time base */
AVRational         94 libavfilter/avfilter.h     AVRational pixel_aspect;    ///< pixel aspect ratio
AVRational        170 libavformat/asfdec.c     AVRational dar[128];
AVRational         36 libavformat/audiointerleave.h     AVRational time_base;         ///< time base of output audio packets
AVRational        245 libavformat/avformat.h     AVRational time_base;
AVRational        440 libavformat/avformat.h     AVRational r_frame_rate;
AVRational        453 libavformat/avformat.h     AVRational time_base;
AVRational        514 libavformat/avformat.h     AVRational sample_aspect_ratio;
AVRational        560 libavformat/avformat.h     AVRational time_base;   ///< time base in which the start/end timestamps are specified
AVRational        563 libavformat/avidec.c                 AVRational active, active_aspect;
AVRational        297 libavformat/avienc.c             AVRational dar = av_mul_q(s->streams[i]->sample_aspect_ratio,
AVRational        298 libavformat/avienc.c                                       (AVRational){stream->width, stream->height});
AVRational        187 libavformat/avs.c                     avs->st_video->codec->time_base = (AVRational) {
AVRational         87 libavformat/c93.c     video->sample_aspect_ratio = (AVRational) { 5, 6 };
AVRational         88 libavformat/c93.c     video->time_base = (AVRational) { 2, 25 };
AVRational        266 libavformat/dv.c         avctx->bit_rate = av_rescale_q(c->sys->frame_size, (AVRational){8,1},
AVRational        392 libavformat/dv.c                                 (AVRational){8, c->ast[0]->codec->bit_rate});
AVRational        436 libavformat/dv.c     s->bit_rate = av_rescale_q(c->dv_demux->sys->frame_size, (AVRational){8,1},
AVRational         64 libavformat/electronicarts.c     AVRational time_base;
AVRational        266 libavformat/electronicarts.c     ea->time_base = (AVRational){1,15};
AVRational        332 libavformat/electronicarts.c                 ea->time_base = (AVRational){0,0};
AVRational        337 libavformat/electronicarts.c                 ea->time_base = (AVRational){0,0};
AVRational         29 libavformat/gxf.c     AVRational frames_per_second;
AVRational        186 libavformat/gxf.c static AVRational fps_tag2avr(int32_t fps) {
AVRational        187 libavformat/gxf.c     extern const AVRational ff_frame_rate_tab[];
AVRational        197 libavformat/gxf.c static AVRational fps_umf2avr(uint32_t flags) {
AVRational        198 libavformat/gxf.c     static const AVRational map[] = {{50, 1}, {60000, 1001}, {24, 1},
AVRational        210 libavformat/gxf.c     si->frames_per_second = (AVRational){0, 0};
AVRational        262 libavformat/gxf.c     AVRational main_timebase = {0, 0};
AVRational        339 libavformat/gxf.c             AVRational fps;
AVRational        355 libavformat/gxf.c         main_timebase = (AVRational){1, 50}; // set some arbitrary fallback
AVRational        679 libavformat/gxfenc.c     if (ff_audio_interleave_init(s, GXF_samples_per_frame, (AVRational){ 1, 48000 }) < 0)
AVRational       1439 libavformat/matroskadec.c             ff_new_chapter(s, chapters[i].uid, (AVRational){1, 1000000000},
AVRational        456 libavformat/mp3.c     st->duration = av_rescale_q(frames, (AVRational){spf, c.sample_rate},
AVRational         85 libavformat/mxfdec.c     AVRational edit_rate;
AVRational         93 libavformat/mxfdec.c     AVRational sample_rate;
AVRational         94 libavformat/mxfdec.c     AVRational aspect_ratio;
AVRational         71 libavformat/mxfenc.c     AVRational aspect_ratio; ///< display aspect ratio
AVRational        173 libavformat/mxfenc.c     AVRational time_base;
AVRational       1336 libavformat/mxfenc.c                 case 2:  sc->aspect_ratio = (AVRational){  4,  3}; break;
AVRational       1337 libavformat/mxfenc.c                 case 3:  sc->aspect_ratio = (AVRational){ 16,  9}; break;
AVRational       1338 libavformat/mxfenc.c                 case 4:  sc->aspect_ratio = (AVRational){221,100}; break;
AVRational       1395 libavformat/mxfenc.c                 mxf->time_base = (AVRational){ 1, 25 };
AVRational       1399 libavformat/mxfenc.c                 mxf->time_base = (AVRational){ 1001, 30000 };
AVRational        183 libavformat/nsvdec.c     AVRational framerate;
AVRational        397 libavformat/nsvdec.c     AVRational framerate;
AVRational        412 libavformat/nsvdec.c         if(t<16) framerate = (AVRational){1, t+1};
AVRational        413 libavformat/nsvdec.c         else     framerate = (AVRational){t-15, 1};
AVRational        425 libavformat/nsvdec.c         framerate= (AVRational){i, 1};
AVRational         77 libavformat/nut.h     AVRational *time_base;
AVRational         96 libavformat/nut.h     AVRational *time_base;
AVRational        204 libavformat/nutdec.c     GET_V(nut->time_base_count, tmp>0 && tmp<INT_MAX / sizeof(AVRational))
AVRational        205 libavformat/nutdec.c     nut->time_base= av_malloc(nut->time_base_count * sizeof(AVRational));
AVRational        566 libavformat/nutenc.c     nut->time_base= av_mallocz(sizeof(AVRational   )*s->nb_streams);
AVRational        571 libavformat/nutenc.c         AVRational time_base;
AVRational        577 libavformat/nutenc.c             if(!memcmp(&time_base, &nut->time_base[j], sizeof(AVRational))){
AVRational        286 libavformat/raw.c         st->codec->time_base= (AVRational){1,25};
AVRational         91 libavformat/rpl.c static AVRational read_fps(const char* line, int* error)
AVRational         94 libavformat/rpl.c     AVRational result;
AVRational        122 libavformat/rpl.c     AVRational fps;
AVRational         85 libavformat/rtpenc.c             s->max_frames_per_packet = av_rescale_q(s1->max_delay, (AVRational){1, 1000000}, st->codec->time_base);
AVRational        128 libavformat/rtpenc.c     rtp_ts = av_rescale_q(ntp_time - s->first_rtcp_ntp_time, (AVRational){1, 1000000},
AVRational        106 libavformat/swfdec.c             vst->codec->time_base = (AVRational){ 256, swf->frame_rate };
AVRational        164 libavformat/swfdec.c                 vst->codec->time_base = (AVRational){ 256, swf->frame_rate };
AVRational         32 libavformat/thp.c     AVRational       fps;
AVRational       2368 libavformat/utils.c     st->sample_aspect_ratio = (AVRational){0,1};
AVRational       2823 libavformat/utils.c         AVRational display_aspect_ratio;
AVRational       2909 libavformat/utils.c     AVRational frame_rate;
AVRational        334 libavformat/yuv4mpeg.c     st->sample_aspect_ratio= (AVRational){aspectn, aspectd};
AVRational         37 libavutil/rational.c     AVRational a0={0,1}, a1={1,0};
AVRational         46 libavutil/rational.c         a1= (AVRational){num, den};
AVRational         61 libavutil/rational.c                 a1 = (AVRational){x*a1.num + a0.num, x*a1.den + a0.den};
AVRational         66 libavutil/rational.c         a1= (AVRational){a2n, a2d};
AVRational         78 libavutil/rational.c AVRational av_mul_q(AVRational b, AVRational c){
AVRational         83 libavutil/rational.c AVRational av_div_q(AVRational b, AVRational c){
AVRational         84 libavutil/rational.c     return av_mul_q(b, (AVRational){c.den, c.num});
AVRational         87 libavutil/rational.c AVRational av_add_q(AVRational b, AVRational c){
AVRational         92 libavutil/rational.c AVRational av_sub_q(AVRational b, AVRational c){
AVRational         93 libavutil/rational.c     return av_add_q(b, (AVRational){-c.num, c.den});
AVRational         96 libavutil/rational.c AVRational av_d2q(double d, int max){
AVRational         97 libavutil/rational.c     AVRational a;
AVRational         82 libavutil/rational.h AVRational av_mul_q(AVRational b, AVRational c) av_const;