Mercurial > libavcodec.hg
comparison alpha/regdef.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 | 1d83e9c34641 |
children |
comparison
equal
deleted
inserted
replaced
7759:892ca48b7d76 | 7760:c4a4495715dd |
---|---|
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 /* Some BSDs don't seem to have regdef.h... sigh */ | 22 /* Some BSDs don't seem to have regdef.h... sigh */ |
23 #ifndef FFMPEG_REGDEF_H | 23 #ifndef AVCODEC_ALPHA_REGDEF_H |
24 #define FFMPEG_REGDEF_H | 24 #define AVCODEC_ALPHA_REGDEF_H |
25 | 25 |
26 #define v0 $0 /* function return value */ | 26 #define v0 $0 /* function return value */ |
27 | 27 |
28 #define t0 $1 /* temporary registers (caller-saved) */ | 28 #define t0 $1 /* temporary registers (caller-saved) */ |
29 #define t1 $2 | 29 #define t1 $2 |
61 #define AT $at /* assembler temporary */ | 61 #define AT $at /* assembler temporary */ |
62 #define gp $29 /* global pointer */ | 62 #define gp $29 /* global pointer */ |
63 #define sp $30 /* stack pointer */ | 63 #define sp $30 /* stack pointer */ |
64 #define zero $31 /* reads as zero, writes are noops */ | 64 #define zero $31 /* reads as zero, writes are noops */ |
65 | 65 |
66 #endif /* FFMPEG_REGDEF_H */ | 66 #endif /* AVCODEC_ALPHA_REGDEF_H */ |