Fix unit tests with --disable-lowbitdepth
This removes a workaround, which is not needed anymore
now that the choice of coding path is done in aomdec.c
instead of decode_frame.c.
BUG=aomedia:620
Change-Id: I42acdd51036461c23fdaa69324e0415b53ee74fa
diff --git a/test/av1_ext_tile_test.cc b/test/av1_ext_tile_test.cc
index c816b9a..9897558 100644
--- a/test/av1_ext_tile_test.cc
+++ b/test/av1_ext_tile_test.cc
@@ -43,7 +43,7 @@
aom_codec_dec_cfg_t cfg = aom_codec_dec_cfg_t();
cfg.w = kImgWidth;
cfg.h = kImgHeight;
- cfg.allow_lowbitdepth = CONFIG_LOWBITDEPTH;
+ cfg.allow_lowbitdepth = 1;
decoder_ = codec_->CreateDecoder(cfg, 0);
decoder_->Control(AV1_SET_DECODE_TILE_ROW, -1);
diff --git a/test/decode_perf_test.cc b/test/decode_perf_test.cc
index 6cf0a8c..a24d02a 100644
--- a/test/decode_perf_test.cc
+++ b/test/decode_perf_test.cc
@@ -63,7 +63,7 @@
aom_codec_dec_cfg_t cfg = aom_codec_dec_cfg_t();
cfg.threads = threads;
- cfg.allow_lowbitdepth = CONFIG_LOWBITDEPTH;
+ cfg.allow_lowbitdepth = 1;
libaom_test::AV1Decoder decoder(cfg, 0);
aom_usec_timer t;
@@ -211,7 +211,7 @@
aom_codec_dec_cfg_t cfg = aom_codec_dec_cfg_t();
cfg.threads = threads;
- cfg.allow_lowbitdepth = CONFIG_LOWBITDEPTH;
+ cfg.allow_lowbitdepth = 1;
libaom_test::AV1Decoder decoder(cfg, 0);
aom_usec_timer t;
diff --git a/test/ethread_test.cc b/test/ethread_test.cc
index 6c94196..2fe26a5 100644
--- a/test/ethread_test.cc
+++ b/test/ethread_test.cc
@@ -30,7 +30,7 @@
aom_codec_dec_cfg_t cfg = aom_codec_dec_cfg_t();
cfg.w = 1280;
cfg.h = 720;
- cfg.allow_lowbitdepth = CONFIG_LOWBITDEPTH;
+ cfg.allow_lowbitdepth = 1;
decoder_ = codec_->CreateDecoder(cfg, 0);
#if CONFIG_AV1 && CONFIG_EXT_TILE
if (decoder_->IsAV1()) {
diff --git a/test/tile_independence_test.cc b/test/tile_independence_test.cc
index 9d1b6f7..cd1ad52 100644
--- a/test/tile_independence_test.cc
+++ b/test/tile_independence_test.cc
@@ -33,7 +33,7 @@
cfg.w = 704;
cfg.h = 144;
cfg.threads = 1;
- cfg.allow_lowbitdepth = CONFIG_LOWBITDEPTH;
+ cfg.allow_lowbitdepth = 1;
fw_dec_ = codec_->CreateDecoder(cfg, 0);
inv_dec_ = codec_->CreateDecoder(cfg, 0);
inv_dec_->Control(AV1_INVERT_TILE_DECODE_ORDER, 1);
diff --git a/test/user_priv_test.cc b/test/user_priv_test.cc
index 63db43d..da289c9 100644
--- a/test/user_priv_test.cc
+++ b/test/user_priv_test.cc
@@ -49,7 +49,7 @@
video.Init();
aom_codec_dec_cfg_t cfg = aom_codec_dec_cfg_t();
- cfg.allow_lowbitdepth = CONFIG_LOWBITDEPTH;
+ cfg.allow_lowbitdepth = 1;
libaom_test::AV1Decoder decoder(cfg, 0);
libaom_test::MD5 md5;