]> granicus.if.org Git - libvpx/commit
keep values in registers during quantization
authorJohann <johannkoenig@google.com>
Wed, 13 Apr 2011 20:38:02 +0000 (16:38 -0400)
committerJohann <johannkoenig@google.com>
Thu, 21 Apr 2011 19:47:55 +0000 (15:47 -0400)
commit508ae1b3d592d40ca5327e0e4e68b6f5431513ea
treeaca4e873458305b1a21fe1832b9c1d523ac90e49
parent7a49accd0b65453057762929efc7eed93deba043
keep values in registers during quantization

add an sse4 quantizer so we can use pinsrw/pextrw and keep values in xmm
registers instead of proxying through the stack. and as long as we're
bumping up, use some ssse3 instructions in the EOB detection (see ssse3
fast quantizer)
pick up about a percent on 32bit and about two on 64bit.

Change-Id: If15abba0e8b037a1d231c0edf33501545c9d9363
vp8/encoder/x86/quantize_sse4.asm [new file with mode: 0644]
vp8/encoder/x86/quantize_x86.h
vp8/encoder/x86/x86_csystemdependent.c
vp8/vp8cx.mk