Mercurial > libavcodec.hg
diff armv4l/dsputil_neon.c @ 8336:c8401acb05d1 libavcodec
ARM: NEON optimised {put,avg}_h264_chroma_mc[48]
| author | mru |
|---|---|
| date | Mon, 15 Dec 2008 22:12:41 +0000 |
| parents | 6bdd6dfc3574 |
| children | d43b7f4c5c1c |
line wrap: on
line diff
--- a/armv4l/dsputil_neon.c Mon Dec 15 22:12:37 2008 +0000 +++ b/armv4l/dsputil_neon.c Mon Dec 15 22:12:41 2008 +0000 @@ -46,6 +46,12 @@ void ff_avg_h264_qpel16_mc00_neon(uint8_t *, uint8_t *, int); +void ff_put_h264_chroma_mc8_neon(uint8_t *, uint8_t *, int, int, int, int); +void ff_put_h264_chroma_mc4_neon(uint8_t *, uint8_t *, int, int, int, int); + +void ff_avg_h264_chroma_mc8_neon(uint8_t *, uint8_t *, int, int, int, int); +void ff_avg_h264_chroma_mc4_neon(uint8_t *, uint8_t *, int, int, int, int); + void ff_dsputil_init_neon(DSPContext *c, AVCodecContext *avctx) { c->put_pixels_tab[0][0] = ff_put_pixels16_neon; @@ -68,6 +74,12 @@ c->avg_pixels_tab[0][0] = ff_avg_pixels16_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; + + c->avg_h264_chroma_pixels_tab[0] = ff_avg_h264_chroma_mc8_neon; + c->avg_h264_chroma_pixels_tab[1] = ff_avg_h264_chroma_mc4_neon; + c->put_h264_qpel_pixels_tab[0][0] = ff_put_h264_qpel16_mc00_neon; c->put_h264_qpel_pixels_tab[1][0] = ff_put_h264_qpel8_mc00_neon;
