aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/hpeldsp.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-04-20 14:29:16 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-04-20 14:31:11 +0200
commitc5a11ab6d1067f8306b318b9fda10b106389cea0 (patch)
treee446d1af6c80b81af25bfe5e919965fd6e1778cf /libavcodec/hpeldsp.c
parentc4010972c4a7bd1f5f38cf8a75faf7a57da10ee9 (diff)
parentbfb41b5039e36b7f873d6ea7d24b31bf3e1a8075 (diff)
downloadffmpeg-c5a11ab6d1067f8306b318b9fda10b106389cea0.tar.gz
Merge commit 'bfb41b5039e36b7f873d6ea7d24b31bf3e1a8075'
* commit 'bfb41b5039e36b7f873d6ea7d24b31bf3e1a8075': bfin: hpeldsp: Move half-pel assembly from dsputil to hpeldsp Conflicts: libavcodec/bfin/Makefile libavcodec/bfin/hpel_pixels_bfin.S libavcodec/bfin/hpeldsp_bfin.c libavcodec/bfin/hpeldsp_bfin.h libavcodec/hpeldsp.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/hpeldsp.c')
-rw-r--r--libavcodec/hpeldsp.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/libavcodec/hpeldsp.c b/libavcodec/hpeldsp.c
index a01b322e87..bff779d827 100644
--- a/libavcodec/hpeldsp.c
+++ b/libavcodec/hpeldsp.c
@@ -54,14 +54,18 @@ av_cold void ff_hpeldsp_init(HpelDSPContext *c, int flags)
hpel_funcs(avg, [3], 2);
hpel_funcs(avg_no_rnd,, 16);
+ if (ARCH_ALPHA)
+ ff_hpeldsp_init_alpha(c, flags);
if (ARCH_ARM)
ff_hpeldsp_init_arm(c, flags);
+ if (ARCH_BFIN)
+ ff_hpeldsp_init_bfin(c, flags);
if (ARCH_PPC)
ff_hpeldsp_init_ppc(c, flags);
+ if (ARCH_SH4)
+ ff_hpeldsp_init_sh4(c, flags);
+ if (HAVE_VIS)
+ ff_hpeldsp_init_vis(c, flags);
if (ARCH_X86)
ff_hpeldsp_init_x86(c, flags);
- if (HAVE_VIS) ff_hpeldsp_init_vis (c, flags);
- if (ARCH_ALPHA) ff_hpeldsp_init_alpha (c, flags);
- if (ARCH_SH4) ff_hpeldsp_init_sh4 (c, flags);
- if (ARCH_BFIN) ff_hpeldsp_init_bfin (c, flags);
}