Mercurial > libavcodec.hg
comparison pnm.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 | 04423b2f6e0b |
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_PNM_H | 22 #ifndef AVCODEC_PNM_H |
23 #define FFMPEG_PNM_H | 23 #define AVCODEC_PNM_H |
24 | 24 |
25 #include "avcodec.h" | 25 #include "avcodec.h" |
26 | 26 |
27 typedef struct PNMContext { | 27 typedef struct PNMContext { |
28 uint8_t *bytestream; | 28 uint8_t *bytestream; |
32 int maxval; ///< maximum value of a pixel | 32 int maxval; ///< maximum value of a pixel |
33 } PNMContext; | 33 } PNMContext; |
34 | 34 |
35 int ff_pnm_decode_header(AVCodecContext *avctx, PNMContext * const s); | 35 int ff_pnm_decode_header(AVCodecContext *avctx, PNMContext * const s); |
36 | 36 |
37 #endif /* FFMPEG_PNM_H */ | 37 #endif /* AVCODEC_PNM_H */ |