Revision 80a61f08 libavcodec/ppc/h264_template_altivec.c

View differences:

libavcodec/ppc/h264_template_altivec.c
102 102
  POWERPC_PERF_START_COUNT(PREFIX_h264_chroma_mc8_num, 1);
103 103

  
104 104
    if (((unsigned long)dst) % 16 == 0) {
105
        fperm = (vec_u8_t)AVV(0x10, 0x11, 0x12, 0x13,
105
        fperm = (vec_u8_t){0x10, 0x11, 0x12, 0x13,
106 106
                              0x14, 0x15, 0x16, 0x17,
107 107
                              0x08, 0x09, 0x0A, 0x0B,
108
                              0x0C, 0x0D, 0x0E, 0x0F);
108
                           0x0C, 0x0D, 0x0E, 0x0F};
109 109
    } else {
110
        fperm = (vec_u8_t)AVV(0x00, 0x01, 0x02, 0x03,
110
        fperm = (vec_u8_t){0x00, 0x01, 0x02, 0x03,
111 111
                              0x04, 0x05, 0x06, 0x07,
112 112
                              0x18, 0x19, 0x1A, 0x1B,
113
                              0x1C, 0x1D, 0x1E, 0x1F);
113
                           0x1C, 0x1D, 0x1E, 0x1F};
114 114
    }
115 115

  
116 116
    vsrcAuc = vec_ld(0, src);
......
485 485
              pp1A, pp1B, pp2A, pp2B, psumA, psumB;
486 486

  
487 487
    const vec_u8_t mperm = (const vec_u8_t)
488
      AVV(0x00, 0x08, 0x01, 0x09, 0x02, 0x0A, 0x03, 0x0B,
489
          0x04, 0x0C, 0x05, 0x0D, 0x06, 0x0E, 0x07, 0x0F);
488
        {0x00, 0x08, 0x01, 0x09, 0x02, 0x0A, 0x03, 0x0B,
489
         0x04, 0x0C, 0x05, 0x0D, 0x06, 0x0E, 0x07, 0x0F};
490 490
    int16_t *tmpbis = tmp;
491 491

  
492 492
    vec_s16_t tmpM1ssA, tmpM1ssB, tmpM2ssA, tmpM2ssB,

Also available in: Unified diff