Revision f2c694af libavcodec/mathops.h
libavcodec/mathops.h | ||
---|---|---|
53 | 53 |
} |
54 | 54 |
#endif |
55 | 55 |
|
56 |
#ifndef UMULH |
|
57 |
static av_always_inline unsigned UMULH(unsigned a, unsigned b){ |
|
58 |
return ((uint64_t)(a) * (uint64_t)(b))>>32; |
|
59 |
} |
|
60 |
#endif |
|
61 |
|
|
56 | 62 |
#ifndef MUL64 |
57 | 63 |
# define MUL64(a,b) ((int64_t)(a) * (int64_t)(b)) |
58 | 64 |
#endif |
Also available in: Unified diff