D:/opendownloadmanager/ODM-1.x/Include.Add/ffmpeg/rational.h File Reference

Go to the source code of this file.

Classes

struct  AVRational

Functions

static int av_cmp_q (AVRational a, AVRational b)
static double av_q2d (AVRational a)
int av_reduce (int *dst_nom, int *dst_den, int64_t nom, int64_t den, int64_t max)
AVRational av_mul_q (AVRational b, AVRational c)
AVRational av_div_q (AVRational b, AVRational c)
AVRational av_add_q (AVRational b, AVRational c)
AVRational av_sub_q (AVRational b, AVRational c)
AVRational av_d2q (double d, int max)


Function Documentation

AVRational av_add_q ( AVRational  b,
AVRational  c 
)

static int av_cmp_q ( AVRational  a,
AVRational  b 
) [inline, static]

Definition at line 13 of file rational.h.

References AVRational::den, and AVRational::num.

Referenced by new_video_stream().

AVRational av_d2q ( double  d,
int  max 
)

Referenced by new_video_stream(), and opt_frame_rate().

AVRational av_div_q ( AVRational  b,
AVRational  c 
)

AVRational av_mul_q ( AVRational  b,
AVRational  c 
)

static double av_q2d ( AVRational  a  )  [inline, static]

Definition at line 20 of file rational.h.

References AVRational::den, and AVRational::num.

Referenced by av_encode(), do_video_out(), do_video_stats(), and opt_input_file().

int av_reduce ( int *  dst_nom,
int *  dst_den,
int64_t  nom,
int64_t  den,
int64_t  max 
)

AVRational av_sub_q ( AVRational  b,
AVRational  c 
)

Referenced by new_video_stream().


Generated on Sun May 25 00:19:59 2008 by  doxygen 1.5.6