]> granicus.if.org Git - libvpx/commitdiff
inv_txfm_sse2: clear conversion warning in hbd build
authorJames Zern <jzern@google.com>
Fri, 17 Mar 2017 08:16:38 +0000 (01:16 -0700)
committerJames Zern <jzern@google.com>
Fri, 17 Mar 2017 08:16:38 +0000 (01:16 -0700)
tran_high -> tran_low in return from dct_const_round_shift()

Change-Id: I2fe06c4b604823b1d1fe40a487017c3c2819a440

vpx_dsp/x86/inv_txfm_sse2.c

index 33909ba815922fe88b605878e1ab22ead528ab32..8c33caedbd8943d68b3b177e4987d507c6b69874 100644 (file)
@@ -3923,8 +3923,8 @@ void vpx_highbd_idct32x32_1_add_sse2(const tran_low_t *input, uint8_t *dest8,
   uint16_t *dest = CONVERT_TO_SHORTPTR(dest8);
   tran_low_t out;
 
-  out = dct_const_round_shift(input[0] * cospi_16_64);
-  out = dct_const_round_shift(out * cospi_16_64);
+  out = HIGHBD_WRAPLOW(dct_const_round_shift(input[0] * cospi_16_64), bd);
+  out = HIGHBD_WRAPLOW(dct_const_round_shift(out * cospi_16_64), bd);
   a = ROUND_POWER_OF_TWO(out, 6);
 
   d = _mm_set1_epi32(a);