Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2020-05-27 17:42:24 +0300
committerPaul B Mahol <onemda@gmail.com>2020-05-30 19:02:55 +0300
commitd49db99ce2be29c4ae4083dfb04128ff842285fd (patch)
treee3637d365b11f5fe2a27261b9691b86070861527 /libavcodec/pnm.h
parent439128960991aea38263a53c7634a0e2aa786691 (diff)
avcodec: add PFM image decoder
Diffstat (limited to 'libavcodec/pnm.h')
-rw-r--r--libavcodec/pnm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/pnm.h b/libavcodec/pnm.h
index 5bc0aad29f..89c3b5a2da 100644
--- a/libavcodec/pnm.h
+++ b/libavcodec/pnm.h
@@ -30,6 +30,8 @@ typedef struct PNMContext {
uint8_t *bytestream_end;
int maxval; ///< maximum value of a pixel
int type;
+ int endian;
+ float scale;
} PNMContext;
int ff_pnm_decode_header(AVCodecContext *avctx, PNMContext * const s);