diff options
| author | Mattias Andrée <maandree@kth.se> | 2017-09-24 01:26:08 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2017-09-24 01:31:31 +0200 |
| commit | bcac04b4316d64063e743e7a49195173a0c175a0 (patch) | |
| tree | fc29431d21d83e4496da31d32f4f441de41026be /src/stream.h | |
| parent | Fix colour distortion (diff) | |
| download | blind-bcac04b4316d64063e743e7a49195173a0c175a0.tar.gz blind-bcac04b4316d64063e743e7a49195173a0c175a0.tar.bz2 blind-bcac04b4316d64063e743e7a49195173a0c175a0.tar.xz | |
Add -% to blind-to-text, blind-colour-srgb, and blind-colour-ciexyz
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
| -rw-r--r-- | src/stream.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stream.h b/src/stream.h index b36e4d3..9499bcf 100644 --- a/src/stream.h +++ b/src/stream.h @@ -43,6 +43,7 @@ #define echeck_dimensions(...) encheck_dimensions(1, __VA_ARGS__) #define echeck_dimensions_custom(...) encheck_dimensions_custom(1, __VA_ARGS__) #define echeck_compat(...) encheck_compat(1, __VA_ARGS__) +#define select_print_format(...) nselect_print_format(1, __VA_ARGS__) #define eread_segment(...) enread_segment(1, __VA_ARGS__) #define eread_frame(...) enread_frame(1, __VA_ARGS__) #define eread_row(...) enread_row(1, __VA_ARGS__) @@ -128,6 +129,7 @@ void eninf_check_fd(int status, int fd, const char *file); void encheck_dimensions(int status, const struct stream *stream, enum dimension dimensions, const char *prefix); void encheck_compat(int status, const struct stream *a, const struct stream *b); const char *get_pixel_format(const char *specified, const char *current); +const char *nselect_print_format(int status, const char *format, enum encoding encoding, const char *fmt); int enread_segment(int status, struct stream *stream, void *buf, size_t n); size_t ensend_frames(int status, struct stream *stream, int outfd, size_t frames, const char *outfname); size_t ensend_rows(int status, struct stream *stream, int outfd, size_t rows, const char *outfname); |
