]> granicus.if.org Git - libvpx/commit
quantize avx: copy implementation to intrinsics
authorJohann <johannkoenig@google.com>
Tue, 22 Aug 2017 22:43:35 +0000 (15:43 -0700)
committerJohann <johannkoenig@google.com>
Wed, 23 Aug 2017 16:19:16 +0000 (09:19 -0700)
commit7c27872164941cecd17e685a0a2c537b996509ec
tree84bfb02cf57dac9e430f1cfb95ce5fc39dbae871
parent0207f17144f213a52512cfd8287e26946e30d7ad
quantize avx: copy implementation to intrinsics

Adds an early exit based on ptest. Slightly slower than ssse3 in the
full case because of the extra check, but potentially faster if lots of
rows can be skipped.

Very close in speed to the assembly.

Can run in 32 bit, unlike the assembly. Allows reworking the function
prototype to use structs.

Change-Id: If80e2b9ba059370a4cad3c973196e82a97b4330e
test/vp9_quantize_test.cc
vpx_dsp/vpx_dsp.mk
vpx_dsp/vpx_dsp_rtcd_defs.pl
vpx_dsp/x86/quantize_avx.c [new file with mode: 0644]
vpx_dsp/x86/quantize_avx_x86_64.asm