]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/pnm.h
ARMv6 optimised pix_abs8
[ffmpeg] / libavcodec / pnm.h
index c77bcca09ebb2d40163f0f458fff06b98f888b9d..ac4b1084fb878f10109b9fd33b92f283a3e50464 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * PNM image format
- * Copyright (c) 2002, 2003 Fabrice Bellard.
+ * Copyright (c) 2002, 2003 Fabrice Bellard
  *
  * This file is part of FFmpeg.
  *
@@ -19,8 +19,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef FFMPEG_PNM_H
-#define FFMPEG_PNM_H
+#ifndef AVCODEC_PNM_H
+#define AVCODEC_PNM_H
 
 #include "avcodec.h"
 
@@ -30,8 +30,11 @@ typedef struct PNMContext {
     uint8_t *bytestream_end;
     AVFrame picture;
     int maxval;                 ///< maximum value of a pixel
+    int type;
 } PNMContext;
 
 int ff_pnm_decode_header(AVCodecContext *avctx, PNMContext * const s);
+av_cold int ff_pnm_end(AVCodecContext *avctx);
+av_cold int ff_pnm_init(AVCodecContext *avctx);
 
-#endif /* FFMPEG_PNM_H */
+#endif /* AVCODEC_PNM_H */