Revision 2722c981 libavcodec/ppc/h264_altivec.c

View differences:

libavcodec/ppc/h264_altivec.c
868 868

  
869 869
void dsputil_h264_init_ppc(DSPContext* c, AVCodecContext *avctx) {
870 870

  
871
#ifdef HAVE_ALTIVEC
872 871
  if (has_altivec()) {
873 872
    c->put_h264_chroma_pixels_tab[0] = put_h264_chroma_mc8_altivec;
874 873
    c->put_no_rnd_h264_chroma_pixels_tab[0] = put_no_rnd_h264_chroma_mc8_altivec;
......
899 898
    dspfunc(put_h264_qpel, 0, 16);
900 899
    dspfunc(avg_h264_qpel, 0, 16);
901 900
#undef dspfunc
902

  
903
  } else
904
#endif /* HAVE_ALTIVEC */
905
  {
906
    // Non-AltiVec PPC optimisations
907

  
908
    // ... pending ...
909 901
  }
910 902
}

Also available in: Unified diff