diff options
| author | Mattias Andrée <maandree@kth.se> | 2017-07-15 17:08:02 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2017-07-15 17:08:02 +0200 |
| commit | 3569a10c97d41913dbf7cf3114cb4d2d5f17dc7f (patch) | |
| tree | e8b08fe9b0cdc208f66582309377bc3c1817fe1f /src/stream.h | |
| parent | Generate USING_BINARY{32,64} (diff) | |
| download | blind-3569a10c97d41913dbf7cf3114cb4d2d5f17dc7f.tar.gz blind-3569a10c97d41913dbf7cf3114cb4d2d5f17dc7f.tar.bz2 blind-3569a10c97d41913dbf7cf3114cb4d2d5f17dc7f.tar.xz | |
Some improvements and fixes
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
| -rw-r--r-- | src/stream.h | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/src/stream.h b/src/stream.h index 8733f43..f04918a 100644 --- a/src/stream.h +++ b/src/stream.h @@ -63,16 +63,31 @@ enum dimension { LENGTH = 4 }; +enum colour_space { + CIEXYZ +}; + +enum alpha { + UNPREMULTIPLIED +}; + +enum encoding { + FLOAT, + DOUBLE +}; + struct stream { size_t frames; size_t width; size_t height; + size_t n_chan; + size_t chan_size; size_t pixel_size; char pixfmt[32]; + enum colour_space space; + enum alpha alpha; + enum encoding encoding; int fd; -#if INT_MAX != LONG_MAX - int padding__; -#endif size_t ptr; size_t xptr; char buf[BUFSIZ]; |
