Lines Matching refs:AVRational
43 typedef struct AVRational{
46 } AVRational;
53 static inline AVRational av_make_q(int num, int den)
55 AVRational r = { num, den };
66 static inline int av_cmp_q(AVRational a, AVRational b){
80 static inline double av_q2d(AVRational a){
102 AVRational av_mul_q(AVRational b, AVRational c) av_const;
110 AVRational av_div_q(AVRational b, AVRational c) av_const;
118 AVRational av_add_q(AVRational b, AVRational c) av_const;
126 AVRational av_sub_q(AVRational b, AVRational c) av_const;
133 static av_always_inline AVRational av_inv_q(AVRational q)
135 AVRational r = { q.den, q.num };
145 * @return (AVRational) d
147 AVRational av_d2q(double d, int max) av_const;
153 int av_nearer_q(AVRational q, AVRational q1, AVRational q2);
160 int av_find_nearest_q_idx(AVRational q, const AVRational* q_list);