shithub: libvpx

Download patch

ref: 36533e8c5a00b0ae430ba2b102bedfd587e67db1
parent: 9675affae0d20516ee2d313f7b821be36f7df20f
parent: 5da2e500d747f12f3e512922055878f5893996a6
author: James Zern <jzern@google.com>
date: Fri Mar 17 17:48:20 EDT 2017

Merge "inv_txfm_sse2: clear conversion warning in hbd build"

--- a/vpx_dsp/x86/inv_txfm_sse2.c
+++ b/vpx_dsp/x86/inv_txfm_sse2.c
@@ -3923,8 +3923,8 @@
   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);