diff options
| author | Philip Heron <phil@sanslogic.co.uk> | 2018-06-13 16:01:43 +0100 |
|---|---|---|
| committer | Philip Heron <phil@sanslogic.co.uk> | 2018-06-13 16:01:43 +0100 |
| commit | 82f383cd778e174d25d31c3ec804320d94d3274a (patch) | |
| tree | 6a3678ae47bdb44faba4c948fda2c17170eaa308 /ssdv.h | |
| parent | 6ff1a1073a403d9aa82965e7875f264714990e71 (diff) | |
Add support for single channel greyscale JPEGs
Diffstat (limited to 'ssdv.h')
| -rw-r--r-- | ssdv.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -99,6 +99,7 @@ typedef struct uint16_t marker_len; /* Length of data following marker */ uint8_t *marker_data; /* Where to copy marker data too */ uint16_t marker_data_len; /* How much is there */ + uint8_t greyscale; /* 0 = Normal (3 channels), 1 = Greyscale */ uint8_t component; /* 0 = Y, 1 = Cb, 2 = Cr */ uint8_t ycparts; /* Number of Y component parts per MCU */ uint8_t mcupart; /* 0-3 = Y, 4 = Cb, 5 = Cr */ |
