comparison dsputil.h @ 995:edc10966b081 libavcodec

altivec jumbo patch by (Romain Dolbeau <dolbeaur at club-internet dot fr>)
author michaelni
date Sat, 11 Jan 2003 20:51:03 +0000
parents e162c09efbe7
children b2cf2a1d9a51
comparison
equal deleted inserted replaced
994:7701ff462e3a 995:edc10966b081
156 */ 156 */
157 void ff_block_permute(INT16 *block, UINT8 *permutation, const UINT8 *scantable, int last); 157 void ff_block_permute(INT16 *block, UINT8 *permutation, const UINT8 *scantable, int last);
158 158
159 #define emms_c() 159 #define emms_c()
160 160
161 /* should be defined by architectures supporting
162 one or more MultiMedia extension */
163 int mm_support(void);
164
161 #if defined(HAVE_MMX) 165 #if defined(HAVE_MMX)
162 166
163 #undef emms_c 167 #undef emms_c
164 168
165 #define MM_MMX 0x0001 /* standard MMX */ 169 #define MM_MMX 0x0001 /* standard MMX */
168 #define MM_SSE 0x0008 /* SSE functions */ 172 #define MM_SSE 0x0008 /* SSE functions */
169 #define MM_SSE2 0x0010 /* PIV SSE2 functions */ 173 #define MM_SSE2 0x0010 /* PIV SSE2 functions */
170 174
171 extern int mm_flags; 175 extern int mm_flags;
172 176
173 int mm_support(void);
174 void add_pixels_clamped_mmx(const DCTELEM *block, UINT8 *pixels, int line_size); 177 void add_pixels_clamped_mmx(const DCTELEM *block, UINT8 *pixels, int line_size);
175 void put_pixels_clamped_mmx(const DCTELEM *block, UINT8 *pixels, int line_size); 178 void put_pixels_clamped_mmx(const DCTELEM *block, UINT8 *pixels, int line_size);
176 179
177 static inline void emms(void) 180 static inline void emms(void)
178 { 181 {