Mercurial > libavcodec.hg
diff dsputil.h @ 1959:55b7435c59b8 libavcodec
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
author | michael |
---|---|
date | Fri, 23 Apr 2004 23:38:54 +0000 |
parents | dd63cb7e5080 |
children | 8a556283601d |
line wrap: on
line diff
--- a/dsputil.h Fri Apr 23 21:17:31 2004 +0000 +++ b/dsputil.h Fri Apr 23 23:38:54 2004 +0000 @@ -422,6 +422,12 @@ 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)))