comparison armv4l/mathops.h @ 5163:9ecbfc0c82bf libavcodec

add multiple inclusion guards to headers
author mru
date Sun, 17 Jun 2007 00:01:30 +0000
parents c8c591fe26f8
children 3fd46e281bd8
comparison
equal deleted inserted replaced
5162:4394344397d8 5163:9ecbfc0c82bf
16 * 16 *
17 * You should have received a copy of the GNU Lesser General Public 17 * You should have received a copy of the GNU Lesser General Public
18 * License along with FFmpeg; if not, write to the Free Software 18 * License along with FFmpeg; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */ 20 */
21
22 #ifndef AVCODEC_ARM_MATHOPS_H
23 #define AVCODEC_ARM_MATHOPS_H
21 24
22 #ifdef FRAC_BITS 25 #ifdef FRAC_BITS
23 # define MULL(a, b) \ 26 # define MULL(a, b) \
24 ({ int lo, hi;\ 27 ({ int lo, hi;\
25 asm("smull %0, %1, %2, %3 \n\t"\ 28 asm("smull %0, %1, %2, %3 \n\t"\
45 ({ int __rt; \ 48 ({ int __rt; \
46 asm ("smulbb %0, %1, %2" : "=r" (__rt) : "r" (ra), "r" (rb)); \ 49 asm ("smulbb %0, %1, %2" : "=r" (__rt) : "r" (ra), "r" (rb)); \
47 __rt; }) 50 __rt; })
48 51
49 #endif 52 #endif
53
54 #endif