Revision 78b01823 libavutil/mathematics.h
libavutil/mathematics.h  

80  80 
*/ 
81  81 
int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq) av_const; 
82  82  
83 
/** 

84 
* Compares 2 timestamps each in its own timebases. 

85 
* The result of the function is undefined if one of the timestamps 

86 
* is outside the int64_t range when represented in the others timebase. 

87 
* @returns 1 if ts_a is before ts_b, 1 if ts_a is after ts_b or 0 if they represent the same position 

88 
*/ 

89 
int av_compare_ts(int64_t ts_a, AVRational tb_a, int64_t ts_b, AVRational tb_b); 

90  
91  
83  92 
#endif /* AVUTIL_MATHEMATICS_H */ 
Also available in: Unified diff