Mercurial > libavcodec.hg
comparison jpegls.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 | e9d9d946f213 |
comparison
equal
deleted
inserted
replaced
7759:892ca48b7d76 | 7760:c4a4495715dd |
---|---|
23 /** | 23 /** |
24 * @file jpegls.h | 24 * @file jpegls.h |
25 * JPEG-LS common code. | 25 * JPEG-LS common code. |
26 */ | 26 */ |
27 | 27 |
28 #ifndef FFMPEG_JPEGLS_H | 28 #ifndef AVCODEC_JPEGLS_H |
29 #define FFMPEG_JPEGLS_H | 29 #define AVCODEC_JPEGLS_H |
30 | 30 |
31 #include "avcodec.h" | 31 #include "avcodec.h" |
32 | 32 |
33 typedef struct JpeglsContext{ | 33 typedef struct JpeglsContext{ |
34 AVCodecContext *avctx; | 34 AVCodecContext *avctx; |
106 } | 106 } |
107 | 107 |
108 #define R(a, i ) (bits == 8 ? ((uint8_t*)(a))[i] : ((uint16_t*)(a))[i] ) | 108 #define R(a, i ) (bits == 8 ? ((uint8_t*)(a))[i] : ((uint16_t*)(a))[i] ) |
109 #define W(a, i, v) (bits == 8 ? (((uint8_t*)(a))[i]=v) : (((uint16_t*)(a))[i]=v)) | 109 #define W(a, i, v) (bits == 8 ? (((uint8_t*)(a))[i]=v) : (((uint16_t*)(a))[i]=v)) |
110 | 110 |
111 #endif /* FFMPEG_JPEGLS_H */ | 111 #endif /* AVCODEC_JPEGLS_H */ |