highbd_idct*_sse*.c: clear conversion warnings
visual studio reports tran_high_t (int64) -> int in calls to _mm_setr_epi32 Change-Id: Ic2247c8e3800991202151790d78bd94c4f4aed05
This commit is contained in:
parent
85736e616e
commit
62682ac8ad
@ -22,9 +22,12 @@ static INLINE __m128i dct_const_round_shift_4_sse2(const __m128i in0,
|
||||
}
|
||||
|
||||
static INLINE void highbd_idct4_small_sse2(__m128i *const io) {
|
||||
const __m128i cospi_p16_p16 = _mm_setr_epi32(cospi_16_64, 0, cospi_16_64, 0);
|
||||
const __m128i cospi_p08_p08 = _mm_setr_epi32(cospi_8_64, 0, cospi_8_64, 0);
|
||||
const __m128i cospi_p24_p24 = _mm_setr_epi32(cospi_24_64, 0, cospi_24_64, 0);
|
||||
const __m128i cospi_p16_p16 =
|
||||
_mm_setr_epi32((int)cospi_16_64, 0, (int)cospi_16_64, 0);
|
||||
const __m128i cospi_p08_p08 =
|
||||
_mm_setr_epi32((int)cospi_8_64, 0, (int)cospi_8_64, 0);
|
||||
const __m128i cospi_p24_p24 =
|
||||
_mm_setr_epi32((int)cospi_24_64, 0, (int)cospi_24_64, 0);
|
||||
__m128i temp1[4], temp2[4], step[4];
|
||||
|
||||
transpose_32bit_4x4(io, io);
|
||||
@ -91,11 +94,11 @@ static INLINE __m128i multiply_apply_sign_sse2(const __m128i in,
|
||||
|
||||
static INLINE void highbd_idct4_large_sse2(__m128i *const io) {
|
||||
const __m128i cospi_p16_p16 =
|
||||
_mm_setr_epi32(cospi_16_64 << 2, 0, cospi_16_64 << 2, 0);
|
||||
_mm_setr_epi32((int)cospi_16_64 << 2, 0, (int)cospi_16_64 << 2, 0);
|
||||
const __m128i cospi_p08_p08 =
|
||||
_mm_setr_epi32(cospi_8_64 << 2, 0, cospi_8_64 << 2, 0);
|
||||
_mm_setr_epi32((int)cospi_8_64 << 2, 0, (int)cospi_8_64 << 2, 0);
|
||||
const __m128i cospi_p24_p24 =
|
||||
_mm_setr_epi32(cospi_24_64 << 2, 0, cospi_24_64 << 2, 0);
|
||||
_mm_setr_epi32((int)cospi_24_64 << 2, 0, (int)cospi_24_64 << 2, 0);
|
||||
__m128i temp1[4], temp2[4], step[4], sign1[4], sign2[4];
|
||||
|
||||
transpose_32bit_4x4(io, io);
|
||||
|
@ -18,11 +18,11 @@
|
||||
|
||||
static INLINE void highbd_idct4(__m128i *const io) {
|
||||
const __m128i cospi_p16_p16 =
|
||||
_mm_setr_epi32(cospi_16_64 << 2, 0, cospi_16_64 << 2, 0);
|
||||
_mm_setr_epi32((int)cospi_16_64 << 2, 0, (int)cospi_16_64 << 2, 0);
|
||||
const __m128i cospi_p08_p08 =
|
||||
_mm_setr_epi32(cospi_8_64 << 2, 0, cospi_8_64 << 2, 0);
|
||||
_mm_setr_epi32((int)cospi_8_64 << 2, 0, (int)cospi_8_64 << 2, 0);
|
||||
const __m128i cospi_p24_p24 =
|
||||
_mm_setr_epi32(cospi_24_64 << 2, 0, cospi_24_64 << 2, 0);
|
||||
_mm_setr_epi32((int)cospi_24_64 << 2, 0, (int)cospi_24_64 << 2, 0);
|
||||
__m128i temp1[4], step[4];
|
||||
|
||||
transpose_32bit_4x4(io, io);
|
||||
|
@ -19,19 +19,19 @@
|
||||
|
||||
static void highbd_idct8x8_half1d(__m128i *const io) {
|
||||
const __m128i cp_4q_4q =
|
||||
_mm_setr_epi32(cospi_4_64 << 2, 0, cospi_4_64 << 2, 0);
|
||||
_mm_setr_epi32((int)cospi_4_64 << 2, 0, (int)cospi_4_64 << 2, 0);
|
||||
const __m128i cp_8q_8q =
|
||||
_mm_setr_epi32(cospi_8_64 << 2, 0, cospi_8_64 << 2, 0);
|
||||
_mm_setr_epi32((int)cospi_8_64 << 2, 0, (int)cospi_8_64 << 2, 0);
|
||||
const __m128i cp_12q_12q =
|
||||
_mm_setr_epi32(cospi_12_64 << 2, 0, cospi_12_64 << 2, 0);
|
||||
_mm_setr_epi32((int)cospi_12_64 << 2, 0, (int)cospi_12_64 << 2, 0);
|
||||
const __m128i cp_16q_16q =
|
||||
_mm_setr_epi32(cospi_16_64 << 2, 0, cospi_16_64 << 2, 0);
|
||||
_mm_setr_epi32((int)cospi_16_64 << 2, 0, (int)cospi_16_64 << 2, 0);
|
||||
const __m128i cp_20q_20q =
|
||||
_mm_setr_epi32(cospi_20_64 << 2, 0, cospi_20_64 << 2, 0);
|
||||
_mm_setr_epi32((int)cospi_20_64 << 2, 0, (int)cospi_20_64 << 2, 0);
|
||||
const __m128i cp_24q_24q =
|
||||
_mm_setr_epi32(cospi_24_64 << 2, 0, cospi_24_64 << 2, 0);
|
||||
_mm_setr_epi32((int)cospi_24_64 << 2, 0, (int)cospi_24_64 << 2, 0);
|
||||
const __m128i cp_28q_28q =
|
||||
_mm_setr_epi32(cospi_28_64 << 2, 0, cospi_28_64 << 2, 0);
|
||||
_mm_setr_epi32((int)cospi_28_64 << 2, 0, (int)cospi_28_64 << 2, 0);
|
||||
__m128i temp1[4], temp2[4], step1[8], step2[8];
|
||||
|
||||
transpose_32bit_4x4x2(io, io);
|
||||
@ -87,19 +87,19 @@ static void highbd_idct8x8_half1d(__m128i *const io) {
|
||||
|
||||
static void highbd_idct8x8_12_half1d(__m128i *const io) {
|
||||
const __m128i cp_28q_28q =
|
||||
_mm_setr_epi32(cospi_28_64 << 2, 0, cospi_28_64 << 2, 0);
|
||||
_mm_setr_epi32((int)cospi_28_64 << 2, 0, (int)cospi_28_64 << 2, 0);
|
||||
const __m128i cp_4q_4q =
|
||||
_mm_setr_epi32(cospi_4_64 << 2, 0, cospi_4_64 << 2, 0);
|
||||
_mm_setr_epi32((int)cospi_4_64 << 2, 0, (int)cospi_4_64 << 2, 0);
|
||||
const __m128i cp_n20q_n20q =
|
||||
_mm_setr_epi32(-cospi_20_64 * 4, 0, -cospi_20_64 * 4, 0);
|
||||
_mm_setr_epi32(-(int)cospi_20_64 * 4, 0, -(int)cospi_20_64 * 4, 0);
|
||||
const __m128i cp_12q_12q =
|
||||
_mm_setr_epi32(cospi_12_64 << 2, 0, cospi_12_64 << 2, 0);
|
||||
_mm_setr_epi32((int)cospi_12_64 << 2, 0, (int)cospi_12_64 << 2, 0);
|
||||
const __m128i cp_16q_16q =
|
||||
_mm_setr_epi32(cospi_16_64 << 2, 0, cospi_16_64 << 2, 0);
|
||||
_mm_setr_epi32((int)cospi_16_64 << 2, 0, (int)cospi_16_64 << 2, 0);
|
||||
const __m128i cp_8q_8q =
|
||||
_mm_setr_epi32(cospi_8_64 << 2, 0, cospi_8_64 << 2, 0);
|
||||
_mm_setr_epi32((int)cospi_8_64 << 2, 0, (int)cospi_8_64 << 2, 0);
|
||||
const __m128i cp_24q_24q =
|
||||
_mm_setr_epi32(cospi_24_64 << 2, 0, cospi_24_64 << 2, 0);
|
||||
_mm_setr_epi32((int)cospi_24_64 << 2, 0, (int)cospi_24_64 << 2, 0);
|
||||
__m128i temp1[4], temp2[4], step1[8], step2[8];
|
||||
|
||||
transpose_32bit_4x4(io, io);
|
||||
|
Loading…
Reference in New Issue
Block a user