Mercurial > libavcodec.hg
comparison sparc/dsputil_vis.c @ 5963:80103098c797 libavcodec
spelling
author | vitor |
---|---|
date | Sat, 01 Dec 2007 22:21:04 +0000 |
parents | a73ecbffc421 |
children | 15ed47af1838 |
comparison
equal
deleted
inserted
replaced
5962:a6c9aa23d379 | 5963:80103098c797 |
---|---|
3997 } | 3997 } |
3998 | 3998 |
3999 /* libavcodec initialization code */ | 3999 /* libavcodec initialization code */ |
4000 void dsputil_init_vis(DSPContext* c, AVCodecContext *avctx) | 4000 void dsputil_init_vis(DSPContext* c, AVCodecContext *avctx) |
4001 { | 4001 { |
4002 /* VIS specific optimisations */ | 4002 /* VIS specific optimizations */ |
4003 int accel = vis_level (); | 4003 int accel = vis_level (); |
4004 | 4004 |
4005 if (accel & ACCEL_SPARC_VIS) { | 4005 if (accel & ACCEL_SPARC_VIS) { |
4006 if(avctx->idct_algo==FF_IDCT_SIMPLEVIS){ | 4006 if(avctx->idct_algo==FF_IDCT_SIMPLEVIS){ |
4007 c->idct_put = ff_simple_idct_put_vis; | 4007 c->idct_put = ff_simple_idct_put_vis; |