Mercurial > libavcodec.hg
diff dsputil.h @ 8785:bee83b3f9a6b libavcodec
move vp6_filter_diag4() to a new vp6dsp.c file and use it throught dsputil
author | aurel |
---|---|
date | Mon, 09 Feb 2009 23:37:31 +0000 |
parents | 31138c296ac6 |
children | e7d87561b42b |
line wrap: on
line diff
--- a/dsputil.h Mon Feb 09 23:11:26 2009 +0000 +++ b/dsputil.h Mon Feb 09 23:37:31 2009 +0000 @@ -94,6 +94,10 @@ void ff_vp3_v_loop_filter_c(uint8_t *src, int stride, int *bounding_values); void ff_vp3_h_loop_filter_c(uint8_t *src, int stride, int *bounding_values); +/* VP6 DSP functions */ +void ff_vp6_filter_diag4_c(uint8_t *dst, uint8_t *src, int stride, + const int16_t *h_weights, const int16_t *v_weights); + /* 1/2^n downscaling functions from imgconvert.c */ void ff_img_copy_plane(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height); void ff_shrink22(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height); @@ -374,6 +378,9 @@ void (*vp3_v_loop_filter)(uint8_t *src, int stride, int *bounding_values); void (*vp3_h_loop_filter)(uint8_t *src, int stride, int *bounding_values); + void (*vp6_filter_diag4)(uint8_t *dst, uint8_t *src, int stride, + const int16_t *h_weights,const int16_t *v_weights); + /* assume len is a multiple of 4, and arrays are 16-byte aligned */ void (*vorbis_inverse_coupling)(float *mag, float *ang, int blocksize); void (*ac3_downmix)(float (*samples)[256], float (*matrix)[2], int out_ch, int in_ch, int len);