comparison dsputil.h @ 7995:1fbfce20cb79 libavcodec

Move VP3 loop filter to DSPContext
author conrad
date Sat, 04 Oct 2008 10:26:17 +0000
parents c4a4495715dd
children eebc7209c47f
comparison
equal deleted inserted replaced
7994:ecade9a77827 7995:1fbfce20cb79
84 /* VP3 DSP functions */ 84 /* VP3 DSP functions */
85 void ff_vp3_idct_c(DCTELEM *block/* align 16*/); 85 void ff_vp3_idct_c(DCTELEM *block/* align 16*/);
86 void ff_vp3_idct_put_c(uint8_t *dest/*align 8*/, int line_size, DCTELEM *block/*align 16*/); 86 void ff_vp3_idct_put_c(uint8_t *dest/*align 8*/, int line_size, DCTELEM *block/*align 16*/);
87 void ff_vp3_idct_add_c(uint8_t *dest/*align 8*/, int line_size, DCTELEM *block/*align 16*/); 87 void ff_vp3_idct_add_c(uint8_t *dest/*align 8*/, int line_size, DCTELEM *block/*align 16*/);
88 88
89 void ff_vp3_v_loop_filter_c(uint8_t *src, int stride, int *bounding_values);
90 void ff_vp3_h_loop_filter_c(uint8_t *src, int stride, int *bounding_values);
91
89 /* 1/2^n downscaling functions from imgconvert.c */ 92 /* 1/2^n downscaling functions from imgconvert.c */
90 void ff_img_copy_plane(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height); 93 void ff_img_copy_plane(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height);
91 void ff_shrink22(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height); 94 void ff_shrink22(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height);
92 void ff_shrink44(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height); 95 void ff_shrink44(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height);
93 void ff_shrink88(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height); 96 void ff_shrink88(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height);
356 359
357 void (*h261_loop_filter)(uint8_t *src, int stride); 360 void (*h261_loop_filter)(uint8_t *src, int stride);
358 361
359 void (*x8_v_loop_filter)(uint8_t *src, int stride, int qscale); 362 void (*x8_v_loop_filter)(uint8_t *src, int stride, int qscale);
360 void (*x8_h_loop_filter)(uint8_t *src, int stride, int qscale); 363 void (*x8_h_loop_filter)(uint8_t *src, int stride, int qscale);
364
365 void (*vp3_v_loop_filter)(uint8_t *src, int stride, int *bounding_values);
366 void (*vp3_h_loop_filter)(uint8_t *src, int stride, int *bounding_values);
361 367
362 /* assume len is a multiple of 4, and arrays are 16-byte aligned */ 368 /* assume len is a multiple of 4, and arrays are 16-byte aligned */
363 void (*vorbis_inverse_coupling)(float *mag, float *ang, int blocksize); 369 void (*vorbis_inverse_coupling)(float *mag, float *ang, int blocksize);
364 void (*ac3_downmix)(float (*samples)[256], float (*matrix)[2], int out_ch, int in_ch, int len); 370 void (*ac3_downmix)(float (*samples)[256], float (*matrix)[2], int out_ch, int in_ch, int len);
365 /* no alignment needed */ 371 /* no alignment needed */