diff arm/dsputil_init_armv6.c @ 11110:45de2da90eaf libavcodec

ARMv6 optimised pix_abs16_x2
author mru
date Tue, 09 Feb 2010 16:13:29 +0000
parents 9f00412b0bc8
children 95b1fd6057d3
line wrap: on
line diff
--- a/arm/dsputil_init_armv6.c	Tue Feb 09 16:13:26 2010 +0000
+++ b/arm/dsputil_init_armv6.c	Tue Feb 09 16:13:29 2010 +0000
@@ -52,6 +52,8 @@
 
 int ff_pix_abs16_armv6(void *s, uint8_t *blk1, uint8_t *blk2,
                        int line_size, int h);
+int ff_pix_abs16_x2_armv6(void *s, uint8_t *blk1, uint8_t *blk2,
+                          int line_size, int h);
 
 void av_cold ff_dsputil_init_armv6(DSPContext* c, AVCodecContext *avctx)
 {
@@ -87,6 +89,7 @@
     c->add_pixels_clamped = ff_add_pixels_clamped_armv6;
 
     c->pix_abs[0][0] = ff_pix_abs16_armv6;
+    c->pix_abs[0][1] = ff_pix_abs16_x2_armv6;
 
     c->sad[0] = ff_pix_abs16_armv6;
 }