changeset 10373:9a46f75a47ee libavcodec

ARM: enable ARMv4 add_pixels_clamped Somehow this function was never used.
author mru
date Tue, 06 Oct 2009 21:55:37 +0000
parents e55d957ef1a2
children a6ff6fb10ff5
files arm/dsputil_init_arm.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/arm/dsputil_init_arm.c	Tue Oct 06 21:55:35 2009 +0000
+++ b/arm/dsputil_init_arm.c	Tue Oct 06 21:55:37 2009 +0000
@@ -47,8 +47,8 @@
 CALL_2X_PIXELS(ff_put_no_rnd_pixels16_y2_arm,  ff_put_no_rnd_pixels8_y2_arm, 8)
 CALL_2X_PIXELS(ff_put_no_rnd_pixels16_xy2_arm, ff_put_no_rnd_pixels8_xy2_arm,8)
 
-void ff_add_pixels_clamped_ARM(short *block, unsigned char *dest,
-                                      int line_size);
+void ff_add_pixels_clamped_ARM(const DCTELEM *block, uint8_t *dest,
+                               int line_size);
 
 /* XXX: those functions should be suppressed ASAP when all IDCTs are
    converted */
@@ -98,6 +98,8 @@
         }
     }
 
+    c->add_pixels_clamped = ff_add_pixels_clamped_ARM;
+
     c->put_pixels_tab[0][0] = ff_put_pixels16_arm;
     c->put_pixels_tab[0][1] = ff_put_pixels16_x2_arm;
     c->put_pixels_tab[0][2] = ff_put_pixels16_y2_arm;