summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_rdopt.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@google.com>2013-07-01 11:36:07 -0700
committerRonald S. Bultje <rbultje@google.com>2013-07-01 11:36:07 -0700
commit7353ceab9d6b5c9d1bbdae18e509207c5afb2b19 (patch)
tree20de3c17fae4e02bbe4b1fccbe3a5ef5a10b8817 /vp9/encoder/vp9_rdopt.c
parent632289b31fd11229c875c116f4281e3ab6f42115 (diff)
downloadlibvpx-7353ceab9d6b5c9d1bbdae18e509207c5afb2b19.tar
libvpx-7353ceab9d6b5c9d1bbdae18e509207c5afb2b19.tar.gz
libvpx-7353ceab9d6b5c9d1bbdae18e509207c5afb2b19.tar.bz2
libvpx-7353ceab9d6b5c9d1bbdae18e509207c5afb2b19.zip
Quantize (64-bit only, for now) SSSE3 SIMD.
Total encoding time for first 50 frames of bus (speed 0) @ 1500kbps goes 2min34.8 to 2min14.4, i.e. a 10.4% overall speedup. The code is x86-64 only, it needs some minor modifications to be 32bit compatible, because it uses 15 xmm registers, whereas 32bit only has 8. Change-Id: I2df53770c2e850813ffa713e1a91b45b0082b904
Diffstat (limited to 'vp9/encoder/vp9_rdopt.c')
-rw-r--r--vp9/encoder/vp9_rdopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_rdopt.c b/vp9/encoder/vp9_rdopt.c
index 5b4b7522b..0cf413011 100644
--- a/vp9/encoder/vp9_rdopt.c
+++ b/vp9/encoder/vp9_rdopt.c
@@ -305,7 +305,7 @@ static INLINE int cost_coeffs(VP9_COMMON *const cm, MACROBLOCK *mb,
int pt;
int c = 0;
int cost = 0, pad;
- const int *scan, *nb;
+ const int16_t *scan, *nb;
const int eob = xd->plane[plane].eobs[block];
const int16_t *qcoeff_ptr = BLOCK_OFFSET(xd->plane[plane].qcoeff, block, 16);
const int ref = mbmi->ref_frame[0] != INTRA_FRAME;