void ff_gradfun_blur_line_c(uint16_t *dc, uint16_t *buf, uint16_t *buf1, uint8_t *src, int src_linesize, int width)
Holds instance-specific information for gradfun.
int chroma_h
weight of the chroma planes
void ff_gradfun_filter_line_c(uint8_t *dst, uint8_t *src, uint16_t *dc, int width, int thresh, const uint16_t *dithers)
void(* filter_line)(uint8_t *dst, uint8_t *src, uint16_t *dc, int width, int thresh, const uint16_t *dithers)
DSP functions.
void(* blur_line)(uint16_t *dc, uint16_t *buf, uint16_t *buf1, uint8_t *src, int src_linesize, int width)
uint16_t * buf
holds image data for blur algorithm passed into filter.
int chroma_w
width of the chroma planes
int thresh
threshold for gradient algorithm
int chroma_r
blur radius for the chroma planes