comparison mathops.h @ 4283:d6f83e2f8804 libavcodec

rename always_inline to av_always_inline and move to common.h
author mru
date Fri, 08 Dec 2006 00:35:08 +0000
parents 29f5edb4430a
children 4394344397d8
comparison
equal deleted inserted replaced
4282:9d64f6eacc7b 4283:d6f83e2f8804
44 44
45 #ifndef MULH 45 #ifndef MULH
46 //gcc 3.4 creates an incredibly bloated mess out of this 46 //gcc 3.4 creates an incredibly bloated mess out of this
47 //# define MULH(a,b) (((int64_t)(a) * (int64_t)(b))>>32) 47 //# define MULH(a,b) (((int64_t)(a) * (int64_t)(b))>>32)
48 48
49 static always_inline int MULH(int a, int b){ 49 static av_always_inline int MULH(int a, int b){
50 return ((int64_t)(a) * (int64_t)(b))>>32; 50 return ((int64_t)(a) * (int64_t)(b))>>32;
51 } 51 }
52 #endif 52 #endif
53 53
54 #ifndef MUL64 54 #ifndef MUL64