Commit 5bce3fe1 authored by Yaowu Xu's avatar Yaowu Xu

Further reduce number of frames used in test

Change-Id: I5bc018b22690f47a6b4507da872bffde4b6983c8
parent cc5bdf49
......@@ -123,7 +123,7 @@ int main(int argc, char **argv) {
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 @@ int main(int argc, char **argv) {
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);
}
......
......@@ -33,7 +33,7 @@ aom_set_ref() {
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment