summaryrefslogtreecommitdiffstats
path: root/video/image_writer.h
diff options
context:
space:
mode:
authorLeo Izen <leo.izen@gmail.com>2022-04-23 14:24:09 -0400
committerJan Ekström <jeebjp@gmail.com>2022-04-26 16:48:00 +0300
commit1345977f997611799c121dda9dee3870a6751421 (patch)
tree012ebaf65a35e2325b70d24545ac0c074da00c86 /video/image_writer.h
parentbb5b4b1ba61b67da40c85c34376aced9383fc366 (diff)
downloadmpv-1345977f997611799c121dda9dee3870a6751421.tar.bz2
mpv-1345977f997611799c121dda9dee3870a6751421.tar.xz
video/image_writer: add Jpeg XL screenshots
Add Jpeg XL as a possible output format for screenshots, which should make it possible to take fast screenshots with much better quality than JPEG, or take lossless high-bit-depth screenshots with lower file sizes than PNG.
Diffstat (limited to 'video/image_writer.h')
-rw-r--r--video/image_writer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/image_writer.h b/video/image_writer.h
index f6d3b58f87..54871bacf0 100644
--- a/video/image_writer.h
+++ b/video/image_writer.h
@@ -35,6 +35,8 @@ struct image_writer_opts {
int webp_lossless;
int webp_quality;
int webp_compression;
+ double jxl_distance;
+ int jxl_effort;
int tag_csp;
};