diff options
author | Yunqing Wang <yunqingwang@google.com> | 2014-07-10 09:19:03 -0700 |
---|---|---|
committer | Yunqing Wang <yunqingwang@google.com> | 2014-07-10 09:19:03 -0700 |
commit | 75cd57503d022d9c368f9b44f3568319ea8302dd (patch) | |
tree | 5f2321a8ac9c7b2920d0813bda0e0c0cf068e9ad /vp9/common | |
parent | 30117a576dc1590d95d840bb90f95e57277a0c9d (diff) | |
download | libvpx-75cd57503d022d9c368f9b44f3568319ea8302dd.tar libvpx-75cd57503d022d9c368f9b44f3568319ea8302dd.tar.gz libvpx-75cd57503d022d9c368f9b44f3568319ea8302dd.tar.bz2 libvpx-75cd57503d022d9c368f9b44f3568319ea8302dd.zip |
Refactor vp9_diamond_search_sad function
Currently, vp9_diamond_search_sadx4() is only called when sse3 is
enabled, which is improper since sse2 optimization of sdx4df
functions are available. Changed to always use
vp9_diamond_search_sadx4().
Change-Id: I4b95d6b7a3c6c645783c373f0ba8d645ece24717
Diffstat (limited to 'vp9/common')
-rw-r--r-- | vp9/common/vp9_rtcd_defs.pl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vp9/common/vp9_rtcd_defs.pl b/vp9/common/vp9_rtcd_defs.pl index 590dcbbab..99f5a8966 100644 --- a/vp9/common/vp9_rtcd_defs.pl +++ b/vp9/common/vp9_rtcd_defs.pl @@ -789,8 +789,7 @@ add_proto qw/int vp9_refining_search_sad/, "const struct macroblock *x, struct m specialize qw/vp9_refining_search_sad/; add_proto qw/int vp9_diamond_search_sad/, "const struct macroblock *x, const struct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv *center_mv"; -specialize qw/vp9_diamond_search_sad sse3/; -$vp9_diamond_search_sad_sse3=vp9_diamond_search_sadx4; +specialize qw/vp9_diamond_search_sad/; add_proto qw/int vp9_full_range_search/, "const struct macroblock *x, const struct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv *center_mv"; specialize qw/vp9_full_range_search/; |