]> granicus.if.org Git - libvpx/commitdiff
quantize ssse3: declare all variables
authorJohann <johannkoenig@google.com>
Tue, 18 Jul 2017 19:32:57 +0000 (12:32 -0700)
committerJohann <johannkoenig@google.com>
Tue, 18 Jul 2017 19:32:57 +0000 (12:32 -0700)
Copy missing line from avx implementation.

Change-Id: I9755c5b4d4034867de6fa9f741c24bf49dce3a27

test/vp9_quantize_test.cc
vpx_dsp/x86/quantize_ssse3_x86_64.asm

index 138e3176fccb78fa73aa27ca72989d9373bbdd58..aa0c70afed759a435fc39db6a6256a726753255b 100644 (file)
@@ -389,7 +389,7 @@ INSTANTIATE_TEST_CASE_P(SSE2, VP9QuantizeTest,
 
 // TODO(johannkoenig): SSSE3 optimizations do not yet pass these tests.
 #if HAVE_SSSE3 && ARCH_X86_64
-INSTANTIATE_TEST_CASE_P(DISABLED_SSSE3, VP9QuantizeTest,
+INSTANTIATE_TEST_CASE_P(SSSE3, VP9QuantizeTest,
                         ::testing::Values(make_tuple(&vpx_quantize_b_ssse3,
                                                      &vpx_quantize_b_c,
                                                      VPX_BITS_8)));
index ec2cafb94cd6ffd2e3e9cfe2b50590a18d8cc0b2..d0e1beb14eea68e074afcaf96f48c2b1deb21ea1 100644 (file)
@@ -15,7 +15,6 @@ pw_1: times 8 dw 1
 
 SECTION .text
 
-; TODO(yunqingwang)fix quantize_b code for skip=1 case.
 %macro QUANTIZE_FN 2
 cglobal quantize_%1, 0, %2, 15, coeff, ncoeff, skip, zbin, round, quant, \
                                 shift, qcoeff, dqcoeff, dequant, \
@@ -304,6 +303,9 @@ cglobal quantize_%1, 0, %2, 15, coeff, ncoeff, skip, zbin, round, quant, \
 
   ; skip-block, i.e. just write all zeroes
 .blank:
+DEFINE_ARGS coeff, ncoeff, skip, zbin, round, quant, shift, \
+            qcoeff, dqcoeff, dequant, eob, scan, iscan
+
   mov                             r0, dqcoeffmp
   movifnidn                  ncoeffq, ncoeffmp
   mov                             r2, qcoeffmp