diff arm/dsputil_init_armv6.c @ 11115:3fba8a5c6288 libavcodec

ARMv6 optimised sse16
author mru
date Tue, 09 Feb 2010 16:13:45 +0000
parents 852772c36cc6
children 0198e3582544
line wrap: on
line diff
--- a/arm/dsputil_init_armv6.c	Tue Feb 09 16:13:41 2010 +0000
+++ b/arm/dsputil_init_armv6.c	Tue Feb 09 16:13:45 2010 +0000
@@ -64,6 +64,9 @@
 int ff_pix_abs8_armv6(void *s, uint8_t *blk1, uint8_t *blk2,
                        int line_size, int h);
 
+int ff_sse16_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)
 {
     if (!avctx->lowres && (avctx->idct_algo == FF_IDCT_AUTO ||
@@ -107,4 +110,6 @@
 
     c->sad[0] = ff_pix_abs16_armv6;
     c->sad[1] = ff_pix_abs8_armv6;
+
+    c->sse[0] = ff_sse16_armv6;
 }