summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-09-12 23:25:20 +0200
committerNiklas Haas <github-daiK1o@haasn.dev>2023-09-19 22:26:56 +0200
commit703f1588803eaa428e09c0e5547b26c0fff476a7 (patch)
treebd75dbef992ba0d5c34fc5120ed2dd2fae74997a /video
parent7e692ee4902cc69ac6d63f056fa0d60bcc53ea1e (diff)
downloadmpv-703f1588803eaa428e09c0e5547b26c0fff476a7.tar.bz2
mpv-703f1588803eaa428e09c0e5547b26c0fff476a7.tar.xz
builtin.conf: modernize internal profiles
The goal is to provide simple to understand quality/performance level profiles for the users. Instead of default and gpu-hq profile. There main profiles were added: - fast: can run on any hardware - default: balanced profile between quality and performance - high-quality: out of the box high quality experience. Intended mostly for dGPU. Summary of three profiles, including default one: [fast] scale=bilinear cscale=bilinear (implicit) dscale=bilinear dither=no correct-downscaling=no linear-downscaling=no sigmoid-upscaling=no hdr-compute-peak=no [default] (implicit mpv defaults) scale=lanczos cscale=lanczos dscale=mitchell dither-depth=auto correct-downscaling=yes linear-downscaling=yes sigmoid-upscaling=yes hdr-compute-peak=yes [high-quality] (inherits default options) scale=ewa_lanczossharp cscale=ewa_lanczossharp (implicit) hdr-peak-percentile=99.995 hdr-contrast-recovery=0.30 allow-delayed-peak-detect=no deband=yes scaler-lut-size=8
Diffstat (limited to 'video')
-rw-r--r--video/out/gpu/video.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/video/out/gpu/video.c b/video/out/gpu/video.c
index 9ed82b2b46..8618e8c6ef 100644
--- a/video/out/gpu/video.c
+++ b/video/out/gpu/video.c
@@ -295,7 +295,6 @@ struct gl_video {
static const struct gl_video_opts gl_video_opts_def = {
.dither_algo = DITHER_FRUIT,
- .dither_depth = -1,
.dither_size = 6,
.temporal_dither_period = 1,
.error_diffusion = "sierra-lite",
@@ -303,9 +302,9 @@ static const struct gl_video_opts gl_video_opts_def = {
.sigmoid_center = 0.75,
.sigmoid_slope = 6.5,
.scaler = {
- {{"bilinear", .params={NAN, NAN}}, {.params = {NAN, NAN}},
+ {{"lanczos", .params={NAN, NAN}}, {.params = {NAN, NAN}},
.cutoff = 0.001}, // scale
- {{NULL, .params={NAN, NAN}}, {.params = {NAN, NAN}},
+ {{"mitchell", .params={NAN, NAN}}, {.params = {NAN, NAN}},
.cutoff = 0.001}, // dscale
{{NULL, .params={NAN, NAN}}, {.params = {NAN, NAN}},
.cutoff = 0.001}, // cscale