Mercurial > libavcodec.hg
comparison jpegls.h @ 5830:1d83e9c34641 libavcodec
Add FFMPEG_ prefix to all multiple inclusion guards.
author | diego |
---|---|
date | Wed, 17 Oct 2007 09:37:46 +0000 |
parents | ddb28de352bb |
children | c4a4495715dd |
comparison
equal
deleted
inserted
replaced
5829:74db916a3715 | 5830:1d83e9c34641 |
---|---|
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 JPEGLS_H | 28 #ifndef FFMPEG_JPEGLS_H |
29 #define JPEGLS_H | 29 #define FFMPEG_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 /* JPEGLS_H */ | 111 #endif /* FFMPEG_JPEGLS_H */ |