summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/i386/mathops.h
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-04-09 23:31:35 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-04-09 23:31:35 +0200
commitfa0d22f2607e111c1a62bc06234e696e4256e3d5 (patch)
treec64854319d2189106a2f38ac1743127e92c4e4f5 /src/libffmpeg/libavcodec/i386/mathops.h
parentfe5b5b6ceb4e7a0485b622df662012ece998eedf (diff)
downloadxine-lib-fa0d22f2607e111c1a62bc06234e696e4256e3d5.tar.gz
xine-lib-fa0d22f2607e111c1a62bc06234e696e4256e3d5.tar.bz2
Remove stray FFmpeg code.
Diffstat (limited to 'src/libffmpeg/libavcodec/i386/mathops.h')
-rw-r--r--src/libffmpeg/libavcodec/i386/mathops.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/libffmpeg/libavcodec/i386/mathops.h b/src/libffmpeg/libavcodec/i386/mathops.h
deleted file mode 100644
index 3553a4025..000000000
--- a/src/libffmpeg/libavcodec/i386/mathops.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * simple math operations
- * Copyright (c) 2006 Michael Niedermayer <michaelni@gmx.at> et al
- *
- * This file is part of FFmpeg.
- *
- * FFmpeg is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * FFmpeg is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with FFmpeg; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifdef FRAC_BITS
-# define MULL(ra, rb) \
- ({ int rt, dummy; asm (\
- "imull %3 \n\t"\
- "shrdl %4, %%edx, %%eax \n\t"\
- : "=a"(rt), "=d"(dummy)\
- : "a" (ra), "rm" (rb), "i"(FRAC_BITS));\
- rt; })
-#endif
-
-#define MULH(ra, rb) \
- ({ int rt, dummy;\
- asm ("imull %3\n\t" : "=d"(rt), "=a"(dummy): "a" (ra), "rm" (rb));\
- rt; })
-
-#define MUL64(ra, rb) \
- ({ int64_t rt;\
- asm ("imull %2\n\t" : "=A"(rt) : "a" (ra), "g" (rb));\
- rt; })
-