diff options
author | Julia Robson <juliamrobson@gmail.com> | 2015-10-02 10:20:06 +0100 |
---|---|---|
committer | Debargha Mukherjee <debargha@google.com> | 2015-10-05 10:59:16 -0700 |
commit | 5e6533e70730e0798b4b00d795d400bc87f8927c (patch) | |
tree | 0f0e821f65c87a314727f691cebd9b6c0e729507 /vpx_dsp/vpx_dsp_rtcd_defs.pl | |
parent | 7777e7a8d5d4993825f441abd1dd9eb35680bf60 (diff) | |
download | libvpx-5e6533e70730e0798b4b00d795d400bc87f8927c.tar libvpx-5e6533e70730e0798b4b00d795d400bc87f8927c.tar.gz libvpx-5e6533e70730e0798b4b00d795d400bc87f8927c.tar.bz2 libvpx-5e6533e70730e0798b4b00d795d400bc87f8927c.zip |
SSE2 optimisation for quantize in high bit depth
When configured with high bit detpth enabled, the 8bit quantize
function stopped using optimised code. This made 8bit content
decode slowly. This commit re-enables the SSE2 optimisation
(but not the SSSE3 optimisation).
Change-Id: Id015fe3c1c44580a4bff3f4bd985170f2806a9d9
Diffstat (limited to 'vpx_dsp/vpx_dsp_rtcd_defs.pl')
-rw-r--r-- | vpx_dsp/vpx_dsp_rtcd_defs.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vpx_dsp/vpx_dsp_rtcd_defs.pl b/vpx_dsp/vpx_dsp_rtcd_defs.pl index 535944e29..7f9b882e7 100644 --- a/vpx_dsp/vpx_dsp_rtcd_defs.pl +++ b/vpx_dsp/vpx_dsp_rtcd_defs.pl @@ -849,7 +849,7 @@ if (vpx_config("CONFIG_VP9_HIGHBITDEPTH") eq "yes") { if ((vpx_config("CONFIG_VP9_ENCODER") eq "yes") || (vpx_config("CONFIG_VP10_ENCODER") eq "yes")) { if (vpx_config("CONFIG_VP9_HIGHBITDEPTH") eq "yes") { add_proto qw/void vpx_quantize_b/, "const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan"; - specialize qw/vpx_quantize_b/; + specialize qw/vpx_quantize_b sse2/; add_proto qw/void vpx_quantize_b_32x32/, "const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan"; specialize qw/vpx_quantize_b_32x32/; |