diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-03-04 22:51:51 -0500 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-03-08 02:09:31 +0100 |
commit | 539244eeb62bc52bc4991a9d0fc4e9b18934f94c (patch) | |
tree | 8450b7499344b72174d9c515bb55d5b58220907c /libavcodec | |
parent | 21527d52f631cd06b16668744fb93955e145f8c9 (diff) | |
download | ffmpeg-539244eeb62bc52bc4991a9d0fc4e9b18934f94c.tar.gz |
cosmetics: rename ff_fmt_convert_init_ppc() to ff_fmt_convert_init_altivec().
It only has Altivec functions and is not compiled if Altivec is disabled.
(cherry picked from commit d21be5f15bec15933cb6360aa0159961d987f449)
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/fmtconvert.c | 2 | ||||
-rw-r--r-- | libavcodec/fmtconvert.h | 2 | ||||
-rw-r--r-- | libavcodec/ppc/fmtconvert_altivec.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/fmtconvert.c b/libavcodec/fmtconvert.c index bf762cc660..e27c1f69f4 100644 --- a/libavcodec/fmtconvert.c +++ b/libavcodec/fmtconvert.c @@ -63,6 +63,6 @@ av_cold void ff_fmt_convert_init(FmtConvertContext *c, AVCodecContext *avctx) c->float_to_int16_interleave = float_to_int16_interleave_c; if (ARCH_ARM) ff_fmt_convert_init_arm(c, avctx); - if (HAVE_ALTIVEC) ff_fmt_convert_init_ppc(c, avctx); + if (HAVE_ALTIVEC) ff_fmt_convert_init_altivec(c, avctx); if (HAVE_MMX) ff_fmt_convert_init_x86(c, avctx); } diff --git a/libavcodec/fmtconvert.h b/libavcodec/fmtconvert.h index f2ee261f99..7416184aae 100644 --- a/libavcodec/fmtconvert.h +++ b/libavcodec/fmtconvert.h @@ -73,7 +73,7 @@ typedef struct FmtConvertContext { void ff_fmt_convert_init(FmtConvertContext *c, AVCodecContext *avctx); void ff_fmt_convert_init_arm(FmtConvertContext *c, AVCodecContext *avctx); -void ff_fmt_convert_init_ppc(FmtConvertContext *c, AVCodecContext *avctx); +void ff_fmt_convert_init_altivec(FmtConvertContext *c, AVCodecContext *avctx); void ff_fmt_convert_init_x86(FmtConvertContext *c, AVCodecContext *avctx); #endif /* AVCODEC_FMTCONVERT_H */ diff --git a/libavcodec/ppc/fmtconvert_altivec.c b/libavcodec/ppc/fmtconvert_altivec.c index e5287c96c1..30de0e637f 100644 --- a/libavcodec/ppc/fmtconvert_altivec.c +++ b/libavcodec/ppc/fmtconvert_altivec.c @@ -132,7 +132,7 @@ float_to_int16_interleave_altivec(int16_t *dst, const float **src, } } -void ff_fmt_convert_init_ppc(FmtConvertContext *c, AVCodecContext *avctx) +void ff_fmt_convert_init_altivec(FmtConvertContext *c, AVCodecContext *avctx) { c->int32_to_float_fmul_scalar = int32_to_float_fmul_scalar_altivec; if(!(avctx->flags & CODEC_FLAG_BITEXACT)) { |