From 3f04ab4fcddaaf166da2d623927a6b8547ab87a6 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Wed, 3 Aug 2011 11:25:01 -0700 Subject: swscale: split hScale() function pointer into h[cy]Scale(). This allows using more specific implementations for chroma/luma, e.g. we can make assumptions on filterSize being constant, thus avoiding that test at runtime. --- libswscale/ppc/swscale_altivec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libswscale/ppc') diff --git a/libswscale/ppc/swscale_altivec.c b/libswscale/ppc/swscale_altivec.c index 7fdca39acb..67db2de687 100644 --- a/libswscale/ppc/swscale_altivec.c +++ b/libswscale/ppc/swscale_altivec.c @@ -400,7 +400,7 @@ void ff_sws_init_swScale_altivec(SwsContext *c) return; if (c->srcBpc == 8 && c->dstBpc <= 10) { - c->hScale = hScale_altivec_real; + c->hyScale = c->hcScale = hScale_altivec_real; } if (!is16BPS(dstFormat) && !is9_OR_10BPS(dstFormat) && dstFormat != PIX_FMT_NV12 && dstFormat != PIX_FMT_NV21 && -- cgit v1.2.3