Mercurial > libavcodec.hg
comparison armv4l/mathops.h @ 5830:1d83e9c34641 libavcodec
Add FFMPEG_ prefix to all multiple inclusion guards.
author | diego |
---|---|
date | Wed, 17 Oct 2007 09:37:46 +0000 |
parents | 3fd46e281bd8 |
children | c8b0366e066f |
comparison
equal
deleted
inserted
replaced
5829:74db916a3715 | 5830:1d83e9c34641 |
---|---|
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 | 21 |
22 #ifndef AVCODEC_ARM_MATHOPS_H | 22 #ifndef FFMPEG_ARMV4L_MATHOPS_H |
23 #define AVCODEC_ARM_MATHOPS_H | 23 #define FFMPEG_ARMV4L_MATHOPS_H |
24 | 24 |
25 #ifdef FRAC_BITS | 25 #ifdef FRAC_BITS |
26 # define MULL(a, b) \ | 26 # define MULL(a, b) \ |
27 ({ int lo, hi;\ | 27 ({ int lo, hi;\ |
28 asm("smull %0, %1, %2, %3 \n\t"\ | 28 asm("smull %0, %1, %2, %3 \n\t"\ |
49 asm ("smulbb %0, %1, %2" : "=r" (__rt) : "r" (ra), "r" (rb)); \ | 49 asm ("smulbb %0, %1, %2" : "=r" (__rt) : "r" (ra), "r" (rb)); \ |
50 __rt; }) | 50 __rt; }) |
51 | 51 |
52 #endif | 52 #endif |
53 | 53 |
54 #endif // AVCODEC_ARM_MATHOPS_H | 54 #endif /* FFMPEG_ARMV4L_MATHOPS_H */ |