Revision e6e7ba0c libavfilter/x86/gradfun.c

View differences:

libavfilter/x86/gradfun.c
23 23
DECLARE_ALIGNED(16, static const uint16_t, pw_7f)[8] = {0x7F,0x7F,0x7F,0x7F,0x7F,0x7F,0x7F,0x7F};
24 24
DECLARE_ALIGNED(16, static const uint16_t, pw_ff)[8] = {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF};
25 25

  
26
void ff_gradfun_filter_line_mmx2(uint8_t *dst, uint8_t *src, uint16_t *dc, int width, int thresh, const uint16_t *dithers)
26
void ff_gradfun_filter_line_mmx2(uint8_t *dst, const uint8_t *src, const uint16_t *dc, int width, int thresh, const uint16_t *dithers)
27 27
{
28 28
#if HAVE_MMX
29 29
    intptr_t x;
......
71 71
#endif
72 72
}
73 73

  
74
void ff_gradfun_filter_line_ssse3(uint8_t *dst, uint8_t *src, uint16_t *dc, int width, int thresh, const uint16_t *dithers)
74
void ff_gradfun_filter_line_ssse3(uint8_t *dst, const uint8_t *src, const uint16_t *dc, int width, int thresh, const uint16_t *dithers)
75 75
{
76 76
#if HAVE_SSSE3
77 77
    intptr_t x;
......
118 118
#endif // HAVE_SSSE3
119 119
}
120 120

  
121
void ff_gradfun_blur_line_sse2(uint16_t *dc, uint16_t *buf, uint16_t *buf1, uint8_t *src, int src_linesize, int width)
121
void ff_gradfun_blur_line_sse2(uint16_t *dc, uint16_t *buf, const uint16_t *buf1, const uint8_t *src, int src_linesize, int width)
122 122
{
123 123
#if HAVE_SSE
124 124
#define BLURV(load)\

Also available in: Unified diff