Mercurial > libavcodec.hg
comparison sh4/dsputil_sh4.c @ 2967:ef2149182f1c libavcodec
COSMETICS: Remove all trailing whitespace.
author | diego |
---|---|
date | Sat, 17 Dec 2005 18:14:38 +0000 |
parents | 7d328fd9d8a5 |
children | bfabfdf9ce55 |
comparison
equal
deleted
inserted
replaced
2966:564788471dd4 | 2967:ef2149182f1c |
---|---|
57 #endif | 57 #endif |
58 } | 58 } |
59 | 59 |
60 static void clear_blocks_sh4(DCTELEM *blocks) | 60 static void clear_blocks_sh4(DCTELEM *blocks) |
61 { | 61 { |
62 // if (((int)blocks&7)==0) | 62 // if (((int)blocks&7)==0) |
63 memzero_align8(blocks,sizeof(DCTELEM)*6*64); | 63 memzero_align8(blocks,sizeof(DCTELEM)*6*64); |
64 } | 64 } |
65 | 65 |
66 extern void idct_sh4(DCTELEM *block); | 66 extern void idct_sh4(DCTELEM *block); |
67 static void idct_put(uint8_t *dest, int line_size, DCTELEM *block) | 67 static void idct_put(uint8_t *dest, int line_size, DCTELEM *block) |
107 { | 107 { |
108 const int idct_algo= avctx->idct_algo; | 108 const int idct_algo= avctx->idct_algo; |
109 dsputil_init_align(c,avctx); | 109 dsputil_init_align(c,avctx); |
110 | 110 |
111 c->clear_blocks = clear_blocks_sh4; | 111 c->clear_blocks = clear_blocks_sh4; |
112 if(idct_algo==FF_IDCT_AUTO || idct_algo==FF_IDCT_SH4){ | 112 if(idct_algo==FF_IDCT_AUTO || idct_algo==FF_IDCT_SH4){ |
113 c->idct_put = idct_put; | 113 c->idct_put = idct_put; |
114 c->idct_add = idct_add; | 114 c->idct_add = idct_add; |
115 c->idct = idct_sh4; | 115 c->idct = idct_sh4; |
116 c->idct_permutation_type= FF_NO_IDCT_PERM; //FF_SIMPLE_IDCT_PERM; //FF_LIBMPEG2_IDCT_PERM; | 116 c->idct_permutation_type= FF_NO_IDCT_PERM; //FF_SIMPLE_IDCT_PERM; //FF_LIBMPEG2_IDCT_PERM; |
117 } | 117 } |