comparison 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
comparison
equal deleted inserted replaced
8335:f19fe0cade86 8336:c8401acb05d1
44 void ff_put_h264_qpel16_mc00_neon(uint8_t *, uint8_t *, int); 44 void ff_put_h264_qpel16_mc00_neon(uint8_t *, uint8_t *, int);
45 void ff_put_h264_qpel8_mc00_neon(uint8_t *, uint8_t *, int); 45 void ff_put_h264_qpel8_mc00_neon(uint8_t *, uint8_t *, int);
46 46
47 void ff_avg_h264_qpel16_mc00_neon(uint8_t *, uint8_t *, int); 47 void ff_avg_h264_qpel16_mc00_neon(uint8_t *, uint8_t *, int);
48 48
49 void ff_put_h264_chroma_mc8_neon(uint8_t *, uint8_t *, int, int, int, int);
50 void ff_put_h264_chroma_mc4_neon(uint8_t *, uint8_t *, int, int, int, int);
51
52 void ff_avg_h264_chroma_mc8_neon(uint8_t *, uint8_t *, int, int, int, int);
53 void ff_avg_h264_chroma_mc4_neon(uint8_t *, uint8_t *, int, int, int, int);
54
49 void ff_dsputil_init_neon(DSPContext *c, AVCodecContext *avctx) 55 void ff_dsputil_init_neon(DSPContext *c, AVCodecContext *avctx)
50 { 56 {
51 c->put_pixels_tab[0][0] = ff_put_pixels16_neon; 57 c->put_pixels_tab[0][0] = ff_put_pixels16_neon;
52 c->put_pixels_tab[0][1] = ff_put_pixels16_x2_neon; 58 c->put_pixels_tab[0][1] = ff_put_pixels16_x2_neon;
53 c->put_pixels_tab[0][2] = ff_put_pixels16_y2_neon; 59 c->put_pixels_tab[0][2] = ff_put_pixels16_y2_neon;
66 c->put_no_rnd_pixels_tab[1][2] = ff_put_pixels8_y2_no_rnd_neon; 72 c->put_no_rnd_pixels_tab[1][2] = ff_put_pixels8_y2_no_rnd_neon;
67 c->put_no_rnd_pixels_tab[1][3] = ff_put_pixels8_xy2_no_rnd_neon; 73 c->put_no_rnd_pixels_tab[1][3] = ff_put_pixels8_xy2_no_rnd_neon;
68 74
69 c->avg_pixels_tab[0][0] = ff_avg_pixels16_neon; 75 c->avg_pixels_tab[0][0] = ff_avg_pixels16_neon;
70 76
77 c->put_h264_chroma_pixels_tab[0] = ff_put_h264_chroma_mc8_neon;
78 c->put_h264_chroma_pixels_tab[1] = ff_put_h264_chroma_mc4_neon;
79
80 c->avg_h264_chroma_pixels_tab[0] = ff_avg_h264_chroma_mc8_neon;
81 c->avg_h264_chroma_pixels_tab[1] = ff_avg_h264_chroma_mc4_neon;
82
71 c->put_h264_qpel_pixels_tab[0][0] = ff_put_h264_qpel16_mc00_neon; 83 c->put_h264_qpel_pixels_tab[0][0] = ff_put_h264_qpel16_mc00_neon;
72 c->put_h264_qpel_pixels_tab[1][0] = ff_put_h264_qpel8_mc00_neon; 84 c->put_h264_qpel_pixels_tab[1][0] = ff_put_h264_qpel8_mc00_neon;
73 85
74 c->avg_h264_qpel_pixels_tab[0][ 0] = ff_avg_h264_qpel16_mc00_neon; 86 c->avg_h264_qpel_pixels_tab[0][ 0] = ff_avg_h264_qpel16_mc00_neon;
75 } 87 }