uint8_t *s, *src_end;
const uint8_t *s, *src_end;
static void h_resample_slow(uint8_t *dst, int dst_width, uint8_t *src, int src_width,                            int src_start, int src_incr, int16_t *filters){    int src_pos, phase, sum, j, v, i;    uint8_t *s, *src_end;    int16_t *filter;    src_end = src + src_width;    src_pos = src_start;    for(i=0;i<dst_width;i++) {        s = src + (src_pos >> POS_FRAC_BITS);        phase = get_phase(src_pos);        filter = filters + phase * NB_TAPS;        sum = 0;        for(j=0;j<NB_TAPS;j++) {            if (s < src)                v = src[0];            else if (s >= src_end)                v = src_end[-1];            else                v = s[0];            sum += v * filter[j];            s++;        }        sum = sum >> FILTER_BITS;        if (sum < 0)            sum = 0;        else if (sum > 255)            sum = 255;        dst[0] = sum;        src_pos += src_incr;        dst++;    }}