diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2011-08-03 11:25:01 -0700 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-08-17 20:56:06 -0700 |
commit | 3f04ab4fcddaaf166da2d623927a6b8547ab87a6 (patch) | |
tree | 7b7a0b0bcb9b93f84ca8954845313088538afaa9 /libswscale/x86 | |
parent | 38e06c2969184b5b55ec41d0c053b2480ab52846 (diff) | |
download | ffmpeg-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/x86')
-rw-r--r-- | libswscale/x86/swscale_template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/x86/swscale_template.c b/libswscale/x86/swscale_template.c index 0a5f5d5f30..705c62333c 100644 --- a/libswscale/x86/swscale_template.c +++ b/libswscale/x86/swscale_template.c @@ -2318,7 +2318,7 @@ static av_cold void RENAME(sws_init_swScale)(SwsContext *c) if (c->srcBpc == 8 && c->dstBpc <= 10) { #if !COMPILE_TEMPLATE_MMX2 - c->hScale = RENAME(hScale ); + c->hyScale = c->hcScale = RENAME(hScale ); #endif /* !COMPILE_TEMPLATE_MMX2 */ // Use the new MMX scaler if the MMX2 one can't be used (it is faster than the x86 ASM one). |