Reduce number of video frames in set_maps test
BUG=aomedia:506 Change-Id: I29d5c68ffe9bc9f440d7c0e8f2e134dd64267d78
This commit is contained in:
Родитель
37fe5fbced
Коммит
93d3001bde
|
@ -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 = 30;
|
||||
const int limit = 15;
|
||||
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 == 11) {
|
||||
if (frame_count == 5) {
|
||||
set_active_map(&cfg, &codec);
|
||||
} else if (frame_count == 22) {
|
||||
} else if (frame_count == 11) {
|
||||
unset_active_map(&cfg, &codec);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче