Make horzonly-frame-superres a config flag.
This allows it to be enabled/disabled during configure/cmake and also
allows us to specify dependencies.
If 0: superres scaling happens for both width and height.
If 1: superres scaling happens ONLY for width.
Change-Id: Id00c2a9c9886b638e06c6b92de453b85bee1d8fa
diff --git a/configure b/configure
index e30da0b..50a5fb2 100755
--- a/configure
+++ b/configure
@@ -353,6 +353,7 @@
opt_ref_mv
tmv
restrict_compressed_hdr
+ horzonly_frame_superres
"
CONFIG_LIST="
dependency_tracking
@@ -587,6 +588,7 @@
enabled txmg && enable_feature highbitdepth
enabled ext_skip && enable_feature frame_marker
enabled ext_skip && enable_feature ext_refs
+ enabled horzonly_frame_superres && enable_feature frame_superres
if enabled rawbits && enabled ans; then
log_echo "rawbits requires not ans, so disabling rawbits"