summaryrefslogtreecommitdiff
path: root/libavcodec/dsputil.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-04-23 23:38:54 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-04-23 23:38:54 +0000
commit44f54ceb3084eb8cb5ba96887ecb0041dec9a520 (patch)
tree952a9a3ec75da3e55c49d32efa80e3ab03de252f /libavcodec/dsputil.h
parent1671083f55132a48154b9f898c1cf4308ded17aa (diff)
VIS optimized motion compensation code. by (David S. Miller <davem at redhat dot com>)
ported to ffmpeg by (ja2morri at csclub dot uwaterloo dot ca (james morrison)) useable under LGPL with their agreement Originally committed as revision 3048 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r--libavcodec/dsputil.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h
index 91dbf2d495..d9266581ea 100644
--- a/libavcodec/dsputil.h
+++ b/libavcodec/dsputil.h
@@ -422,6 +422,12 @@ void dsputil_init_armv4l(DSPContext* c, AVCodecContext *avctx);
void dsputil_init_mlib(DSPContext* c, AVCodecContext *avctx);
+#elif defined(ARCH_SPARC)
+
+/* SPARC/VIS IDCT needs 8-byte aligned DCT blocks */
+#define __align8 __attribute__ ((aligned (8)))
+void dsputil_init_vis(DSPContext* c, AVCodecContext *avctx);
+
#elif defined(ARCH_ALPHA)
#define __align8 __attribute__ ((aligned (8)))