vec_u16_t twov, fourv, fivev, sixv;
vec_s16_t sixteenv, thirtytwov;
- vect_ushort_u temp_u;
+ vec_u16_u temp_u;
temp_u.s[0]=2;
twov = vec_splat( temp_u.v, 0 );
c = ( 5 * V + 32 ) >> 6;
i00 = a - b * 7 - c * 7 + 16;
- vect_sshort_u i00_u, b_u, c_u;
+ vec_s16_u i00_u, b_u, c_u;
i00_u.s[0] = i00;
b_u.s[0] = b;
c_u.s[0] = c;
static void predict_16x16_v_altivec( uint8_t *src )
{
- vect_int_u v;
+ vec_u32_u v;
v.s[0] = *(uint32_t*)&src[ 0-FDEC_STRIDE];
v.s[1] = *(uint32_t*)&src[ 4-FDEC_STRIDE];
v.s[2] = *(uint32_t*)&src[ 8-FDEC_STRIDE];
vec_s16_t temp1v, temp2v;
- vect_int_u qbits_u;
+ vec_u32_u qbits_u;
qbits_u.s[0]=16;
i_qbitsv = vec_splat(qbits_u.v, 0);
vec_u16_t mfv;
vec_u16_t biasv;
- vect_ushort_u mf_u;
+ vec_u16_u mf_u;
mf_u.s[0]=mf;
mfv = vec_splat( mf_u.v, 0 );
- vect_int_u qbits_u;
+ vec_u32_u qbits_u;
qbits_u.s[0]=16;
i_qbitsv = vec_splat(qbits_u.v, 0);
- vect_ushort_u bias_u;
+ vec_u16_u bias_u;
bias_u.s[0]=bias;
biasv = vec_splat(bias_u.v, 0);
vec_u16_t mfv;
vec_u16_t biasv;
- vect_ushort_u mf_u;
+ vec_u16_u mf_u;
mf_u.s[0]=mf;
mfv = vec_splat( mf_u.v, 0 );
- vect_int_u qbits_u;
+ vec_u32_u qbits_u;
qbits_u.s[0]=16;
i_qbitsv = vec_splat(qbits_u.v, 0);
- vect_ushort_u bias_u;
+ vec_u16_u bias_u;
bias_u.s[0]=bias;
biasv = vec_splat(bias_u.v, 0);
vec_s16_t temp1v, temp2v;
- vect_int_u qbits_u;
+ vec_u32_u qbits_u;
qbits_u.s[0]=16;
i_qbitsv = vec_splat(qbits_u.v, 0);
if( i_qbits >= 0 )
{
vec_u16_t i_qbitsv;
- vect_ushort_u qbits_u;
+ vec_u16_u qbits_u;
qbits_u.s[0]=i_qbits;
i_qbitsv = vec_splat(qbits_u.v, 0);
const int f = 1 << (-i_qbits-1);
vec_s32_t fv;
- vect_int_u f_u;
+ vec_u32_u f_u;
f_u.s[0]=f;
fv = (vec_s32_t)vec_splat(f_u.v, 0);
vec_u32_t i_qbitsv;
- vect_int_u qbits_u;
+ vec_u32_u qbits_u;
qbits_u.s[0]=-i_qbits;
i_qbitsv = vec_splat(qbits_u.v, 0);
vec_u32_t sixteenv;
- vect_int_u sixteen_u;
+ vec_u32_u sixteen_u;
sixteen_u.s[0]=16;
sixteenv = vec_splat(sixteen_u.v, 0);
if( i_qbits >= 0 )
{
vec_u16_t i_qbitsv;
- vect_ushort_u qbits_u;
+ vec_u16_u qbits_u;
qbits_u.s[0]=i_qbits;
i_qbitsv = vec_splat(qbits_u.v, 0);
const int f = 1 << (-i_qbits-1);
vec_s32_t fv;
- vect_int_u f_u;
+ vec_u32_u f_u;
f_u.s[0]=f;
fv = (vec_s32_t)vec_splat(f_u.v, 0);
vec_u32_t i_qbitsv;
- vect_int_u qbits_u;
+ vec_u32_u qbits_u;
qbits_u.s[0]=-i_qbits;
i_qbitsv = vec_splat(qbits_u.v, 0);
vec_u32_t sixteenv;
- vect_int_u sixteen_u;
+ vec_u32_u sixteen_u;
sixteen_u.s[0]=16;
sixteenv = vec_splat(sixteen_u.v, 0);