diff options
author | Michael Benjamin <neuroptik@gmail.com> | 2006-09-16 22:26:09 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-09-16 22:26:09 +0000 |
commit | 5ca030fed4d3b315f182d8e6b6b6cf91a6a5dec2 (patch) | |
tree | 96e3e15137170b84487dabbd31aa678b962e688a /libavcodec/dsputil.h | |
parent | cab3ef828a9a5952bcf2f254bd0c59bfc35ae2fc (diff) | |
download | ffmpeg-streaming-5ca030fed4d3b315f182d8e6b6b6cf91a6a5dec2.zip ffmpeg-streaming-5ca030fed4d3b315f182d8e6b6b6cf91a6a5dec2.tar.gz |
ADI Blackfin optimizations
patch by Michael Benjamin, neuroptik gmail com
Originally committed as revision 6282 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r-- | libavcodec/dsputil.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index eea7e94..3df2f37 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -571,6 +571,13 @@ void dsputil_init_mmi(DSPContext* c, AVCodecContext *avctx); 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))) |