comparison armv4l/dsputil_neon.c @ 8338:b294a0d5bc50 libavcodec

ARM: NEON optimised H.264 8x8 and 16x16 qpel MC
author mru
date Mon, 15 Dec 2008 22:12:47 +0000
parents d43b7f4c5c1c
children a561ec6d1bf6
comparison
equal deleted inserted replaced
8337:d43b7f4c5c1c 8338:b294a0d5bc50
40 void ff_put_pixels8_xy2_no_rnd_neon(uint8_t *, const uint8_t *, int, int); 40 void ff_put_pixels8_xy2_no_rnd_neon(uint8_t *, const uint8_t *, int, int);
41 41
42 void ff_avg_pixels16_neon(uint8_t *, const uint8_t *, int, int); 42 void ff_avg_pixels16_neon(uint8_t *, const uint8_t *, int, int);
43 43
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_qpel16_mc10_neon(uint8_t *, uint8_t *, int);
46 void ff_put_h264_qpel16_mc20_neon(uint8_t *, uint8_t *, int);
47 void ff_put_h264_qpel16_mc30_neon(uint8_t *, uint8_t *, int);
48 void ff_put_h264_qpel16_mc01_neon(uint8_t *, uint8_t *, int);
49 void ff_put_h264_qpel16_mc11_neon(uint8_t *, uint8_t *, int);
50 void ff_put_h264_qpel16_mc21_neon(uint8_t *, uint8_t *, int);
51 void ff_put_h264_qpel16_mc31_neon(uint8_t *, uint8_t *, int);
52 void ff_put_h264_qpel16_mc02_neon(uint8_t *, uint8_t *, int);
53 void ff_put_h264_qpel16_mc12_neon(uint8_t *, uint8_t *, int);
54 void ff_put_h264_qpel16_mc22_neon(uint8_t *, uint8_t *, int);
55 void ff_put_h264_qpel16_mc32_neon(uint8_t *, uint8_t *, int);
56 void ff_put_h264_qpel16_mc03_neon(uint8_t *, uint8_t *, int);
57 void ff_put_h264_qpel16_mc13_neon(uint8_t *, uint8_t *, int);
58 void ff_put_h264_qpel16_mc23_neon(uint8_t *, uint8_t *, int);
59 void ff_put_h264_qpel16_mc33_neon(uint8_t *, uint8_t *, int);
60
45 void ff_put_h264_qpel8_mc00_neon(uint8_t *, uint8_t *, int); 61 void ff_put_h264_qpel8_mc00_neon(uint8_t *, uint8_t *, int);
62 void ff_put_h264_qpel8_mc10_neon(uint8_t *, uint8_t *, int);
63 void ff_put_h264_qpel8_mc20_neon(uint8_t *, uint8_t *, int);
64 void ff_put_h264_qpel8_mc30_neon(uint8_t *, uint8_t *, int);
65 void ff_put_h264_qpel8_mc01_neon(uint8_t *, uint8_t *, int);
66 void ff_put_h264_qpel8_mc11_neon(uint8_t *, uint8_t *, int);
67 void ff_put_h264_qpel8_mc21_neon(uint8_t *, uint8_t *, int);
68 void ff_put_h264_qpel8_mc31_neon(uint8_t *, uint8_t *, int);
69 void ff_put_h264_qpel8_mc02_neon(uint8_t *, uint8_t *, int);
70 void ff_put_h264_qpel8_mc12_neon(uint8_t *, uint8_t *, int);
71 void ff_put_h264_qpel8_mc22_neon(uint8_t *, uint8_t *, int);
72 void ff_put_h264_qpel8_mc32_neon(uint8_t *, uint8_t *, int);
73 void ff_put_h264_qpel8_mc03_neon(uint8_t *, uint8_t *, int);
74 void ff_put_h264_qpel8_mc13_neon(uint8_t *, uint8_t *, int);
75 void ff_put_h264_qpel8_mc23_neon(uint8_t *, uint8_t *, int);
76 void ff_put_h264_qpel8_mc33_neon(uint8_t *, uint8_t *, int);
46 77
47 void ff_avg_h264_qpel16_mc00_neon(uint8_t *, uint8_t *, int); 78 void ff_avg_h264_qpel16_mc00_neon(uint8_t *, uint8_t *, int);
48 79
49 void ff_put_h264_chroma_mc8_neon(uint8_t *, uint8_t *, int, int, int, int); 80 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); 81 void ff_put_h264_chroma_mc4_neon(uint8_t *, uint8_t *, int, int, int, int);
87 c->put_h264_chroma_pixels_tab[1] = ff_put_h264_chroma_mc4_neon; 118 c->put_h264_chroma_pixels_tab[1] = ff_put_h264_chroma_mc4_neon;
88 119
89 c->avg_h264_chroma_pixels_tab[0] = ff_avg_h264_chroma_mc8_neon; 120 c->avg_h264_chroma_pixels_tab[0] = ff_avg_h264_chroma_mc8_neon;
90 c->avg_h264_chroma_pixels_tab[1] = ff_avg_h264_chroma_mc4_neon; 121 c->avg_h264_chroma_pixels_tab[1] = ff_avg_h264_chroma_mc4_neon;
91 122
92 c->put_h264_qpel_pixels_tab[0][0] = ff_put_h264_qpel16_mc00_neon; 123 c->put_h264_qpel_pixels_tab[0][ 0] = ff_put_h264_qpel16_mc00_neon;
93 c->put_h264_qpel_pixels_tab[1][0] = ff_put_h264_qpel8_mc00_neon; 124 c->put_h264_qpel_pixels_tab[0][ 1] = ff_put_h264_qpel16_mc10_neon;
125 c->put_h264_qpel_pixels_tab[0][ 2] = ff_put_h264_qpel16_mc20_neon;
126 c->put_h264_qpel_pixels_tab[0][ 3] = ff_put_h264_qpel16_mc30_neon;
127 c->put_h264_qpel_pixels_tab[0][ 4] = ff_put_h264_qpel16_mc01_neon;
128 c->put_h264_qpel_pixels_tab[0][ 5] = ff_put_h264_qpel16_mc11_neon;
129 c->put_h264_qpel_pixels_tab[0][ 6] = ff_put_h264_qpel16_mc21_neon;
130 c->put_h264_qpel_pixels_tab[0][ 7] = ff_put_h264_qpel16_mc31_neon;
131 c->put_h264_qpel_pixels_tab[0][ 8] = ff_put_h264_qpel16_mc02_neon;
132 c->put_h264_qpel_pixels_tab[0][ 9] = ff_put_h264_qpel16_mc12_neon;
133 c->put_h264_qpel_pixels_tab[0][10] = ff_put_h264_qpel16_mc22_neon;
134 c->put_h264_qpel_pixels_tab[0][11] = ff_put_h264_qpel16_mc32_neon;
135 c->put_h264_qpel_pixels_tab[0][12] = ff_put_h264_qpel16_mc03_neon;
136 c->put_h264_qpel_pixels_tab[0][13] = ff_put_h264_qpel16_mc13_neon;
137 c->put_h264_qpel_pixels_tab[0][14] = ff_put_h264_qpel16_mc23_neon;
138 c->put_h264_qpel_pixels_tab[0][15] = ff_put_h264_qpel16_mc33_neon;
139
140 c->put_h264_qpel_pixels_tab[1][ 0] = ff_put_h264_qpel8_mc00_neon;
141 c->put_h264_qpel_pixels_tab[1][ 1] = ff_put_h264_qpel8_mc10_neon;
142 c->put_h264_qpel_pixels_tab[1][ 2] = ff_put_h264_qpel8_mc20_neon;
143 c->put_h264_qpel_pixels_tab[1][ 3] = ff_put_h264_qpel8_mc30_neon;
144 c->put_h264_qpel_pixels_tab[1][ 4] = ff_put_h264_qpel8_mc01_neon;
145 c->put_h264_qpel_pixels_tab[1][ 5] = ff_put_h264_qpel8_mc11_neon;
146 c->put_h264_qpel_pixels_tab[1][ 6] = ff_put_h264_qpel8_mc21_neon;
147 c->put_h264_qpel_pixels_tab[1][ 7] = ff_put_h264_qpel8_mc31_neon;
148 c->put_h264_qpel_pixels_tab[1][ 8] = ff_put_h264_qpel8_mc02_neon;
149 c->put_h264_qpel_pixels_tab[1][ 9] = ff_put_h264_qpel8_mc12_neon;
150 c->put_h264_qpel_pixels_tab[1][10] = ff_put_h264_qpel8_mc22_neon;
151 c->put_h264_qpel_pixels_tab[1][11] = ff_put_h264_qpel8_mc32_neon;
152 c->put_h264_qpel_pixels_tab[1][12] = ff_put_h264_qpel8_mc03_neon;
153 c->put_h264_qpel_pixels_tab[1][13] = ff_put_h264_qpel8_mc13_neon;
154 c->put_h264_qpel_pixels_tab[1][14] = ff_put_h264_qpel8_mc23_neon;
155 c->put_h264_qpel_pixels_tab[1][15] = ff_put_h264_qpel8_mc33_neon;
94 156
95 c->avg_h264_qpel_pixels_tab[0][ 0] = ff_avg_h264_qpel16_mc00_neon; 157 c->avg_h264_qpel_pixels_tab[0][ 0] = ff_avg_h264_qpel16_mc00_neon;
96 158
97 c->h264_v_loop_filter_luma = ff_h264_v_loop_filter_luma_neon; 159 c->h264_v_loop_filter_luma = ff_h264_v_loop_filter_luma_neon;
98 c->h264_h_loop_filter_luma = ff_h264_h_loop_filter_luma_neon; 160 c->h264_h_loop_filter_luma = ff_h264_h_loop_filter_luma_neon;