]> granicus.if.org Git - libvpx/commit
Add a vector form of routine vp9_model_rd_from_var_lapndz
authorGabriel Marin <gmx@chromium.org>
Wed, 14 Dec 2016 20:07:34 +0000 (12:07 -0800)
committerAlex Converse <aconverse@google.com>
Thu, 16 Mar 2017 22:19:44 +0000 (22:19 +0000)
commit976ddb61d34afc81cc65a56b91a9506ee28f47ef
tree7033014d46e7e373af8a2fac77dda5a7255d6d5e
parent83ba1880bf6596c922e67f99290a30b758b01379
Add a vector form of routine vp9_model_rd_from_var_lapndz

Add routine vp9_model_rd_from_var_lapndz_vec and call it from model_rd_for_sb
to model the rate and distortion for MAX_MB_PLANE Laplacian sources in
parallel. The caller ensures that all sources have non-zero variance.

Measured a 18% to 25% reduction in retired instructions, and 17% to 24%
reduction in instruction execution cost with different compilers for the
Laplacian modeling.

No change in behavior.

TEST=Verified that encoded files match bit for bit, with and without this
change.
BUG=b/33678225

Change-Id: I6b76947f21c659a349adb896e13e99f6e3f951e6
vp9/encoder/vp9_rd.c
vp9/encoder/vp9_rd.h
vp9/encoder/vp9_rdopt.c