Commit 11ee2482 authored by Deb Mukherjee's avatar Deb Mukherjee Committed by Gerrit Code Review
Browse files

Merge "Visual Studio build (warning) fix"

parents 10a9456a 41e6ec4a
...@@ -373,7 +373,7 @@ class FwdTrans8x8TestBase { ...@@ -373,7 +373,7 @@ class FwdTrans8x8TestBase {
reference_8x8_dct_2d(in, out_r); reference_8x8_dct_2d(in, out_r);
for (int j = 0; j < kNumCoeffs; ++j) for (int j = 0; j < kNumCoeffs; ++j)
coeff[j] = round(out_r[j]); coeff[j] = static_cast<tran_low_t>(round(out_r[j]));
if (bit_depth_ == VPX_BITS_8) { if (bit_depth_ == VPX_BITS_8) {
ASM_REGISTER_STATE_CHECK(RunInvTxfm(coeff, dst, pitch_)); ASM_REGISTER_STATE_CHECK(RunInvTxfm(coeff, dst, pitch_));
...@@ -416,7 +416,7 @@ class FwdTrans8x8TestBase { ...@@ -416,7 +416,7 @@ class FwdTrans8x8TestBase {
RunFwdTxfm(in, coeff, pitch_); RunFwdTxfm(in, coeff, pitch_);
reference_8x8_dct_2d(in, out_r); reference_8x8_dct_2d(in, out_r);
for (int j = 0; j < kNumCoeffs; ++j) for (int j = 0; j < kNumCoeffs; ++j)
coeff_r[j] = round(out_r[j]); coeff_r[j] = static_cast<tran_low_t>(round(out_r[j]));
for (int j = 0; j < kNumCoeffs; ++j) { for (int j = 0; j < kNumCoeffs; ++j) {
const uint32_t diff = coeff[j] - coeff_r[j]; const uint32_t diff = coeff[j] - coeff_r[j];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment