22 #ifndef AVFILTER_GRADFUN_H
23 #define AVFILTER_GRADFUN_H
35 void (*filter_line) (uint8_t *dst, uint8_t *src, uint16_t *dc,
int width,
int thresh,
const uint16_t *dithers);
37 void (*blur_line) (uint16_t *dc, uint16_t *buf, uint16_t *buf1, uint8_t *src,
int src_linesize,
int width);
void ff_gradfun_blur_line_c(uint16_t *dc, uint16_t *buf, uint16_t *buf1, uint8_t *src, int src_linesize, int width)
void ff_gradfun_filter_line_mmx2(uint8_t *dst, uint8_t *src, uint16_t *dc, int width, int thresh, const uint16_t *dithers)
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 ff_gradfun_filter_line_ssse3(uint8_t *dst, uint8_t *src, uint16_t *dc, int width, int thresh, const uint16_t *dithers)
uint16_t * buf
holds image data for blur algorithm passed into filter.
static void(WINAPI *cond_broadcast)(pthread_cond_t *cond)
int chroma_w
width of the chroma planes
void ff_gradfun_blur_line_sse2(uint16_t *dc, uint16_t *buf, uint16_t *buf1, uint8_t *src, int src_linesize, int width)
int thresh
threshold for gradient algorithm
int chroma_r
blur radius for the chroma planes