Add encoder options for reduced tx type set
Adds a command line flag and control option for a reduced transform
type set.
Change-Id: I392c4f7f9b24f7d0451d1417fe680896ec2cf447
diff --git a/apps/aomenc.c b/apps/aomenc.c
index 343e852..d187e1b 100644
--- a/apps/aomenc.c
+++ b/apps/aomenc.c
@@ -470,6 +470,8 @@
NULL, "qm-min", 1, "Min quant matrix flatness (0..15), default is 8");
static const arg_def_t qm_max = ARG_DEF(
NULL, "qm-max", 1, "Max quant matrix flatness (0..15), default is 15");
+static const arg_def_t reduced_tx_type_set = ARG_DEF(
+ NULL, "reduced-tx-type-set", 1, "Use reduced set of transform types");
#if CONFIG_DIST_8X8
static const arg_def_t enable_dist_8x8 =
ARG_DEF(NULL, "enable-dist-8x8", 1,
@@ -670,6 +672,7 @@
&enable_qm,
&qm_min,
&qm_max,
+ &reduced_tx_type_set,
#if CONFIG_DIST_8X8
&enable_dist_8x8,
#endif
@@ -734,6 +737,7 @@
AV1E_SET_ENABLE_QM,
AV1E_SET_QM_MIN,
AV1E_SET_QM_MAX,
+ AV1E_SET_REDUCED_TX_TYPE_SET,
#if CONFIG_DIST_8X8
AV1E_SET_ENABLE_DIST_8X8,
#endif