31 const uint16_t *
dc,
int thresh,
35 int width,
int thresh,
45 ff_gradfun_filter_line_mmxext(x, dst + width, src + width, dc + width/2,
49 void ff_gradfun_filter_line_ssse3(intptr_t x,
uint8_t *dst,
const uint8_t *src,
50 const uint16_t *dc,
int thresh,
51 const uint16_t *dithers);
52 static void gradfun_filter_line_ssse3(
uint8_t *dst,
const uint8_t *src,
const uint16_t *dc,
int width,
int thresh,
const uint16_t *dithers)
62 ff_gradfun_filter_line_ssse3(x, dst + width, src + width, dc + width/2,
66 void ff_gradfun_blur_line_movdqa_sse2(intptr_t x, uint16_t *
buf,
const uint16_t *buf1, uint16_t *dc,
const uint8_t *src1,
const uint8_t *src2);
67 void ff_gradfun_blur_line_movdqu_sse2(intptr_t x, uint16_t *
buf,
const uint16_t *buf1, uint16_t *dc,
const uint8_t *src1,
const uint8_t *src2);
68 static void gradfun_blur_line_sse2(uint16_t *dc, uint16_t *
buf,
const uint16_t *buf1,
const uint8_t *src,
int src_linesize,
int width)
70 intptr_t x = -2*
width;
71 if (((intptr_t) src | src_linesize) & 15) {
72 ff_gradfun_blur_line_movdqu_sse2(x, buf + width, buf1 + width,
73 dc + width, src + width * 2,
74 src + width * 2 + src_linesize);
76 ff_gradfun_blur_line_movdqa_sse2(x, buf + width, buf1 + width,
77 dc + width, src + width * 2,
78 src + width * 2 + src_linesize);