diff options
author | Måns Rullgård <mans@mansr.com> | 2010-02-09 19:13:29 +0300 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-02-09 19:13:29 +0300 |
commit | 39a760f6789fd0a6a5aad1c96a7b2c125e9f52d3 (patch) | |
tree | 65820484fda876174575b9b7fb9d567d364c0937 /libavcodec/arm/dsputil_init_armv6.c | |
parent | e6056a9008f02382eb593169603e7298e64b84f7 (diff) |
ARMv6 optimised pix_abs16_x2
Originally committed as revision 21698 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/arm/dsputil_init_armv6.c')
-rw-r--r-- | libavcodec/arm/dsputil_init_armv6.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/arm/dsputil_init_armv6.c b/libavcodec/arm/dsputil_init_armv6.c index cc5d7df497..78367150d1 100644 --- a/libavcodec/arm/dsputil_init_armv6.c +++ b/libavcodec/arm/dsputil_init_armv6.c @@ -52,6 +52,8 @@ void ff_add_pixels_clamped_armv6(const DCTELEM *block, 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 @@ void av_cold ff_dsputil_init_armv6(DSPContext* c, AVCodecContext *avctx) 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; } |