summaryrefslogtreecommitdiff
path: root/vp9/common/vp9_rtcd_defs.pl
diff options
context:
space:
mode:
authorLinfeng Zhang <linfengz@google.com>2016-05-17 12:42:55 -0700
committerLinfeng Zhang <linfengz@google.com>2016-05-27 09:51:16 -0700
commitaf7fb17c09158e9039bfe6d72c591347b7c0ceb9 (patch)
treeb4a5d179a8a7173ded8982b137a66be7db189819 /vp9/common/vp9_rtcd_defs.pl
parentbdfbd6325ef8582beb0cb382f7d0f12cc488ecee (diff)
downloadlibvpx-af7fb17c09158e9039bfe6d72c591347b7c0ceb9.tar
libvpx-af7fb17c09158e9039bfe6d72c591347b7c0ceb9.tar.gz
libvpx-af7fb17c09158e9039bfe6d72c591347b7c0ceb9.tar.bz2
libvpx-af7fb17c09158e9039bfe6d72c591347b7c0ceb9.zip
Upgrade fwht4x4_mmx() to fwht4x4_sse2() for vp9 and vp10.
Function level timing test shows about 27% time saving on a Xeon E5-2680 v2 desktop. Rename vp9_dct_sse2.c to vp9_dct_intrin_sse2.c for vp9 and rename dct_sse2.c to dct_intrin_sse2.c for vp10 to avoid duplicate basenames. Actually vp9_fwht4x4_mmx/sse2() and vp10_fwht4x4_mmx/sse2() are identical. TODO: They should be unified later if there is no intention to keep a duplicate. Change-Id: I3e537b7bbd9ba417c606cd7c68c4dbbfa583f77d
Diffstat (limited to 'vp9/common/vp9_rtcd_defs.pl')
-rw-r--r--vp9/common/vp9_rtcd_defs.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/vp9/common/vp9_rtcd_defs.pl b/vp9/common/vp9_rtcd_defs.pl
index d7f5a2113..7b9869b52 100644
--- a/vp9/common/vp9_rtcd_defs.pl
+++ b/vp9/common/vp9_rtcd_defs.pl
@@ -245,7 +245,7 @@ if (vpx_config("CONFIG_VP9_HIGHBITDEPTH") eq "yes") {
specialize qw/vp9_fht16x16 sse2/;
add_proto qw/void vp9_fwht4x4/, "const int16_t *input, tran_low_t *output, int stride";
- specialize qw/vp9_fwht4x4/, "$mmx_x86inc";
+ specialize qw/vp9_fwht4x4/, "$sse2_x86inc";
} else {
add_proto qw/void vp9_fht4x4/, "const int16_t *input, tran_low_t *output, int stride, int tx_type";
specialize qw/vp9_fht4x4 sse2 msa/;
@@ -257,7 +257,7 @@ if (vpx_config("CONFIG_VP9_HIGHBITDEPTH") eq "yes") {
specialize qw/vp9_fht16x16 sse2 msa/;
add_proto qw/void vp9_fwht4x4/, "const int16_t *input, tran_low_t *output, int stride";
- specialize qw/vp9_fwht4x4 msa/, "$mmx_x86inc";
+ specialize qw/vp9_fwht4x4 msa/, "$sse2_x86inc";
}
#