Mercurial > libavcodec.hg
comparison sparc/vis.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 | 43c97362dfa8 |
| children | eebc7209c47f |
comparison
equal
deleted
inserted
replaced
| 7759:892ca48b7d76 | 7760:c4a4495715dd |
|---|---|
| 38 * | 38 * |
| 39 * Thus, we do the opcode encoding by hand and output 32-bit words in | 39 * Thus, we do the opcode encoding by hand and output 32-bit words in |
| 40 * the assembler to keep the binary from becoming tainted. | 40 * the assembler to keep the binary from becoming tainted. |
| 41 */ | 41 */ |
| 42 | 42 |
| 43 #ifndef FFMPEG_VIS_H | 43 #ifndef AVCODEC_SPARC_VIS_H |
| 44 #define FFMPEG_VIS_H | 44 #define AVCODEC_SPARC_VIS_H |
| 45 | 45 |
| 46 #define vis_opc_base ((0x1 << 31) | (0x36 << 19)) | 46 #define vis_opc_base ((0x1 << 31) | (0x36 << 19)) |
| 47 #define vis_opf(X) ((X) << 5) | 47 #define vis_opf(X) ((X) << 5) |
| 48 #define vis_sreg(X) (X) | 48 #define vis_sreg(X) (X) |
| 49 #define vis_dreg(X) (((X)&0x1f)|((X)>>5)) | 49 #define vis_dreg(X) (((X)&0x1f)|((X)>>5)) |
| 327 | 327 |
| 328 /* Pixel component distance. */ | 328 /* Pixel component distance. */ |
| 329 | 329 |
| 330 #define vis_pdist(rs1,rs2,rd) vis_dd2d(0x3e, rs1, rs2, rd) | 330 #define vis_pdist(rs1,rs2,rd) vis_dd2d(0x3e, rs1, rs2, rd) |
| 331 | 331 |
| 332 #endif /* FFMPEG_VIS_H */ | 332 #endif /* AVCODEC_SPARC_VIS_H */ |
