dr_prediction_test.cc: quiet -Wunused-template warnings When configuring with `-DCONFIG_AV1_HIGHBITDEPTH=0`. Change-Id: I5a5e86191d36477ccdd7ed2c3878b2b11f040ca9
diff --git a/test/dr_prediction_test.cc b/test/dr_prediction_test.cc index 4e4a06b..91e2eac 100644 --- a/test/dr_prediction_test.cc +++ b/test/dr_prediction_test.cc
@@ -96,6 +96,7 @@ fn(dst, stride, bw, bh, above, left, upsample_left, dx, dy); } +#if CONFIG_AV1_HIGHBITDEPTH using Z1_Hbd = void (*)(uint16_t *dst, ptrdiff_t stride, int bw, int bh, const uint16_t *above, const uint16_t *left, int upsample_above, int dx, int dy, int bd); @@ -135,6 +136,7 @@ (void)upsample_above; fn(dst, stride, bw, bh, above, left, upsample_left, dx, dy, bd); } +#endif // CONFIG_AV1_HIGHBITDEPTH template <typename FuncType> struct DrPredFunc {