History

VSX version of vpx_quantize_b_32x32_vsx

Low bit depth version only. Passes the VP9QuantizeTest. VP9QuantizeTest Speed Test (POWER8 Model 2.1) Full calculations: C time = 1456 ms, VSX time = 80 ms (18x)

Luc Trudeau committed 8 years ago

Commit d1aede91 parent dc262df4 files · +171 −13Browse files

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

Unified · Split

test/vp9_quantize_test.cc+10−7
@@ -557,6 +557,16 @@ INSTANTIATE_TEST_CASE_P( · 556 unmodified lines
557557 VPX_BITS_8, 32, true)));
558558 #endif // HAVE_NEON && !CONFIG_VP9_HIGHBITDEPTH
559559
560+#if HAVE_VSX && !CONFIG_VP9_HIGHBITDEPTH
561+INSTANTIATE_TEST_CASE_P(VSX, VP9QuantizeTest,
562+ ::testing::Values(make_tuple(&vpx_quantize_b_vsx,
563+ &vpx_quantize_b_c,
564+ VPX_BITS_8, 16, false),
565+ make_tuple(&vpx_quantize_b_32x32_vsx,
566+ &vpx_quantize_b_32x32_c,
567+ VPX_BITS_8, 32, false)));
568+#endif // HAVE_VSX && !CONFIG_VP9_HIGHBITDEPTH
569+
560570 // Only useful to compare "Speed" test results.
561571 INSTANTIATE_TEST_CASE_P(
562572 DISABLED_C, VP9QuantizeTest,
@@ -575,10 +585,3 @@ INSTANTIATE_TEST_CASE_P( · 12 unmodified lines
575585 &QuantFPWrapper<vp9_quantize_fp_32x32_c>, VPX_BITS_8, 32,
576586 true)));
577587 } // namespace
578−
579−#if HAVE_VSX && !CONFIG_VP9_HIGHBITDEPTH
580−INSTANTIATE_TEST_CASE_P(VSX, VP9QuantizeTest,
581− ::testing::Values(make_tuple(&vpx_quantize_b_vsx,
582− &vpx_quantize_b_c,
583− VPX_BITS_8, 16, false)));
584−#endif // HAVE_VSX && !CONFIG_VP9_HIGHBITDEPTH

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