Commit 75c26d8b authored by Niklas Haas's avatar Niklas Haas Committed by Hugo Beauzée-Luyssen
Browse files

libplacebo: remove haasnsoft scaler

This was deprecated in libplacebo git master, but mistakenly removed
entirely for some (untagged) versions (specifically, v3.120 through
v3.137).

As such, this commit fixes build errors for those versions. (And gets
rid of a deprecation warning for v3.138+)
parent 6c66cdf6
......@@ -241,8 +241,7 @@ enum {
SCALE_GINSENG,
SCALE_EWA_GINSENG,
SCALE_EWA_HANN,
SCALE_HAASNSOFT,
SCALE_CATMULL_ROM,
SCALE_CATMULL_ROM = SCALE_EWA_HANN + 2, // preserve option order
SCALE_ROBIDOUX,
SCALE_ROBIDOUXSHARP,
SCALE_EWA_ROBIDOUX,
......@@ -267,7 +266,6 @@ static const int scale_values[] = {
SCALE_GINSENG,
SCALE_EWA_GINSENG,
SCALE_EWA_HANN,
SCALE_HAASNSOFT,
SCALE_CATMULL_ROM,
SCALE_ROBIDOUX,
SCALE_ROBIDOUXSHARP,
......@@ -293,7 +291,6 @@ static const char * const scale_text[] = {
"Ginseng 3 taps",
"EWA Ginseng",
"EWA Hann",
"HaasnSoft (blurred EWA Hann)",
"Catmull-Rom",
"Robidoux",
"RobidouxSharp",
......@@ -319,7 +316,6 @@ static const struct pl_filter_config *const scale_config[] = {
[SCALE_EWA_LANCZOS] = &pl_filter_ewa_lanczos,
[SCALE_EWA_GINSENG] = &pl_filter_ewa_ginseng,
[SCALE_EWA_HANN] = &pl_filter_ewa_hann,
[SCALE_HAASNSOFT] = &pl_filter_haasnsoft,
[SCALE_BICUBIC] = &pl_filter_bicubic,
[SCALE_CATMULL_ROM] = &pl_filter_catmull_rom,
[SCALE_MITCHELL] = &pl_filter_mitchell,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment