comparison 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
comparison
equal deleted inserted replaced
8784:7c47da8e2cf8 8785:bee83b3f9a6b
92 void ff_vp3_idct_add_c(uint8_t *dest/*align 8*/, int line_size, DCTELEM *block/*align 16*/); 92 void ff_vp3_idct_add_c(uint8_t *dest/*align 8*/, int line_size, DCTELEM *block/*align 16*/);
93 93
94 void ff_vp3_v_loop_filter_c(uint8_t *src, int stride, int *bounding_values); 94 void ff_vp3_v_loop_filter_c(uint8_t *src, int stride, int *bounding_values);
95 void ff_vp3_h_loop_filter_c(uint8_t *src, int stride, int *bounding_values); 95 void ff_vp3_h_loop_filter_c(uint8_t *src, int stride, int *bounding_values);
96 96
97 /* VP6 DSP functions */
98 void ff_vp6_filter_diag4_c(uint8_t *dst, uint8_t *src, int stride,
99 const int16_t *h_weights, const int16_t *v_weights);
100
97 /* 1/2^n downscaling functions from imgconvert.c */ 101 /* 1/2^n downscaling functions from imgconvert.c */
98 void ff_img_copy_plane(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height); 102 void ff_img_copy_plane(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height);
99 void ff_shrink22(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height); 103 void ff_shrink22(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height);
100 void ff_shrink44(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height); 104 void ff_shrink44(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height);
101 void ff_shrink88(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height); 105 void ff_shrink88(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height);
371 void (*x8_v_loop_filter)(uint8_t *src, int stride, int qscale); 375 void (*x8_v_loop_filter)(uint8_t *src, int stride, int qscale);
372 void (*x8_h_loop_filter)(uint8_t *src, int stride, int qscale); 376 void (*x8_h_loop_filter)(uint8_t *src, int stride, int qscale);
373 377
374 void (*vp3_v_loop_filter)(uint8_t *src, int stride, int *bounding_values); 378 void (*vp3_v_loop_filter)(uint8_t *src, int stride, int *bounding_values);
375 void (*vp3_h_loop_filter)(uint8_t *src, int stride, int *bounding_values); 379 void (*vp3_h_loop_filter)(uint8_t *src, int stride, int *bounding_values);
380
381 void (*vp6_filter_diag4)(uint8_t *dst, uint8_t *src, int stride,
382 const int16_t *h_weights,const int16_t *v_weights);
376 383
377 /* assume len is a multiple of 4, and arrays are 16-byte aligned */ 384 /* assume len is a multiple of 4, and arrays are 16-byte aligned */
378 void (*vorbis_inverse_coupling)(float *mag, float *ang, int blocksize); 385 void (*vorbis_inverse_coupling)(float *mag, float *ang, int blocksize);
379 void (*ac3_downmix)(float (*samples)[256], float (*matrix)[2], int out_ch, int in_ch, int len); 386 void (*ac3_downmix)(float (*samples)[256], float (*matrix)[2], int out_ch, int in_ch, int len);
380 /* no alignment needed */ 387 /* no alignment needed */