Revision e6e7ba0c libavfilter/vf_gradfun.c

View differences:

libavfilter/vf_gradfun.c
49 49
    {0x54,0x34,0x4C,0x2C,0x52,0x32,0x4A,0x2A},
50 50
};
51 51

  
52
void ff_gradfun_filter_line_c(uint8_t *dst, uint8_t *src, uint16_t *dc, int width, int thresh, const uint16_t *dithers)
52
void ff_gradfun_filter_line_c(uint8_t *dst, const uint8_t *src, const uint16_t *dc, int width, int thresh, const uint16_t *dithers)
53 53
{
54 54
    int x;
55 55
    for (x = 0; x < width; x++, dc += x & 1) {
......
63 63
    }
64 64
}
65 65

  
66
void ff_gradfun_blur_line_c(uint16_t *dc, uint16_t *buf, uint16_t *buf1, uint8_t *src, int src_linesize, int width)
66
void ff_gradfun_blur_line_c(uint16_t *dc, uint16_t *buf, const uint16_t *buf1, const uint8_t *src, int src_linesize, int width)
67 67
{
68 68
    int x, v, old;
69 69
    for (x = 0; x < width; x++) {
......
74 74
    }
75 75
}
76 76

  
77
static void filter(GradFunContext *ctx, uint8_t *dst, uint8_t *src, int width, int height, int dst_linesize, int src_linesize, int r)
77
static void filter(GradFunContext *ctx, uint8_t *dst, const uint8_t *src, int width, int height, int dst_linesize, int src_linesize, int r)
78 78
{
79 79
    int bstride = FFALIGN(width, 16) / 2;
80 80
    int y;

Also available in: Unified diff