comparison arm/h264dsp_init_arm.c @ 12368:ba14e3adeccd libavcodec

ARM: NEON H264 8x8 IDCT Parts by David Conrad.
author mru
date Thu, 05 Aug 2010 19:45:57 +0000
parents 21566c95834c
children
comparison
equal deleted inserted replaced
12367:06bdd447f4f7 12368:ba14e3adeccd
84 const uint8_t nnzc[6*8]); 84 const uint8_t nnzc[6*8]);
85 void ff_h264_idct_add8_neon(uint8_t **dest, const int *block_offset, 85 void ff_h264_idct_add8_neon(uint8_t **dest, const int *block_offset,
86 DCTELEM *block, int stride, 86 DCTELEM *block, int stride,
87 const uint8_t nnzc[6*8]); 87 const uint8_t nnzc[6*8]);
88 88
89 void ff_h264_idct8_add_neon(uint8_t *dst, DCTELEM *block, int stride);
90 void ff_h264_idct8_dc_add_neon(uint8_t *dst, DCTELEM *block, int stride);
91 void ff_h264_idct8_add4_neon(uint8_t *dst, const int *block_offset,
92 DCTELEM *block, int stride,
93 const uint8_t nnzc[6*8]);
94
89 static void ff_h264dsp_init_neon(H264DSPContext *c) 95 static void ff_h264dsp_init_neon(H264DSPContext *c)
90 { 96 {
91 c->h264_v_loop_filter_luma = ff_h264_v_loop_filter_luma_neon; 97 c->h264_v_loop_filter_luma = ff_h264_v_loop_filter_luma_neon;
92 c->h264_h_loop_filter_luma = ff_h264_h_loop_filter_luma_neon; 98 c->h264_h_loop_filter_luma = ff_h264_h_loop_filter_luma_neon;
93 c->h264_v_loop_filter_chroma = ff_h264_v_loop_filter_chroma_neon; 99 c->h264_v_loop_filter_chroma = ff_h264_v_loop_filter_chroma_neon;
114 c->h264_idct_add = ff_h264_idct_add_neon; 120 c->h264_idct_add = ff_h264_idct_add_neon;
115 c->h264_idct_dc_add = ff_h264_idct_dc_add_neon; 121 c->h264_idct_dc_add = ff_h264_idct_dc_add_neon;
116 c->h264_idct_add16 = ff_h264_idct_add16_neon; 122 c->h264_idct_add16 = ff_h264_idct_add16_neon;
117 c->h264_idct_add16intra = ff_h264_idct_add16intra_neon; 123 c->h264_idct_add16intra = ff_h264_idct_add16intra_neon;
118 c->h264_idct_add8 = ff_h264_idct_add8_neon; 124 c->h264_idct_add8 = ff_h264_idct_add8_neon;
125 c->h264_idct8_add = ff_h264_idct8_add_neon;
126 c->h264_idct8_dc_add = ff_h264_idct8_dc_add_neon;
127 c->h264_idct8_add4 = ff_h264_idct8_add4_neon;
119 } 128 }
120 129
121 void ff_h264dsp_init_arm(H264DSPContext *c) 130 void ff_h264dsp_init_arm(H264DSPContext *c)
122 { 131 {
123 if (HAVE_NEON) ff_h264dsp_init_neon(c); 132 if (HAVE_NEON) ff_h264dsp_init_neon(c);