Mercurial > libavcodec.hg
comparison arm/dsputil_neon.c @ 8664:882c351e69c2 libavcodec
ARM: NEON optimised H.264 weighted prediction
author | mru |
---|---|
date | Sun, 25 Jan 2009 13:04:45 +0000 |
parents | 23f7711e777e |
children | 307b176f91e7 |
comparison
equal
deleted
inserted
replaced
8663:23f7711e777e | 8664:882c351e69c2 |
---|---|
90 void ff_h264_v_loop_filter_chroma_neon(uint8_t *pix, int stride, int alpha, | 90 void ff_h264_v_loop_filter_chroma_neon(uint8_t *pix, int stride, int alpha, |
91 int beta, int8_t *tc0); | 91 int beta, int8_t *tc0); |
92 void ff_h264_h_loop_filter_chroma_neon(uint8_t *pix, int stride, int alpha, | 92 void ff_h264_h_loop_filter_chroma_neon(uint8_t *pix, int stride, int alpha, |
93 int beta, int8_t *tc0); | 93 int beta, int8_t *tc0); |
94 | 94 |
95 void ff_weight_h264_pixels_16x16_neon(uint8_t *ds, int stride, int log2_den, | |
96 int weight, int offset); | |
97 void ff_weight_h264_pixels_16x8_neon(uint8_t *ds, int stride, int log2_den, | |
98 int weight, int offset); | |
99 void ff_weight_h264_pixels_8x16_neon(uint8_t *ds, int stride, int log2_den, | |
100 int weight, int offset); | |
101 void ff_weight_h264_pixels_8x8_neon(uint8_t *ds, int stride, int log2_den, | |
102 int weight, int offset); | |
103 void ff_weight_h264_pixels_8x4_neon(uint8_t *ds, int stride, int log2_den, | |
104 int weight, int offset); | |
105 void ff_weight_h264_pixels_4x8_neon(uint8_t *ds, int stride, int log2_den, | |
106 int weight, int offset); | |
107 void ff_weight_h264_pixels_4x4_neon(uint8_t *ds, int stride, int log2_den, | |
108 int weight, int offset); | |
109 void ff_weight_h264_pixels_4x2_neon(uint8_t *ds, int stride, int log2_den, | |
110 int weight, int offset); | |
111 | |
95 void ff_biweight_h264_pixels_16x16_neon(uint8_t *dst, uint8_t *src, int stride, | 112 void ff_biweight_h264_pixels_16x16_neon(uint8_t *dst, uint8_t *src, int stride, |
96 int log2_den, int weightd, int weights, | 113 int log2_den, int weightd, int weights, |
97 int offset); | 114 int offset); |
98 void ff_biweight_h264_pixels_16x8_neon(uint8_t *dst, uint8_t *src, int stride, | 115 void ff_biweight_h264_pixels_16x8_neon(uint8_t *dst, uint8_t *src, int stride, |
99 int log2_den, int weightd, int weights, | 116 int log2_den, int weightd, int weights, |
199 c->h264_v_loop_filter_luma = ff_h264_v_loop_filter_luma_neon; | 216 c->h264_v_loop_filter_luma = ff_h264_v_loop_filter_luma_neon; |
200 c->h264_h_loop_filter_luma = ff_h264_h_loop_filter_luma_neon; | 217 c->h264_h_loop_filter_luma = ff_h264_h_loop_filter_luma_neon; |
201 c->h264_v_loop_filter_chroma = ff_h264_v_loop_filter_chroma_neon; | 218 c->h264_v_loop_filter_chroma = ff_h264_v_loop_filter_chroma_neon; |
202 c->h264_h_loop_filter_chroma = ff_h264_h_loop_filter_chroma_neon; | 219 c->h264_h_loop_filter_chroma = ff_h264_h_loop_filter_chroma_neon; |
203 | 220 |
221 c->weight_h264_pixels_tab[0] = ff_weight_h264_pixels_16x16_neon; | |
222 c->weight_h264_pixels_tab[1] = ff_weight_h264_pixels_16x8_neon; | |
223 c->weight_h264_pixels_tab[2] = ff_weight_h264_pixels_8x16_neon; | |
224 c->weight_h264_pixels_tab[3] = ff_weight_h264_pixels_8x8_neon; | |
225 c->weight_h264_pixels_tab[4] = ff_weight_h264_pixels_8x4_neon; | |
226 c->weight_h264_pixels_tab[5] = ff_weight_h264_pixels_4x8_neon; | |
227 c->weight_h264_pixels_tab[6] = ff_weight_h264_pixels_4x4_neon; | |
228 c->weight_h264_pixels_tab[7] = ff_weight_h264_pixels_4x2_neon; | |
229 | |
204 c->biweight_h264_pixels_tab[0] = ff_biweight_h264_pixels_16x16_neon; | 230 c->biweight_h264_pixels_tab[0] = ff_biweight_h264_pixels_16x16_neon; |
205 c->biweight_h264_pixels_tab[1] = ff_biweight_h264_pixels_16x8_neon; | 231 c->biweight_h264_pixels_tab[1] = ff_biweight_h264_pixels_16x8_neon; |
206 c->biweight_h264_pixels_tab[2] = ff_biweight_h264_pixels_8x16_neon; | 232 c->biweight_h264_pixels_tab[2] = ff_biweight_h264_pixels_8x16_neon; |
207 c->biweight_h264_pixels_tab[3] = ff_biweight_h264_pixels_8x8_neon; | 233 c->biweight_h264_pixels_tab[3] = ff_biweight_h264_pixels_8x8_neon; |
208 c->biweight_h264_pixels_tab[4] = ff_biweight_h264_pixels_8x4_neon; | 234 c->biweight_h264_pixels_tab[4] = ff_biweight_h264_pixels_8x4_neon; |