Mercurial > libavcodec.hg
diff arm/dsputil_neon.c @ 9344:9ea1ea6db616 libavcodec
ARM: NEON optimised add_pixels_clamped
Based on patch by David Conrad.
author | mru |
---|---|
date | Sat, 04 Apr 2009 20:18:58 +0000 |
parents | 24a7b5d0eb27 |
children | e0a7a6338526 |
line wrap: on
line diff
--- a/arm/dsputil_neon.c Sat Apr 04 16:27:54 2009 +0000 +++ b/arm/dsputil_neon.c Sat Apr 04 20:18:58 2009 +0000 @@ -41,6 +41,8 @@ void ff_avg_pixels16_neon(uint8_t *, const uint8_t *, int, int); +void ff_add_pixels_clamped_neon(const DCTELEM *, uint8_t *, int); + void ff_put_h264_qpel16_mc00_neon(uint8_t *, uint8_t *, int); void ff_put_h264_qpel16_mc10_neon(uint8_t *, uint8_t *, int); void ff_put_h264_qpel16_mc20_neon(uint8_t *, uint8_t *, int); @@ -176,6 +178,8 @@ c->avg_pixels_tab[0][0] = ff_avg_pixels16_neon; + c->add_pixels_clamped = ff_add_pixels_clamped_neon; + c->put_h264_chroma_pixels_tab[0] = ff_put_h264_chroma_mc8_neon; c->put_h264_chroma_pixels_tab[1] = ff_put_h264_chroma_mc4_neon;