aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/ppc
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2011-08-03 11:25:01 -0700
committerRonald S. Bultje <rsbultje@gmail.com>2011-08-17 20:56:06 -0700
commit3f04ab4fcddaaf166da2d623927a6b8547ab87a6 (patch)
tree7b7a0b0bcb9b93f84ca8954845313088538afaa9 /libswscale/ppc
parent38e06c2969184b5b55ec41d0c053b2480ab52846 (diff)
downloadffmpeg-3f04ab4fcddaaf166da2d623927a6b8547ab87a6.tar.gz
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.
Diffstat (limited to 'libswscale/ppc')
-rw-r--r--libswscale/ppc/swscale_altivec.c2
1 files changed, 1 insertions, 1 deletions
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 &&