diff dsputil.c @ 3248:7aa9f80e7954 libavcodec

mmx implementation of 3-point GMC. (5x faster than C)
author lorenm
date Tue, 04 Apr 2006 09:23:45 +0000
parents c2c29be6282e
children 87c54a3f8d19
line wrap: on
line diff
--- a/dsputil.c	Mon Apr 03 07:52:24 2006 +0000
+++ b/dsputil.c	Tue Apr 04 09:23:45 2006 +0000
@@ -1144,7 +1144,7 @@
     }
 }
 
-static void gmc_c(uint8_t *dst, uint8_t *src, int stride, int h, int ox, int oy,
+void ff_gmc_c(uint8_t *dst, uint8_t *src, int stride, int h, int ox, int oy,
                   int dxx, int dxy, int dyx, int dyy, int shift, int r, int width, int height)
 {
     int y, vx, vy;
@@ -3865,7 +3865,7 @@
     c->add_pixels8 = add_pixels8_c;
     c->add_pixels4 = add_pixels4_c;
     c->gmc1 = gmc1_c;
-    c->gmc = gmc_c;
+    c->gmc = ff_gmc_c;
     c->clear_blocks = clear_blocks_c;
     c->pix_sum = pix_sum_c;
     c->pix_norm1 = pix_norm1_c;