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
557 VPX_BITS_8, 32, true)));557 VPX_BITS_8, 32, true)));
558#endif // HAVE_NEON && !CONFIG_VP9_HIGHBITDEPTH558#endif // HAVE_NEON && !CONFIG_VP9_HIGHBITDEPTH
559 559
560#if HAVE_VSX && !CONFIG_VP9_HIGHBITDEPTH
561INSTANTIATE_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
560// Only useful to compare "Speed" test results.570// Only useful to compare "Speed" test results.
561INSTANTIATE_TEST_CASE_P(571INSTANTIATE_TEST_CASE_P(
562 DISABLED_C, VP9QuantizeTest,572 DISABLED_C, VP9QuantizeTest,
@@ -575,10 +585,3 @@ INSTANTIATE_TEST_CASE_P( · 12 unmodified lines
575 &QuantFPWrapper<vp9_quantize_fp_32x32_c>, VPX_BITS_8, 32,585 &QuantFPWrapper<vp9_quantize_fp_32x32_c>, VPX_BITS_8, 32,
576 true)));586 true)));
577} // namespace587} // namespace
578
579#if HAVE_VSX && !CONFIG_VP9_HIGHBITDEPTH
580INSTANTIATE_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