Commit 20fb221ea4 for aom
commit 20fb221ea428c2ad167b27701e1b2bec748a099d
Author: James Zern <jzern@google.com>
Date: Wed Aug 19 10:25:44 2026 -0700
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 4e4a06bd55..91e2eac5bc 100644
--- a/test/dr_prediction_test.cc
+++ b/test/dr_prediction_test.cc
@@ -96,6 +96,7 @@ void z3_wrapper(uint8_t *dst, ptrdiff_t stride, int bw, int bh,
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 z3_wrapper_hbd(uint16_t *dst, ptrdiff_t stride, int bw, int bh,
(void)upsample_above;
fn(dst, stride, bw, bh, above, left, upsample_left, dx, dy, bd);
}
+#endif // CONFIG_AV1_HIGHBITDEPTH
template <typename FuncType>
struct DrPredFunc {