Mercurial > libavcodec.hg
comparison dct-test.c @ 7125:65e7e714c770 libavcodec
Mark constant structure member as const to avoid some warnings.
patch by Laurent Desnogues, laurent.desnogues gmail com
author | diego |
---|---|
date | Tue, 24 Jun 2008 09:10:30 +0000 |
parents | e0a87be356e3 |
children | 601509a430f7 |
comparison
equal
deleted
inserted
replaced
7124:ee76d7ee5fcd | 7125:65e7e714c770 |
---|---|
66 extern void fdct_altivec (DCTELEM *block); | 66 extern void fdct_altivec (DCTELEM *block); |
67 //extern void idct_altivec (DCTELEM *block);?? no routine | 67 //extern void idct_altivec (DCTELEM *block);?? no routine |
68 | 68 |
69 | 69 |
70 struct algo { | 70 struct algo { |
71 char *name; | 71 const char *name; |
72 enum { FDCT, IDCT } is_idct; | 72 enum { FDCT, IDCT } is_idct; |
73 void (* func) (DCTELEM *block); | 73 void (* func) (DCTELEM *block); |
74 void (* ref) (DCTELEM *block); | 74 void (* ref) (DCTELEM *block); |
75 enum formattag { NO_PERM,MMX_PERM, MMX_SIMPLE_PERM, SCALE_PERM, SSE2_PERM } format; | 75 enum formattag { NO_PERM,MMX_PERM, MMX_SIMPLE_PERM, SCALE_PERM, SSE2_PERM } format; |
76 int mm_support; | 76 int mm_support; |