ref: 7625c803b3b72385c3990e9b36ff1527634b3f00
parent: 410d947c5f5f411e40145a46d32f67aaabb9e7e4
author: James Zern <[email protected]>
date: Mon Oct 31 14:56:34 EDT 2016
idct32x32_1_add_neon: clear a couple conv warnings int16_t -> uint8_t Change-Id: I3c5e0985bc3584dce289c35b5973de24cdc73b76
--- a/vpx_dsp/arm/idct32x32_1_add_neon.c
+++ b/vpx_dsp/arm/idct32x32_1_add_neon.c
@@ -103,7 +103,7 @@
dest_stride8 = dest_stride * 8;
if (a1 >= 0) { // diff_positive_32_32
a1 = a1 < 0 ? 0 : a1 > 255 ? 255 : a1;
- q0u8 = vdupq_n_u8(a1);
+ q0u8 = vdupq_n_u8((uint8_t)a1);
for (i = 0; i < 2; i++, dest += 16) { // diff_positive_32_32_loop
d = dest;
for (j = 0; j < 4; j++) {
@@ -119,7 +119,7 @@
} else { // diff_negative_32_32
a1 = -a1;
a1 = a1 < 0 ? 0 : a1 > 255 ? 255 : a1;
- q0u8 = vdupq_n_u8(a1);
+ q0u8 = vdupq_n_u8((uint8_t)a1);
for (i = 0; i < 2; i++, dest += 16) { // diff_negative_32_32_loop
d = dest;
for (j = 0; j < 4; j++) {