Tianji Wu
/
syncMaster_3
syncMaster for problem 3
hdtimeval_math.h@0:b9f06a7ae791, 2010-12-03 (annotated)
- Committer:
- the729
- Date:
- Fri Dec 03 20:53:21 2010 +0000
- Revision:
- 0:b9f06a7ae791
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
the729 | 0:b9f06a7ae791 | 1 | #ifndef HDTIMEVAL_MATH_H |
the729 | 0:b9f06a7ae791 | 2 | #define HDTIMEVAL_MATH_H |
the729 | 0:b9f06a7ae791 | 3 | |
the729 | 0:b9f06a7ae791 | 4 | #include "timesync.h" |
the729 | 0:b9f06a7ae791 | 5 | |
the729 | 0:b9f06a7ae791 | 6 | void hdtv_add (hdtimeval_t * r, hdtimeval_t * v1, hdtimeval_t * v2); |
the729 | 0:b9f06a7ae791 | 7 | void hdtv_div2 (hdtimeval_t * r, hdtimeval_t * v); |
the729 | 0:b9f06a7ae791 | 8 | void hdtv_div8 (hdtimeval_t * r, hdtimeval_t * v); |
the729 | 0:b9f06a7ae791 | 9 | void hdtv_sub (hdtimeval_t * r, hdtimeval_t * v1, hdtimeval_t * v2); |
the729 | 0:b9f06a7ae791 | 10 | void hdtv_muldiv (hdtimeval_t * r, hdtimeval_t * v, hdtimeval_t * m, hdtimeval_t * d); |
the729 | 0:b9f06a7ae791 | 11 | void hdtv_totv(timeval_t * r, hdtimeval_t * v); |
the729 | 0:b9f06a7ae791 | 12 | |
the729 | 0:b9f06a7ae791 | 13 | #endif //HDTIMEVAL_MATH_H |