diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-02-24 01:30:16 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-02-24 01:30:16 +0100 |
commit | d12f312bc13874b9adf076103cf5f1325a0b1249 (patch) | |
tree | 9163a8961e0948801c9d648dd51f2e21f9f97d91 /src/main.cpp | |
parent | 34f0eeebcdddafc9e6a5e387c5004aec01b96c3f (diff) |
Change jpeg quality parameters
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp index 42cf4d2..f96240e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2480,16 +2480,16 @@ static gsr_color_range image_format_to_color_range(gsr_image_format image_format static int video_quality_to_image_quality_value(VideoQuality video_quality) { switch(video_quality) { case VideoQuality::MEDIUM: - return 60; - case VideoQuality::HIGH: return 70; - case VideoQuality::VERY_HIGH: + case VideoQuality::HIGH: return 80; + case VideoQuality::VERY_HIGH: + return 85; case VideoQuality::ULTRA: - return 95; + return 97; } assert(false); - return 80; + return 85; } // TODO: 10-bit and hdr. |