summaryrefslogtreecommitdiff
path: root/libavcodec/pnm.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/pnm.h')
-rw-r--r--libavcodec/pnm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/pnm.h b/libavcodec/pnm.h
index 89c3b5a2da..f109d16239 100644
--- a/libavcodec/pnm.h
+++ b/libavcodec/pnm.h
@@ -31,7 +31,12 @@ typedef struct PNMContext {
int maxval; ///< maximum value of a pixel
int type;
int endian;
+ int half;
float scale;
+
+ uint32_t mantissatable[2048];
+ uint32_t exponenttable[64];
+ uint16_t offsettable[64];
} PNMContext;
int ff_pnm_decode_header(AVCodecContext *avctx, PNMContext * const s);