Further reduce number of frames used in test
Change-Id: I5bc018b22690f47a6b4507da872bffde4b6983c8
diff --git a/examples/set_maps.c b/examples/set_maps.c
index 1c69b4b..b4916cf 100644
--- a/examples/set_maps.c
+++ b/examples/set_maps.c
@@ -123,7 +123,7 @@
aom_codec_ctx_t codec;
aom_codec_enc_cfg_t cfg;
int frame_count = 0;
- const int limit = 60;
+ const int limit = 30;
aom_image_t raw;
aom_codec_err_t res;
AvxVideoInfo info;
@@ -184,9 +184,9 @@
while (aom_img_read(&raw, infile) && frame_count < limit) {
++frame_count;
- if (frame_count == 33) {
+ if (frame_count == 11) {
set_active_map(&cfg, &codec);
- } else if (frame_count == 44) {
+ } else if (frame_count == 22) {
unset_active_map(&cfg, &codec);
}
diff --git a/test/aomcx_set_ref.sh b/test/aomcx_set_ref.sh
index a6ac73d..f51b73c 100755
--- a/test/aomcx_set_ref.sh
+++ b/test/aomcx_set_ref.sh
@@ -33,7 +33,7 @@
local codec="$1"
local output_file="${AOM_TEST_OUTPUT_DIR}/aom_cx_set_ref_${codec}.ivf"
local ref_frame_num=4
- local limit=20
+ local limit=10
if [ ! -x "${encoder}" ]; then
elog "${encoder} does not exist or is not executable."
return 1