Mercurial > libavcodec.hg
diff dsputil.h @ 3728:4d346abd723c libavcodec
ADI Blackfin optimizations
patch by Michael Benjamin, neuroptik gmail com
author | diego |
---|---|
date | Sat, 16 Sep 2006 22:26:09 +0000 |
parents | 9d942506b1f2 |
children | 2ec498208c6a |
line wrap: on
line diff
--- a/dsputil.h Sat Sep 16 00:51:49 2006 +0000 +++ b/dsputil.h Sat Sep 16 22:26:09 2006 +0000 @@ -571,6 +571,13 @@ void dsputil_init_sh4(DSPContext* c, AVCodecContext *avctx); +#elif defined(ARCH_BFIN) + +#define DECLARE_ALIGNED_8(t,v) t v __attribute__ ((aligned (8))) +#define STRIDE_ALIGN 8 + +void dsputil_init_bfin(DSPContext* c, AVCodecContext *avctx); + #else #define DECLARE_ALIGNED_8(t,v) t v __attribute__ ((aligned (8)))