00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #include <stdint.h>
00023
00024 #include "libavcodec/avcodec.h"
00025 #include "libavcodec/dsputil.h"
00026 #include "dsputil_arm.h"
00027
00028 void ff_simple_idct_neon(DCTELEM *data);
00029 void ff_simple_idct_put_neon(uint8_t *dest, int line_size, DCTELEM *data);
00030 void ff_simple_idct_add_neon(uint8_t *dest, int line_size, DCTELEM *data);
00031
00032 void ff_clear_block_neon(DCTELEM *block);
00033 void ff_clear_blocks_neon(DCTELEM *blocks);
00034
00035 void ff_put_pixels16_neon(uint8_t *, const uint8_t *, int, int);
00036 void ff_put_pixels16_x2_neon(uint8_t *, const uint8_t *, int, int);
00037 void ff_put_pixels16_y2_neon(uint8_t *, const uint8_t *, int, int);
00038 void ff_put_pixels16_xy2_neon(uint8_t *, const uint8_t *, int, int);
00039 void ff_put_pixels8_neon(uint8_t *, const uint8_t *, int, int);
00040 void ff_put_pixels8_x2_neon(uint8_t *, const uint8_t *, int, int);
00041 void ff_put_pixels8_y2_neon(uint8_t *, const uint8_t *, int, int);
00042 void ff_put_pixels8_xy2_neon(uint8_t *, const uint8_t *, int, int);
00043 void ff_put_pixels16_x2_no_rnd_neon(uint8_t *, const uint8_t *, int, int);
00044 void ff_put_pixels16_y2_no_rnd_neon(uint8_t *, const uint8_t *, int, int);
00045 void ff_put_pixels16_xy2_no_rnd_neon(uint8_t *, const uint8_t *, int, int);
00046 void ff_put_pixels8_x2_no_rnd_neon(uint8_t *, const uint8_t *, int, int);
00047 void ff_put_pixels8_y2_no_rnd_neon(uint8_t *, const uint8_t *, int, int);
00048 void ff_put_pixels8_xy2_no_rnd_neon(uint8_t *, const uint8_t *, int, int);
00049
00050 void ff_avg_pixels16_neon(uint8_t *, const uint8_t *, int, int);
00051 void ff_avg_pixels16_x2_neon(uint8_t *, const uint8_t *, int, int);
00052 void ff_avg_pixels16_y2_neon(uint8_t *, const uint8_t *, int, int);
00053 void ff_avg_pixels16_xy2_neon(uint8_t *, const uint8_t *, int, int);
00054 void ff_avg_pixels8_neon(uint8_t *, const uint8_t *, int, int);
00055 void ff_avg_pixels8_x2_neon(uint8_t *, const uint8_t *, int, int);
00056 void ff_avg_pixels8_y2_neon(uint8_t *, const uint8_t *, int, int);
00057 void ff_avg_pixels8_xy2_neon(uint8_t *, const uint8_t *, int, int);
00058 void ff_avg_pixels16_x2_no_rnd_neon(uint8_t *, const uint8_t *, int, int);
00059 void ff_avg_pixels16_y2_no_rnd_neon(uint8_t *, const uint8_t *, int, int);
00060 void ff_avg_pixels16_xy2_no_rnd_neon(uint8_t *, const uint8_t *, int, int);
00061 void ff_avg_pixels8_x2_no_rnd_neon(uint8_t *, const uint8_t *, int, int);
00062 void ff_avg_pixels8_y2_no_rnd_neon(uint8_t *, const uint8_t *, int, int);
00063 void ff_avg_pixels8_xy2_no_rnd_neon(uint8_t *, const uint8_t *, int, int);
00064
00065 void ff_add_pixels_clamped_neon(const DCTELEM *, uint8_t *, int);
00066 void ff_put_pixels_clamped_neon(const DCTELEM *, uint8_t *, int);
00067 void ff_put_signed_pixels_clamped_neon(const DCTELEM *, uint8_t *, int);
00068
00069 void ff_put_h264_qpel16_mc00_neon(uint8_t *, uint8_t *, int);
00070 void ff_put_h264_qpel16_mc10_neon(uint8_t *, uint8_t *, int);
00071 void ff_put_h264_qpel16_mc20_neon(uint8_t *, uint8_t *, int);
00072 void ff_put_h264_qpel16_mc30_neon(uint8_t *, uint8_t *, int);
00073 void ff_put_h264_qpel16_mc01_neon(uint8_t *, uint8_t *, int);
00074 void ff_put_h264_qpel16_mc11_neon(uint8_t *, uint8_t *, int);
00075 void ff_put_h264_qpel16_mc21_neon(uint8_t *, uint8_t *, int);
00076 void ff_put_h264_qpel16_mc31_neon(uint8_t *, uint8_t *, int);
00077 void ff_put_h264_qpel16_mc02_neon(uint8_t *, uint8_t *, int);
00078 void ff_put_h264_qpel16_mc12_neon(uint8_t *, uint8_t *, int);
00079 void ff_put_h264_qpel16_mc22_neon(uint8_t *, uint8_t *, int);
00080 void ff_put_h264_qpel16_mc32_neon(uint8_t *, uint8_t *, int);
00081 void ff_put_h264_qpel16_mc03_neon(uint8_t *, uint8_t *, int);
00082 void ff_put_h264_qpel16_mc13_neon(uint8_t *, uint8_t *, int);
00083 void ff_put_h264_qpel16_mc23_neon(uint8_t *, uint8_t *, int);
00084 void ff_put_h264_qpel16_mc33_neon(uint8_t *, uint8_t *, int);
00085
00086 void ff_put_h264_qpel8_mc00_neon(uint8_t *, uint8_t *, int);
00087 void ff_put_h264_qpel8_mc10_neon(uint8_t *, uint8_t *, int);
00088 void ff_put_h264_qpel8_mc20_neon(uint8_t *, uint8_t *, int);
00089 void ff_put_h264_qpel8_mc30_neon(uint8_t *, uint8_t *, int);
00090 void ff_put_h264_qpel8_mc01_neon(uint8_t *, uint8_t *, int);
00091 void ff_put_h264_qpel8_mc11_neon(uint8_t *, uint8_t *, int);
00092 void ff_put_h264_qpel8_mc21_neon(uint8_t *, uint8_t *, int);
00093 void ff_put_h264_qpel8_mc31_neon(uint8_t *, uint8_t *, int);
00094 void ff_put_h264_qpel8_mc02_neon(uint8_t *, uint8_t *, int);
00095 void ff_put_h264_qpel8_mc12_neon(uint8_t *, uint8_t *, int);
00096 void ff_put_h264_qpel8_mc22_neon(uint8_t *, uint8_t *, int);
00097 void ff_put_h264_qpel8_mc32_neon(uint8_t *, uint8_t *, int);
00098 void ff_put_h264_qpel8_mc03_neon(uint8_t *, uint8_t *, int);
00099 void ff_put_h264_qpel8_mc13_neon(uint8_t *, uint8_t *, int);
00100 void ff_put_h264_qpel8_mc23_neon(uint8_t *, uint8_t *, int);
00101 void ff_put_h264_qpel8_mc33_neon(uint8_t *, uint8_t *, int);
00102
00103 void ff_avg_h264_qpel16_mc00_neon(uint8_t *, uint8_t *, int);
00104 void ff_avg_h264_qpel16_mc10_neon(uint8_t *, uint8_t *, int);
00105 void ff_avg_h264_qpel16_mc20_neon(uint8_t *, uint8_t *, int);
00106 void ff_avg_h264_qpel16_mc30_neon(uint8_t *, uint8_t *, int);
00107 void ff_avg_h264_qpel16_mc01_neon(uint8_t *, uint8_t *, int);
00108 void ff_avg_h264_qpel16_mc11_neon(uint8_t *, uint8_t *, int);
00109 void ff_avg_h264_qpel16_mc21_neon(uint8_t *, uint8_t *, int);
00110 void ff_avg_h264_qpel16_mc31_neon(uint8_t *, uint8_t *, int);
00111 void ff_avg_h264_qpel16_mc02_neon(uint8_t *, uint8_t *, int);
00112 void ff_avg_h264_qpel16_mc12_neon(uint8_t *, uint8_t *, int);
00113 void ff_avg_h264_qpel16_mc22_neon(uint8_t *, uint8_t *, int);
00114 void ff_avg_h264_qpel16_mc32_neon(uint8_t *, uint8_t *, int);
00115 void ff_avg_h264_qpel16_mc03_neon(uint8_t *, uint8_t *, int);
00116 void ff_avg_h264_qpel16_mc13_neon(uint8_t *, uint8_t *, int);
00117 void ff_avg_h264_qpel16_mc23_neon(uint8_t *, uint8_t *, int);
00118 void ff_avg_h264_qpel16_mc33_neon(uint8_t *, uint8_t *, int);
00119
00120 void ff_avg_h264_qpel8_mc00_neon(uint8_t *, uint8_t *, int);
00121 void ff_avg_h264_qpel8_mc10_neon(uint8_t *, uint8_t *, int);
00122 void ff_avg_h264_qpel8_mc20_neon(uint8_t *, uint8_t *, int);
00123 void ff_avg_h264_qpel8_mc30_neon(uint8_t *, uint8_t *, int);
00124 void ff_avg_h264_qpel8_mc01_neon(uint8_t *, uint8_t *, int);
00125 void ff_avg_h264_qpel8_mc11_neon(uint8_t *, uint8_t *, int);
00126 void ff_avg_h264_qpel8_mc21_neon(uint8_t *, uint8_t *, int);
00127 void ff_avg_h264_qpel8_mc31_neon(uint8_t *, uint8_t *, int);
00128 void ff_avg_h264_qpel8_mc02_neon(uint8_t *, uint8_t *, int);
00129 void ff_avg_h264_qpel8_mc12_neon(uint8_t *, uint8_t *, int);
00130 void ff_avg_h264_qpel8_mc22_neon(uint8_t *, uint8_t *, int);
00131 void ff_avg_h264_qpel8_mc32_neon(uint8_t *, uint8_t *, int);
00132 void ff_avg_h264_qpel8_mc03_neon(uint8_t *, uint8_t *, int);
00133 void ff_avg_h264_qpel8_mc13_neon(uint8_t *, uint8_t *, int);
00134 void ff_avg_h264_qpel8_mc23_neon(uint8_t *, uint8_t *, int);
00135 void ff_avg_h264_qpel8_mc33_neon(uint8_t *, uint8_t *, int);
00136
00137 void ff_put_h264_chroma_mc8_neon(uint8_t *, uint8_t *, int, int, int, int);
00138 void ff_put_h264_chroma_mc4_neon(uint8_t *, uint8_t *, int, int, int, int);
00139 void ff_put_h264_chroma_mc2_neon(uint8_t *, uint8_t *, int, int, int, int);
00140
00141 void ff_avg_h264_chroma_mc8_neon(uint8_t *, uint8_t *, int, int, int, int);
00142 void ff_avg_h264_chroma_mc4_neon(uint8_t *, uint8_t *, int, int, int, int);
00143 void ff_avg_h264_chroma_mc2_neon(uint8_t *, uint8_t *, int, int, int, int);
00144
00145 void ff_vector_fmul_window_neon(float *dst, const float *src0,
00146 const float *src1, const float *win, int len);
00147 void ff_vector_fmul_scalar_neon(float *dst, const float *src, float mul,
00148 int len);
00149 void ff_butterflies_float_neon(float *v1, float *v2, int len);
00150 float ff_scalarproduct_float_neon(const float *v1, const float *v2, int len);
00151 void ff_vector_fmul_reverse_neon(float *dst, const float *src0,
00152 const float *src1, int len);
00153 void ff_vector_fmul_add_neon(float *dst, const float *src0, const float *src1,
00154 const float *src2, int len);
00155
00156 void ff_vector_clipf_neon(float *dst, const float *src, float min, float max,
00157 int len);
00158 void ff_vector_clip_int32_neon(int32_t *dst, const int32_t *src, int32_t min,
00159 int32_t max, unsigned int len);
00160
00161 void ff_vorbis_inverse_coupling_neon(float *mag, float *ang, int blocksize);
00162
00163 int32_t ff_scalarproduct_int16_neon(const int16_t *v1, const int16_t *v2, int len);
00164 int32_t ff_scalarproduct_and_madd_int16_neon(int16_t *v1, const int16_t *v2,
00165 const int16_t *v3, int len, int mul);
00166
00167 void ff_apply_window_int16_neon(int16_t *dst, const int16_t *src,
00168 const int16_t *window, unsigned n);
00169
00170 void ff_dsputil_init_neon(DSPContext *c, AVCodecContext *avctx)
00171 {
00172 const int high_bit_depth = avctx->bits_per_raw_sample > 8;
00173
00174 if (!avctx->lowres && avctx->bits_per_raw_sample <= 8) {
00175 if (avctx->idct_algo == FF_IDCT_AUTO ||
00176 avctx->idct_algo == FF_IDCT_SIMPLENEON) {
00177 c->idct_put = ff_simple_idct_put_neon;
00178 c->idct_add = ff_simple_idct_add_neon;
00179 c->idct = ff_simple_idct_neon;
00180 c->idct_permutation_type = FF_PARTTRANS_IDCT_PERM;
00181 }
00182 }
00183
00184 if (!high_bit_depth) {
00185 c->clear_block = ff_clear_block_neon;
00186 c->clear_blocks = ff_clear_blocks_neon;
00187
00188 c->put_pixels_tab[0][0] = ff_put_pixels16_neon;
00189 c->put_pixels_tab[0][1] = ff_put_pixels16_x2_neon;
00190 c->put_pixels_tab[0][2] = ff_put_pixels16_y2_neon;
00191 c->put_pixels_tab[0][3] = ff_put_pixels16_xy2_neon;
00192 c->put_pixels_tab[1][0] = ff_put_pixels8_neon;
00193 c->put_pixels_tab[1][1] = ff_put_pixels8_x2_neon;
00194 c->put_pixels_tab[1][2] = ff_put_pixels8_y2_neon;
00195 c->put_pixels_tab[1][3] = ff_put_pixels8_xy2_neon;
00196
00197 c->put_no_rnd_pixels_tab[0][0] = ff_put_pixels16_neon;
00198 c->put_no_rnd_pixels_tab[0][1] = ff_put_pixels16_x2_no_rnd_neon;
00199 c->put_no_rnd_pixels_tab[0][2] = ff_put_pixels16_y2_no_rnd_neon;
00200 c->put_no_rnd_pixels_tab[0][3] = ff_put_pixels16_xy2_no_rnd_neon;
00201 c->put_no_rnd_pixels_tab[1][0] = ff_put_pixels8_neon;
00202 c->put_no_rnd_pixels_tab[1][1] = ff_put_pixels8_x2_no_rnd_neon;
00203 c->put_no_rnd_pixels_tab[1][2] = ff_put_pixels8_y2_no_rnd_neon;
00204 c->put_no_rnd_pixels_tab[1][3] = ff_put_pixels8_xy2_no_rnd_neon;
00205
00206 c->avg_pixels_tab[0][0] = ff_avg_pixels16_neon;
00207 c->avg_pixels_tab[0][1] = ff_avg_pixels16_x2_neon;
00208 c->avg_pixels_tab[0][2] = ff_avg_pixels16_y2_neon;
00209 c->avg_pixels_tab[0][3] = ff_avg_pixels16_xy2_neon;
00210 c->avg_pixels_tab[1][0] = ff_avg_pixels8_neon;
00211 c->avg_pixels_tab[1][1] = ff_avg_pixels8_x2_neon;
00212 c->avg_pixels_tab[1][2] = ff_avg_pixels8_y2_neon;
00213 c->avg_pixels_tab[1][3] = ff_avg_pixels8_xy2_neon;
00214
00215 c->avg_no_rnd_pixels_tab[0][0] = ff_avg_pixels16_neon;
00216 c->avg_no_rnd_pixels_tab[0][1] = ff_avg_pixels16_x2_no_rnd_neon;
00217 c->avg_no_rnd_pixels_tab[0][2] = ff_avg_pixels16_y2_no_rnd_neon;
00218 c->avg_no_rnd_pixels_tab[0][3] = ff_avg_pixels16_xy2_no_rnd_neon;
00219 c->avg_no_rnd_pixels_tab[1][0] = ff_avg_pixels8_neon;
00220 c->avg_no_rnd_pixels_tab[1][1] = ff_avg_pixels8_x2_no_rnd_neon;
00221 c->avg_no_rnd_pixels_tab[1][2] = ff_avg_pixels8_y2_no_rnd_neon;
00222 c->avg_no_rnd_pixels_tab[1][3] = ff_avg_pixels8_xy2_no_rnd_neon;
00223 }
00224
00225 c->add_pixels_clamped = ff_add_pixels_clamped_neon;
00226 c->put_pixels_clamped = ff_put_pixels_clamped_neon;
00227 c->put_signed_pixels_clamped = ff_put_signed_pixels_clamped_neon;
00228
00229 if (CONFIG_H264_DECODER && !high_bit_depth) {
00230 c->put_h264_chroma_pixels_tab[0] = ff_put_h264_chroma_mc8_neon;
00231 c->put_h264_chroma_pixels_tab[1] = ff_put_h264_chroma_mc4_neon;
00232 c->put_h264_chroma_pixels_tab[2] = ff_put_h264_chroma_mc2_neon;
00233
00234 c->avg_h264_chroma_pixels_tab[0] = ff_avg_h264_chroma_mc8_neon;
00235 c->avg_h264_chroma_pixels_tab[1] = ff_avg_h264_chroma_mc4_neon;
00236 c->avg_h264_chroma_pixels_tab[2] = ff_avg_h264_chroma_mc2_neon;
00237
00238 c->put_h264_qpel_pixels_tab[0][ 0] = ff_put_h264_qpel16_mc00_neon;
00239 c->put_h264_qpel_pixels_tab[0][ 1] = ff_put_h264_qpel16_mc10_neon;
00240 c->put_h264_qpel_pixels_tab[0][ 2] = ff_put_h264_qpel16_mc20_neon;
00241 c->put_h264_qpel_pixels_tab[0][ 3] = ff_put_h264_qpel16_mc30_neon;
00242 c->put_h264_qpel_pixels_tab[0][ 4] = ff_put_h264_qpel16_mc01_neon;
00243 c->put_h264_qpel_pixels_tab[0][ 5] = ff_put_h264_qpel16_mc11_neon;
00244 c->put_h264_qpel_pixels_tab[0][ 6] = ff_put_h264_qpel16_mc21_neon;
00245 c->put_h264_qpel_pixels_tab[0][ 7] = ff_put_h264_qpel16_mc31_neon;
00246 c->put_h264_qpel_pixels_tab[0][ 8] = ff_put_h264_qpel16_mc02_neon;
00247 c->put_h264_qpel_pixels_tab[0][ 9] = ff_put_h264_qpel16_mc12_neon;
00248 c->put_h264_qpel_pixels_tab[0][10] = ff_put_h264_qpel16_mc22_neon;
00249 c->put_h264_qpel_pixels_tab[0][11] = ff_put_h264_qpel16_mc32_neon;
00250 c->put_h264_qpel_pixels_tab[0][12] = ff_put_h264_qpel16_mc03_neon;
00251 c->put_h264_qpel_pixels_tab[0][13] = ff_put_h264_qpel16_mc13_neon;
00252 c->put_h264_qpel_pixels_tab[0][14] = ff_put_h264_qpel16_mc23_neon;
00253 c->put_h264_qpel_pixels_tab[0][15] = ff_put_h264_qpel16_mc33_neon;
00254
00255 c->put_h264_qpel_pixels_tab[1][ 0] = ff_put_h264_qpel8_mc00_neon;
00256 c->put_h264_qpel_pixels_tab[1][ 1] = ff_put_h264_qpel8_mc10_neon;
00257 c->put_h264_qpel_pixels_tab[1][ 2] = ff_put_h264_qpel8_mc20_neon;
00258 c->put_h264_qpel_pixels_tab[1][ 3] = ff_put_h264_qpel8_mc30_neon;
00259 c->put_h264_qpel_pixels_tab[1][ 4] = ff_put_h264_qpel8_mc01_neon;
00260 c->put_h264_qpel_pixels_tab[1][ 5] = ff_put_h264_qpel8_mc11_neon;
00261 c->put_h264_qpel_pixels_tab[1][ 6] = ff_put_h264_qpel8_mc21_neon;
00262 c->put_h264_qpel_pixels_tab[1][ 7] = ff_put_h264_qpel8_mc31_neon;
00263 c->put_h264_qpel_pixels_tab[1][ 8] = ff_put_h264_qpel8_mc02_neon;
00264 c->put_h264_qpel_pixels_tab[1][ 9] = ff_put_h264_qpel8_mc12_neon;
00265 c->put_h264_qpel_pixels_tab[1][10] = ff_put_h264_qpel8_mc22_neon;
00266 c->put_h264_qpel_pixels_tab[1][11] = ff_put_h264_qpel8_mc32_neon;
00267 c->put_h264_qpel_pixels_tab[1][12] = ff_put_h264_qpel8_mc03_neon;
00268 c->put_h264_qpel_pixels_tab[1][13] = ff_put_h264_qpel8_mc13_neon;
00269 c->put_h264_qpel_pixels_tab[1][14] = ff_put_h264_qpel8_mc23_neon;
00270 c->put_h264_qpel_pixels_tab[1][15] = ff_put_h264_qpel8_mc33_neon;
00271
00272 c->avg_h264_qpel_pixels_tab[0][ 0] = ff_avg_h264_qpel16_mc00_neon;
00273 c->avg_h264_qpel_pixels_tab[0][ 1] = ff_avg_h264_qpel16_mc10_neon;
00274 c->avg_h264_qpel_pixels_tab[0][ 2] = ff_avg_h264_qpel16_mc20_neon;
00275 c->avg_h264_qpel_pixels_tab[0][ 3] = ff_avg_h264_qpel16_mc30_neon;
00276 c->avg_h264_qpel_pixels_tab[0][ 4] = ff_avg_h264_qpel16_mc01_neon;
00277 c->avg_h264_qpel_pixels_tab[0][ 5] = ff_avg_h264_qpel16_mc11_neon;
00278 c->avg_h264_qpel_pixels_tab[0][ 6] = ff_avg_h264_qpel16_mc21_neon;
00279 c->avg_h264_qpel_pixels_tab[0][ 7] = ff_avg_h264_qpel16_mc31_neon;
00280 c->avg_h264_qpel_pixels_tab[0][ 8] = ff_avg_h264_qpel16_mc02_neon;
00281 c->avg_h264_qpel_pixels_tab[0][ 9] = ff_avg_h264_qpel16_mc12_neon;
00282 c->avg_h264_qpel_pixels_tab[0][10] = ff_avg_h264_qpel16_mc22_neon;
00283 c->avg_h264_qpel_pixels_tab[0][11] = ff_avg_h264_qpel16_mc32_neon;
00284 c->avg_h264_qpel_pixels_tab[0][12] = ff_avg_h264_qpel16_mc03_neon;
00285 c->avg_h264_qpel_pixels_tab[0][13] = ff_avg_h264_qpel16_mc13_neon;
00286 c->avg_h264_qpel_pixels_tab[0][14] = ff_avg_h264_qpel16_mc23_neon;
00287 c->avg_h264_qpel_pixels_tab[0][15] = ff_avg_h264_qpel16_mc33_neon;
00288
00289 c->avg_h264_qpel_pixels_tab[1][ 0] = ff_avg_h264_qpel8_mc00_neon;
00290 c->avg_h264_qpel_pixels_tab[1][ 1] = ff_avg_h264_qpel8_mc10_neon;
00291 c->avg_h264_qpel_pixels_tab[1][ 2] = ff_avg_h264_qpel8_mc20_neon;
00292 c->avg_h264_qpel_pixels_tab[1][ 3] = ff_avg_h264_qpel8_mc30_neon;
00293 c->avg_h264_qpel_pixels_tab[1][ 4] = ff_avg_h264_qpel8_mc01_neon;
00294 c->avg_h264_qpel_pixels_tab[1][ 5] = ff_avg_h264_qpel8_mc11_neon;
00295 c->avg_h264_qpel_pixels_tab[1][ 6] = ff_avg_h264_qpel8_mc21_neon;
00296 c->avg_h264_qpel_pixels_tab[1][ 7] = ff_avg_h264_qpel8_mc31_neon;
00297 c->avg_h264_qpel_pixels_tab[1][ 8] = ff_avg_h264_qpel8_mc02_neon;
00298 c->avg_h264_qpel_pixels_tab[1][ 9] = ff_avg_h264_qpel8_mc12_neon;
00299 c->avg_h264_qpel_pixels_tab[1][10] = ff_avg_h264_qpel8_mc22_neon;
00300 c->avg_h264_qpel_pixels_tab[1][11] = ff_avg_h264_qpel8_mc32_neon;
00301 c->avg_h264_qpel_pixels_tab[1][12] = ff_avg_h264_qpel8_mc03_neon;
00302 c->avg_h264_qpel_pixels_tab[1][13] = ff_avg_h264_qpel8_mc13_neon;
00303 c->avg_h264_qpel_pixels_tab[1][14] = ff_avg_h264_qpel8_mc23_neon;
00304 c->avg_h264_qpel_pixels_tab[1][15] = ff_avg_h264_qpel8_mc33_neon;
00305 }
00306
00307 c->vector_fmul_window = ff_vector_fmul_window_neon;
00308 c->vector_fmul_scalar = ff_vector_fmul_scalar_neon;
00309 c->butterflies_float = ff_butterflies_float_neon;
00310 c->scalarproduct_float = ff_scalarproduct_float_neon;
00311 c->vector_fmul_reverse = ff_vector_fmul_reverse_neon;
00312 c->vector_fmul_add = ff_vector_fmul_add_neon;
00313 c->vector_clipf = ff_vector_clipf_neon;
00314 c->vector_clip_int32 = ff_vector_clip_int32_neon;
00315
00316 if (CONFIG_VORBIS_DECODER)
00317 c->vorbis_inverse_coupling = ff_vorbis_inverse_coupling_neon;
00318
00319 c->scalarproduct_int16 = ff_scalarproduct_int16_neon;
00320 c->scalarproduct_and_madd_int16 = ff_scalarproduct_and_madd_int16_neon;
00321
00322 c->apply_window_int16 = ff_apply_window_int16_neon;
00323 }