Mercurial > libavcodec.hg
comparison armv4l/mathops.h @ 7760:c4a4495715dd libavcodec
Globally rename the header inclusion guard names.
Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.' to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".
author | stefano |
---|---|
date | Sun, 31 Aug 2008 07:39:47 +0000 |
parents | dc5a334c758b |
children | eebc7209c47f |
comparison
equal
deleted
inserted
replaced
7759:892ca48b7d76 | 7760:c4a4495715dd |
---|---|
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 FFMPEG_ARMV4L_MATHOPS_H | 22 #ifndef AVCODEC_ARMV4L_MATHOPS_H |
23 #define FFMPEG_ARMV4L_MATHOPS_H | 23 #define AVCODEC_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"\ |
78 asm ("smulbb %0, %1, %2" : "=r" (__rt) : "r" (ra), "r" (rb)); \ | 78 asm ("smulbb %0, %1, %2" : "=r" (__rt) : "r" (ra), "r" (rb)); \ |
79 __rt; }) | 79 __rt; }) |
80 | 80 |
81 #endif | 81 #endif |
82 | 82 |
83 #endif /* FFMPEG_ARMV4L_MATHOPS_H */ | 83 #endif /* AVCODEC_ARMV4L_MATHOPS_H */ |