summaryrefslogtreecommitdiff
path: root/vp9/common
diff options
context:
space:
mode:
authorScott LaVarnway <slavarnway@google.com>2022-08-02 11:22:04 -0700
committerScott LaVarnway <slavarnway@google.com>2022-08-03 05:39:49 -0700
commita55e248349a1d549dbb3d988ced7ff93ac20ca0d (patch)
tree6d34c4082377011780d9d9e10551146e89ec5277 /vp9/common
parent34ee3843e64e1214c67f5301250c6ae5af0dc930 (diff)
downloadlibvpx-a55e248349a1d549dbb3d988ced7ff93ac20ca0d.tar
libvpx-a55e248349a1d549dbb3d988ced7ff93ac20ca0d.tar.gz
libvpx-a55e248349a1d549dbb3d988ced7ff93ac20ca0d.tar.bz2
libvpx-a55e248349a1d549dbb3d988ced7ff93ac20ca0d.zip
VPX: Add vp9_highbd_quantize_fp_avx2().
Up to 5.37x faster than vp9_highbd_quantize_fp_c() for full calculations. ~1.6% overall encoder improvement for the test clip used. Bug: b/237714063 Change-Id: I584fd1f60a3e02f1ded092de98970725fc66c5b8
Diffstat (limited to 'vp9/common')
-rw-r--r--vp9/common/vp9_rtcd_defs.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/vp9/common/vp9_rtcd_defs.pl b/vp9/common/vp9_rtcd_defs.pl
index a4d28f0ff..b956877d3 100644
--- a/vp9/common/vp9_rtcd_defs.pl
+++ b/vp9/common/vp9_rtcd_defs.pl
@@ -196,6 +196,7 @@ if (vpx_config("CONFIG_VP9_HIGHBITDEPTH") eq "yes") {
# ENCODEMB INVOKE
add_proto qw/void vp9_highbd_quantize_fp/, "const tran_low_t *coeff_ptr, intptr_t n_coeffs, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan";
+ specialize qw/vp9_highbd_quantize_fp avx2/;
add_proto qw/void vp9_highbd_quantize_fp_32x32/, "const tran_low_t *coeff_ptr, intptr_t n_coeffs, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan" ;