diff options
Diffstat (limited to 'video/image_writer.h')
-rw-r--r-- | video/image_writer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/video/image_writer.h b/video/image_writer.h index 7f7f123499..98cb95a898 100644 --- a/video/image_writer.h +++ b/video/image_writer.h @@ -42,6 +42,9 @@ extern const struct m_option image_writer_opts[]; // Return the file extension that will be used, e.g. "png". const char *image_writer_file_ext(const struct image_writer_opts *opts); +// Return whether the selected format likely supports >8 bit per component. +bool image_writer_high_depth(const struct image_writer_opts *opts); + // Map file extension to format ID - return 0 (which is invalid) if unknown. int image_writer_format_from_ext(const char *ext); |