Mercurial > libavcodec.hg
comparison ppc/mpegvideo_altivec.c @ 5761:72b59f7613af libavcodec
Rename MPV_common_init_ppc to MPV_common_init_altivec, the function is
AltiVec-specific now.
author | diego |
---|---|
date | Wed, 03 Oct 2007 14:01:42 +0000 |
parents | 3260fa3c89eb |
children | 80103098c797 |
comparison
equal
deleted
inserted
replaced
5760:e8145dd711b5 | 5761:72b59f7613af |
---|---|
604 | 604 |
605 | 605 |
606 extern void idct_put_altivec(uint8_t *dest, int line_size, int16_t *block); | 606 extern void idct_put_altivec(uint8_t *dest, int line_size, int16_t *block); |
607 extern void idct_add_altivec(uint8_t *dest, int line_size, int16_t *block); | 607 extern void idct_add_altivec(uint8_t *dest, int line_size, int16_t *block); |
608 | 608 |
609 void MPV_common_init_ppc(MpegEncContext *s) | 609 void MPV_common_init_altivec(MpegEncContext *s) |
610 { | 610 { |
611 if (s->avctx->lowres==0) | 611 if (s->avctx->lowres==0) |
612 { | 612 { |
613 if ((s->avctx->idct_algo == FF_IDCT_AUTO) || | 613 if ((s->avctx->idct_algo == FF_IDCT_AUTO) || |
614 (s->avctx->idct_algo == FF_IDCT_ALTIVEC)) | 614 (s->avctx->idct_algo == FF_IDCT_ALTIVEC)) |