diff dsputil.h @ 1972:8a556283601d libavcodec

hook up support for SSE2-optimized VP3 IDCT
author melanson
date Sun, 25 Apr 2004 03:33:30 +0000
parents 55b7435c59b8
children 8c5489b2cf3e
line wrap: on
line diff
--- a/dsputil.h	Sun Apr 25 03:30:19 2004 +0000
+++ b/dsputil.h	Sun Apr 25 03:33:30 2004 +0000
@@ -73,6 +73,12 @@
 void vp3_idct_add_mmx(int16_t *input_data, int16_t *dequant_matrix,
     int coeff_count, uint8_t *dest, int stride);
 
+void vp3_dsp_init_sse2(void);
+void vp3_idct_put_sse2(int16_t *input_data, int16_t *dequant_matrix,
+    int coeff_count, uint8_t *dest, int stride);
+void vp3_idct_add_sse2(int16_t *input_data, int16_t *dequant_matrix,
+    int coeff_count, uint8_t *dest, int stride);
+
 
 /* minimum alignment rules ;)
 if u notice errors in the align stuff, need more alignment for some asm code for some cpu
@@ -403,6 +409,7 @@
 }
 
 #define __align8 __attribute__ ((aligned (8)))
+#define __align16 __attribute__ ((aligned (16)))
 
 void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx);
 void dsputil_init_pix_mmx(DSPContext* c, AVCodecContext *avctx);