These were removed upstream and no longer have had any effect for a while now.
Showing the changes to libavfilter (1 of 2 files). Show all
Unified · Split
| @@ -202,11 +202,9 @@ typedef struct LibplaceboContext { · 201 unmodified lines | ||
| 202 | 202 | char *upscaler; |
| 203 | 203 | char *downscaler; |
| 204 | 204 | char *frame_mixer; |
| 205 | − int lut_entries; | |
| 206 | 205 | float antiringing; |
| 207 | 206 | int sigmoid; |
| 208 | 207 | int skip_aa; |
| 209 | − float polar_cutoff; | |
| 210 | 208 | int disable_linear; |
| 211 | 209 | int disable_builtin; |
| 212 | 210 | int force_dither; |
| @@ -234,7 +232,6 @@ typedef struct LibplaceboContext { · 21 unmodified lines | ||
| 234 | 232 | /* pl_peak_detect_params */ |
| 235 | 233 | int peakdetect; |
| 236 | 234 | float smoothing; |
| 237 | − float min_peak; | |
| 238 | 235 | float scene_low; |
| 239 | 236 | float scene_high; |
| 240 | 237 | float percentile; |
| @@ -399,7 +396,6 @@ static int update_settings(AVFilterContext *ctx) · 158 unmodified lines | ||
| 399 | 396 | |
| 400 | 397 | opts->peak_detect_params = *pl_peak_detect_params( |
| 401 | 398 | .smoothing_period = s->smoothing, |
| 402 | − .minimum_peak = s->min_peak, | |
| 403 | 399 | .scene_threshold_low = s->scene_low, |
| 404 | 400 | .scene_threshold_high = s->scene_high, |
| 405 | 401 | #if PL_API_VER >= 263 |
| @@ -432,7 +428,6 @@ static int update_settings(AVFilterContext *ctx) · 26 unmodified lines | ||
| 432 | 428 | ); |
| 433 | 429 | |
| 434 | 430 | opts->params = *pl_render_params( |
| 435 | − .lut_entries = s->lut_entries, | |
| 436 | 431 | .antiringing_strength = s->antiringing, |
| 437 | 432 | .background_transparency = 1.0f - (float) s->fillcolor[3] / UINT8_MAX, |
| 438 | 433 | .background_color = { |
| @@ -457,7 +452,6 @@ static int update_settings(AVFilterContext *ctx) · 18 unmodified lines | ||
| 457 | 452 | .num_hooks = s->num_hooks, |
| 458 | 453 | |
| 459 | 454 | .skip_anti_aliasing = s->skip_aa, |
| 460 | − .polar_cutoff = s->polar_cutoff, | |
| 461 | 455 | .disable_linear_scaling = s->disable_linear, |
| 462 | 456 | .disable_builtin_scalers = s->disable_builtin, |
| 463 | 457 | .force_dither = s->force_dither, |
| @@ -1378,7 +1372,6 @@ static const AVOption libplacebo_options[] = { · 914 unmodified lines | ||
| 1378 | 1372 | { "upscaler", "Upscaler function", OFFSET(upscaler), AV_OPT_TYPE_STRING, {.str = "spline36"}, .flags = DYNAMIC }, |
| 1379 | 1373 | { "downscaler", "Downscaler function", OFFSET(downscaler), AV_OPT_TYPE_STRING, {.str = "mitchell"}, .flags = DYNAMIC }, |
| 1380 | 1374 | { "frame_mixer", "Frame mixing function", OFFSET(frame_mixer), AV_OPT_TYPE_STRING, {.str = "none"}, .flags = DYNAMIC }, |
| 1381 | − { "lut_entries", "Number of scaler LUT entries", OFFSET(lut_entries), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 256, DYNAMIC }, | |
| 1382 | 1375 | { "antiringing", "Antiringing strength (for non-EWA filters)", OFFSET(antiringing), AV_OPT_TYPE_FLOAT, {.dbl = 0.0}, 0.0, 1.0, DYNAMIC }, |
| 1383 | 1376 | { "sigmoid", "Enable sigmoid upscaling", OFFSET(sigmoid), AV_OPT_TYPE_BOOL, {.i64 = 1}, 0, 1, DYNAMIC }, |
| 1384 | 1377 | { "apply_filmgrain", "Apply film grain metadata", OFFSET(apply_filmgrain), AV_OPT_TYPE_BOOL, {.i64 = 1}, 0, 1, DYNAMIC }, |
| @@ -1405,7 +1398,6 @@ static const AVOption libplacebo_options[] = { · 20 unmodified lines | ||
| 1405 | 1398 | |
| 1406 | 1399 | { "peak_detect", "Enable dynamic peak detection for HDR tone-mapping", OFFSET(peakdetect), AV_OPT_TYPE_BOOL, {.i64 = 1}, 0, 1, DYNAMIC }, |
| 1407 | 1400 | { "smoothing_period", "Peak detection smoothing period", OFFSET(smoothing), AV_OPT_TYPE_FLOAT, {.dbl = 100.0}, 0.0, 1000.0, DYNAMIC }, |
| 1408 | − { "minimum_peak", "Peak detection minimum peak", OFFSET(min_peak), AV_OPT_TYPE_FLOAT, {.dbl = 1.0}, 0.0, 100.0, DYNAMIC }, | |
| 1409 | 1401 | { "scene_threshold_low", "Scene change low threshold", OFFSET(scene_low), AV_OPT_TYPE_FLOAT, {.dbl = 5.5}, -1.0, 100.0, DYNAMIC }, |
| 1410 | 1402 | { "scene_threshold_high", "Scene change high threshold", OFFSET(scene_high), AV_OPT_TYPE_FLOAT, {.dbl = 10.0}, -1.0, 100.0, DYNAMIC }, |
| 1411 | 1403 | { "percentile", "Peak detection percentile", OFFSET(percentile), AV_OPT_TYPE_FLOAT, {.dbl = 99.995}, 0.0, 100.0, DYNAMIC }, |
| @@ -1461,7 +1453,6 @@ static const AVOption libplacebo_options[] = { · 49 unmodified lines | ||
| 1461 | 1453 | |
| 1462 | 1454 | /* Performance/quality tradeoff options */ |
| 1463 | 1455 | { "skip_aa", "Skip anti-aliasing", OFFSET(skip_aa), AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, DYNAMIC }, |
| 1464 | − { "polar_cutoff", "Polar LUT cutoff", OFFSET(polar_cutoff), AV_OPT_TYPE_FLOAT, {.dbl = 0}, 0.0, 1.0, DYNAMIC }, | |
| 1465 | 1456 | { "disable_linear", "Disable linear scaling", OFFSET(disable_linear), AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, DYNAMIC }, |
| 1466 | 1457 | { "disable_builtin", "Disable built-in scalers", OFFSET(disable_builtin), AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, DYNAMIC }, |
| 1467 | 1458 | { "force_dither", "Force dithering", OFFSET(force_dither), AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, DYNAMIC }, |