Commit 33dba9e12a for aom
commit 33dba9e12a9f12e737eaa7c2624e8c580950a89a
Author: Yunqing Wang <yunqingwang@google.com>
Date: Tue Apr 28 14:53:32 2026 -0700
Update low-complexity mode support for horizontal videos
Change-Id: I57e42144218e7e0025720b599674095d87060e0c
diff --git a/av1/arg_defs.c b/av1/arg_defs.c
index ff0f03acc5..5febc5a428 100644
--- a/av1/arg_defs.c
+++ b/av1/arg_defs.c
@@ -713,9 +713,9 @@ const av1_codec_arg_definitions_t g_av1_codec_arg_defs = {
"given lambda to minimize the rdcost."),
.enable_low_complexity_decode = ARG_DEF(
NULL, "enable-low-complexity-decode", 1,
- "Enable low complexity decode (0: false (default), 1: true). As of now, "
- "this only supports good-quality encoding (speed 1 to 3) for vertical "
- "videos between 608p and 720p."),
+ "Enable low complexity decode (0: false (default), 1: true). This "
+ "supports good-quality encoding (speed 1 to 3) for vertical videos "
+ "(608p to 1080p) and horizontal videos (720p to 1080p)."),
.screen_detection_mode = ARG_DEF(
NULL, "screen-detection-mode", 1,
"Screen content detection mode (1: standard (default in good quality and "
diff --git a/av1/av1_cx_iface.c b/av1/av1_cx_iface.c
index f428e8a944..a814a75537 100644
--- a/av1/av1_cx_iface.c
+++ b/av1/av1_cx_iface.c
@@ -1397,9 +1397,9 @@ static void set_encoder_config(AV1EncoderConfig *oxcf,
if (AOMMIN(cfg->g_w, cfg->g_h) >= 1080 && oxcf->speed < 7) oxcf->speed = 7;
}
- // Now, low complexity decode mode is only supported for good-quality
- // encoding speed 1 to 3 and for vertical videos with a resolution between
- // 608p and 720p. This can be further modified if needed.
+ // Now, low complexity decode mode supports good-quality encoding (speed 1 to
+ // 3) for vertical videos (608p to 1080p) and horizontal videos (720p to
+ // 1080p). This can be further modified if needed.
const int is_low_complexity_decode_mode_supported =
(cfg->g_usage == AOM_USAGE_GOOD_QUALITY) &&
(oxcf->speed >= 1 && oxcf->speed <= 3) &&