aboutsummaryrefslogtreecommitdiff
path: root/libvpx/test/convolve_test.cc
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-07-21 20:25:59 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-07-21 20:25:59 +0000
commitd07bd4b49713387cbd805cfd86225c6d5afd7fa1 (patch)
tree6e0cca478f6f9e96e806f4af167201155c0a30a8 /libvpx/test/convolve_test.cc
parentb82ded93d4f517a77e618ab21bdfad9ee514b785 (diff)
parent6939824c0cf8321a1718973892371085f7b4edff (diff)
downloadlibvpx-d07bd4b49713387cbd805cfd86225c6d5afd7fa1.tar.gz
Snap for 8857176 from 6939824c0cf8321a1718973892371085f7b4edff to mainline-go-ipsec-releaseaml_go_ips_330911000android13-mainline-go-ipsec-release
Change-Id: I8aace35124a08df46f5c908a691cbf02371fd038
Diffstat (limited to 'libvpx/test/convolve_test.cc')
-rw-r--r--libvpx/test/convolve_test.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/libvpx/test/convolve_test.cc b/libvpx/test/convolve_test.cc
index 4b2dadefa..d56904869 100644
--- a/libvpx/test/convolve_test.cc
+++ b/libvpx/test/convolve_test.cc
@@ -1449,6 +1449,19 @@ INSTANTIATE_TEST_SUITE_P(MSA, ConvolveTest,
::testing::ValuesIn(kArrayConvolve8_msa));
#endif // HAVE_MSA
+#if HAVE_LSX
+const ConvolveFunctions convolve8_lsx(
+ vpx_convolve_copy_lsx, vpx_convolve_avg_lsx, vpx_convolve8_horiz_lsx,
+ vpx_convolve8_avg_horiz_lsx, vpx_convolve8_vert_lsx,
+ vpx_convolve8_avg_vert_lsx, vpx_convolve8_lsx, vpx_convolve8_avg_lsx,
+ vpx_scaled_horiz_c, vpx_scaled_avg_horiz_c, vpx_scaled_vert_c,
+ vpx_scaled_avg_vert_c, vpx_scaled_2d_c, vpx_scaled_avg_2d_c, 0);
+
+const ConvolveParam kArrayConvolve8_lsx[] = { ALL_SIZES(convolve8_lsx) };
+INSTANTIATE_TEST_SUITE_P(LSX, ConvolveTest,
+ ::testing::ValuesIn(kArrayConvolve8_lsx));
+#endif // HAVE_LSX
+
#if HAVE_VSX
const ConvolveFunctions convolve8_vsx(
vpx_convolve_copy_vsx, vpx_convolve_avg_vsx, vpx_convolve8_horiz_vsx,