diff options
author | Måns Rullgård <mans@mansr.com> | 2009-04-04 20:18:58 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2009-04-04 20:18:58 +0000 |
commit | 08e12b2240512ee953175341269c2f54822e7890 (patch) | |
tree | 03ec706b632e9cb752e6ba281186f9ca68e91e55 /libavcodec/arm/dsputil_neon.c | |
parent | 3c00556f4be2694d530cf3de741cdae0f1069678 (diff) | |
download | ffmpeg-08e12b2240512ee953175341269c2f54822e7890.tar.gz |
ARM: NEON optimised add_pixels_clamped
Based on patch by David Conrad.
Originally committed as revision 18332 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/arm/dsputil_neon.c')
-rw-r--r-- | libavcodec/arm/dsputil_neon.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/arm/dsputil_neon.c b/libavcodec/arm/dsputil_neon.c index e18a487fb7..2e563084eb 100644 --- a/libavcodec/arm/dsputil_neon.c +++ b/libavcodec/arm/dsputil_neon.c @@ -41,6 +41,8 @@ void ff_put_pixels8_xy2_no_rnd_neon(uint8_t *, const uint8_t *, int, int); 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 @@ void ff_dsputil_init_neon(DSPContext *c, AVCodecContext *avctx) 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; |