summaryrefslogtreecommitdiff
path: root/libswscale/utils.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-10-11 01:06:04 +0200
committerDiego Biurrun <diego@biurrun.de>2013-08-29 10:23:41 +0200
commitc2503d9c8ab42ea55922e9f5a10c8bfbbbfeaf19 (patch)
tree9ee2bc7b2c538a06cc613b0e5f18bc490179461f /libswscale/utils.c
parent6af2c351b3ae61e4478950ffddd0dfcad06188b8 (diff)
downloadffmpeg-c2503d9c8ab42ea55922e9f5a10c8bfbbbfeaf19.tar.gz
swscale: ppc: Hide arch-specific initialization details
Also give consistent names to init functions.
Diffstat (limited to 'libswscale/utils.c')
-rw-r--r--libswscale/utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c
index c47678cdd2..740cdc0b9b 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -806,9 +806,9 @@ int sws_setColorspaceDetails(struct SwsContext *c, const int inv_table[4],
contrast, saturation);
// FIXME factorize
- if (PPC_ALTIVEC(av_get_cpu_flags()))
- ff_yuv2rgb_init_tables_altivec(c, inv_table, brightness,
- contrast, saturation);
+ if (ARCH_PPC)
+ ff_yuv2rgb_init_tables_ppc(c, inv_table, brightness,
+ contrast, saturation);
return 0;
}