]> granicus.if.org Git - libvpx/commit
quantize neon: round dqcoeff towards zero
authorJohann <johannkoenig@google.com>
Mon, 21 Aug 2017 18:23:49 +0000 (11:23 -0700)
committerJohann <johannkoenig@google.com>
Wed, 23 Aug 2017 15:05:50 +0000 (08:05 -0700)
commit2a5aa98a35d295bbfd17d107630be84a5ccc1077
treec8aefa26ee9a67c445a49693de8e55c2e8e9abe6
parent13eed991f9450cdd8b03fc03c38ea0f9b2667bf8
quantize neon: round dqcoeff towards zero

Add 1 if negative to get dqcoeff to round towards zero.

10-15% faster than converting to positive before shifting.

Change-Id: I01a62fd0c9bca786b6885b318bd447bb9229903d
vpx_dsp/arm/quantize_neon.c