summaryrefslogtreecommitdiff
path: root/vpxenc.c
diff options
context:
space:
mode:
authorYaowu Xu <yaowu@google.com>2014-12-17 15:15:33 -0800
committerYaowu Xu <yaowu@google.com>2014-12-17 15:18:01 -0800
commita16f07537501ac96531577d5af004ad0b591a705 (patch)
treea2a33cd55154e9f12de18ca8c0694f739951f3f7 /vpxenc.c
parent021e244a51520aa6f256b174d1087d9d4eba62a4 (diff)
downloadlibvpx-a16f07537501ac96531577d5af004ad0b591a705.tar
libvpx-a16f07537501ac96531577d5af004ad0b591a705.tar.gz
libvpx-a16f07537501ac96531577d5af004ad0b591a705.tar.bz2
libvpx-a16f07537501ac96531577d5af004ad0b591a705.zip
Corrected value range of --cpu-used for vp9
This commit removes undefined value options of cpu-used for VP9 and changed vpxenc prompt to reflect the usable range of [-8,8] Change-Id: Ib80fef3dbb6ec9aabac45ed13e8ab6fbaf94f55e
Diffstat (limited to 'vpxenc.c')
-rw-r--r--vpxenc.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/vpxenc.c b/vpxenc.c
index ebdbb074c..e14c5eaab 100644
--- a/vpxenc.c
+++ b/vpxenc.c
@@ -328,8 +328,10 @@ static const arg_def_t sharpness = ARG_DEF(
NULL, "sharpness", 1, "Loop filter sharpness (0..7)");
static const arg_def_t static_thresh = ARG_DEF(
NULL, "static-thresh", 1, "Motion detection threshold");
-static const arg_def_t cpu_used = ARG_DEF(
+static const arg_def_t cpu_used_vp8 = ARG_DEF(
NULL, "cpu-used", 1, "CPU Used (-16..16)");
+static const arg_def_t cpu_used_vp9 = ARG_DEF(
+ NULL, "cpu-used", 1, "CPU Used (-8..8)");
static const arg_def_t auto_altref = ARG_DEF(
NULL, "auto-alt-ref", 1, "Enable automatic alt reference frames");
static const arg_def_t arnr_maxframes = ARG_DEF(
@@ -361,7 +363,7 @@ static const arg_def_t screen_content_mode = ARG_DEF(NULL, "screen-content-mode"
static const arg_def_t token_parts = ARG_DEF(
NULL, "token-parts", 1, "Number of token partitions to use, log2");
static const arg_def_t *vp8_args[] = {
- &cpu_used, &auto_altref, &noise_sens, &sharpness, &static_thresh,
+ &cpu_used_vp8, &auto_altref, &noise_sens, &sharpness, &static_thresh,
&token_parts, &arnr_maxframes, &arnr_strength, &arnr_type,
&tune_ssim, &cq_level, &max_intra_rate_pct, &screen_content_mode,
NULL
@@ -420,7 +422,7 @@ static const arg_def_t tune_content = ARG_DEF_ENUM(
NULL, "tune-content", 1, "Tune content type", tune_content_enum);
static const arg_def_t *vp9_args[] = {
- &cpu_used, &auto_altref, &sharpness, &static_thresh,
+ &cpu_used_vp9, &auto_altref, &sharpness, &static_thresh,
&tile_cols, &tile_rows, &arnr_maxframes, &arnr_strength, &arnr_type,
&tune_ssim, &cq_level, &max_intra_rate_pct, &max_inter_rate_pct,
&gf_cbr_boost_pct, &lossless,