Mercurial > libavcodec.hg
diff arm/dsputil_neon.c @ 9692:9d103a3236e0 libavcodec
ARM: NEON VP3 Loop Filter
author | conrad |
---|---|
date | Sat, 23 May 2009 18:36:20 +0000 |
parents | 51e8f5ab8f1e |
children | d6d7e8d4a04d |
line wrap: on
line diff
--- a/arm/dsputil_neon.c Sat May 23 05:55:29 2009 +0000 +++ b/arm/dsputil_neon.c Sat May 23 18:36:20 2009 +0000 @@ -150,6 +150,9 @@ DCTELEM *block, int stride, const uint8_t nnzc[6*8]); +void ff_vp3_v_loop_filter_neon(uint8_t *, int, int *); +void ff_vp3_h_loop_filter_neon(uint8_t *, int, int *); + void ff_vector_fmul_neon(float *dst, const float *src, int len); void ff_vector_fmul_window_neon(float *dst, const float *src0, const float *src1, const float *win, @@ -255,6 +258,11 @@ c->h264_idct_add16intra = ff_h264_idct_add16intra_neon; c->h264_idct_add8 = ff_h264_idct_add8_neon; + if (CONFIG_VP3_DECODER || CONFIG_THEORA_DECODER) { + c->vp3_v_loop_filter = ff_vp3_v_loop_filter_neon; + c->vp3_h_loop_filter = ff_vp3_h_loop_filter_neon; + } + c->vector_fmul = ff_vector_fmul_neon; c->vector_fmul_window = ff_vector_fmul_window_neon;