19 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
* |
* |
22 |
* $Id: sad.h,v 1.20 2004-04-05 20:36:36 edgomez Exp $ |
* $Id: sad.h,v 1.21 2004-04-12 15:49:56 edgomez Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
151 |
dev16Func dev16_altivec_c; |
dev16Func dev16_altivec_c; |
152 |
#endif |
#endif |
153 |
|
|
154 |
|
/* This function assumes blocks use 16bit signed elements */ |
155 |
typedef uint32_t (sse8Func_16bit)(const int16_t * cur, |
typedef uint32_t (sse8Func_16bit)(const int16_t * cur, |
156 |
const int16_t * ref, |
const int16_t * ref, |
157 |
const uint32_t stride); |
const uint32_t stride); |
167 |
sse8Func_16bit sse8_16bit_altivec_c; |
sse8Func_16bit sse8_16bit_altivec_c; |
168 |
#endif |
#endif |
169 |
|
|
170 |
|
/* This function assumes blocks use 8bit *un*signed elements */ |
171 |
|
typedef uint32_t (sse8Func_8bit)(const uint8_t * cur, |
172 |
|
const uint8_t * ref, |
173 |
|
const uint32_t stride); |
174 |
|
typedef sse8Func_8bit *sse8Func_8bitPtr; |
175 |
|
extern sse8Func_8bitPtr sse8_8bit; |
176 |
|
|
177 |
|
sse8Func_8bit sse8_8bit_c; |
178 |
|
#ifdef ARCH_IS_IA32 |
179 |
|
sse8Func_8bit sse8_8bit_mmx; |
180 |
|
#endif |
181 |
|
|
182 |
#endif /* _ENCODER_SAD_H_ */ |
#endif /* _ENCODER_SAD_H_ */ |