Commit acca889a authored by Jingning Han's avatar Jingning Han

Fix tile independency unit test

BUG=aomedia:614

Change-Id: I8aab46954af9d6c6d31aba0bd96d6eb9f181b84c
parent a9a23f7f
......@@ -63,6 +63,7 @@ TEST_P(DecodePerfTest, PerfTest) {
aom_codec_dec_cfg_t cfg = aom_codec_dec_cfg_t();
cfg.threads = threads;
cfg.allow_lowbitdepth = CONFIG_LOWBITDEPTH;
libaom_test::AV1Decoder decoder(cfg, 0);
aom_usec_timer t;
......@@ -211,6 +212,7 @@ TEST_P(AV1NewEncodeDecodePerfTest, PerfTest) {
aom_codec_dec_cfg_t cfg = aom_codec_dec_cfg_t();
cfg.threads = threads;
cfg.allow_lowbitdepth = CONFIG_LOWBITDEPTH;
libaom_test::AV1Decoder decoder(cfg, 0);
aom_usec_timer t;
......
......@@ -30,6 +30,7 @@ class AVxEncoderThreadTest
aom_codec_dec_cfg_t cfg = aom_codec_dec_cfg_t();
cfg.w = 1280;
cfg.h = 720;
cfg.allow_lowbitdepth = CONFIG_LOWBITDEPTH;
decoder_ = codec_->CreateDecoder(cfg, 0);
#if CONFIG_AV1 && CONFIG_EXT_TILE
if (decoder_->IsAV1()) {
......
......@@ -33,6 +33,7 @@ class TileIndependenceTest
cfg.w = 704;
cfg.h = 144;
cfg.threads = 1;
cfg.allow_lowbitdepth = CONFIG_LOWBITDEPTH;
fw_dec_ = codec_->CreateDecoder(cfg, 0);
inv_dec_ = codec_->CreateDecoder(cfg, 0);
inv_dec_->Control(AV1_INVERT_TILE_DECODE_ORDER, 1);
......
......@@ -49,6 +49,7 @@ string DecodeFile(const string &filename) {
video.Init();
aom_codec_dec_cfg_t cfg = aom_codec_dec_cfg_t();
cfg.allow_lowbitdepth = CONFIG_LOWBITDEPTH;
libaom_test::AV1Decoder decoder(cfg, 0);
libaom_test::MD5 md5;
......
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