History

Add high bit Hadamard 8x8 avx2 implementation

Speed tests: [ RUN ] C/HadamardHighbdTest.DISABLED_Speed/0 Hadamard8x8[ 10 runs]: 0 us Hadamard8x8[ 10000 runs]: 316 us Hadamard8x8[ 10000000 runs]: 311749 us [ OK ] C/HadamardHighbdTest.DISABLED_Speed/0 (371 ms) [ RUN ] AVX2/HadamardHighbdTest.DISABLED_Speed/0 Hadamard8x8[ 10 runs]: 0 us Hadamard8x8[ 10000 runs]: 161 us Hadamard8x8[ 10000000 runs]: 156910 us [ OK ] AVX2/HadamardHighbdTest.DISABLED_Speed/0 (160 ms)

sdeng committed 8 years ago

Commit f5306a51 parent 5fbc7a23 files · +129 −1Browse files

Showing the changes to test (1 of 3 files). Show all

Unified · Split

test/hadamard_test.cc+7−0
@@ -306,5 +306,12 @@ INSTANTIATE_TEST_CASE_P( · 305 unmodified lines
306306 ::testing::Values(HadamardFuncWithSize(&vpx_highbd_hadamard_8x8_c, 8),
307307 HadamardFuncWithSize(&vpx_highbd_hadamard_16x16_c, 16),
308308 HadamardFuncWithSize(&vpx_highbd_hadamard_32x32_c, 32)));
309+
310+#if HAVE_AVX2
311+INSTANTIATE_TEST_CASE_P(
312+ AVX2, HadamardHighbdTest,
313+ ::testing::Values(HadamardFuncWithSize(&vpx_highbd_hadamard_8x8_avx2, 8)));
314+#endif // HAVE_AVX2
315+
309316 #endif // CONFIG_VP9_HIGHBITDEPTH
310317 } // namespace

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t