aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ppc/dsputil_snow_altivec.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2006-08-03 16:19:13 +0000
committerLuca Barbato <lu_zero@gentoo.org>2006-08-03 16:19:13 +0000
commit7f624e80ef396c83d2e5a20a54b33552746ecebc (patch)
treeba68a40a40476444dba35d4b7d6ba76576bdadc0 /libavcodec/ppc/dsputil_snow_altivec.c
parent73e4ff9de9d19d1d71a25d8096974c8bc5db9a80 (diff)
downloadffmpeg-7f624e80ef396c83d2e5a20a54b33552746ecebc.tar.gz
standalone snow dsputil init
Originally committed as revision 5919 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc/dsputil_snow_altivec.c')
-rw-r--r--libavcodec/ppc/dsputil_snow_altivec.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/ppc/dsputil_snow_altivec.c b/libavcodec/ppc/dsputil_snow_altivec.c
index 8c39cda273..27066de3c3 100644
--- a/libavcodec/ppc/dsputil_snow_altivec.c
+++ b/libavcodec/ppc/dsputil_snow_altivec.c
@@ -776,3 +776,11 @@ void ff_snow_inner_add_yblock_altivec(uint8_t *obmc, const int obmc_stride,
src_y, src_stride, sb, add, dst8);
}
}
+
+
+void snow_init_altivec(DSPContext* c, AVCodecContext *avctx)
+{
+ c->horizontal_compose97i = ff_snow_horizontal_compose97i_altivec;
+ c->vertical_compose97i = ff_snow_vertical_compose97i_altivec;
+ c->inner_add_yblock = ff_snow_inner_add_yblock_altivec;
+}