diff options
author | Jingning Han <jingning@google.com> | 2018-09-07 10:20:56 -0700 |
---|---|---|
committer | Jingning Han <jingning@google.com> | 2018-09-07 10:20:56 -0700 |
commit | 8db47dfee5603121f074d3c0296b594e69a5e45c (patch) | |
tree | ed7a51ab4870ba54ab059a9b2be2e3327fd24866 /vp9/vp9_cx_iface.c | |
parent | 6c5f88a280214d07b188a2e97ed736535f813195 (diff) | |
download | libvpx-8db47dfee5603121f074d3c0296b594e69a5e45c.tar libvpx-8db47dfee5603121f074d3c0296b594e69a5e45c.tar.gz libvpx-8db47dfee5603121f074d3c0296b594e69a5e45c.tar.bz2 libvpx-8db47dfee5603121f074d3c0296b594e69a5e45c.zip |
Extend auto-alt-ref parameter range
Extend the upper limit from 2 (dual ARFs) to maximum ARF layers.
This would later allow --auto-alt-ref to directly control the
ARF layer depth later on.
Change-Id: I6324fe980122e73dc98f81c8d7de1193a1a16e51
Diffstat (limited to 'vp9/vp9_cx_iface.c')
-rw-r--r-- | vp9/vp9_cx_iface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/vp9_cx_iface.c b/vp9/vp9_cx_iface.c index 251acf3c5..aacfbe367 100644 --- a/vp9/vp9_cx_iface.c +++ b/vp9/vp9_cx_iface.c @@ -249,7 +249,7 @@ static vpx_codec_err_t validate_config(vpx_codec_alg_priv_t *ctx, RANGE_CHECK(extra_cfg, row_mt, 0, 1); RANGE_CHECK(extra_cfg, motion_vector_unit_test, 0, 2); - RANGE_CHECK(extra_cfg, enable_auto_alt_ref, 0, 2); + RANGE_CHECK(extra_cfg, enable_auto_alt_ref, 0, MAX_ARF_LAYERS); RANGE_CHECK(extra_cfg, cpu_used, -9, 9); RANGE_CHECK_HI(extra_cfg, noise_sensitivity, 6); RANGE_CHECK(extra_cfg, tile_columns, 0, 6); |