static void h_resample(uint8_t *dst, int dst_width, uint8_t *src, int src_width, int src_start, int src_incr, int16_t *filters)
static void h_resample(uint8_t *dst, int dst_width, const uint8_t *src, int src_width, int src_start, int src_incr, int16_t *filters)
static void h_resample(uint8_t *dst, int dst_width, uint8_t *src, int src_width,                       int src_start, int src_incr, int16_t *filters){    int n, src_end;    if (src_start < 0) {        n = (0 - src_start + src_incr - 1) / src_incr;        h_resample_slow(dst, n, src, src_width, src_start, src_incr, filters);        dst += n;        dst_width -= n;        src_start += n * src_incr;    }    src_end = src_start + dst_width * src_incr;    if (src_end > ((src_width - NB_TAPS) << POS_FRAC_BITS)) {        n = (((src_width - NB_TAPS + 1) << POS_FRAC_BITS) - 1 - src_start) /             src_incr;    } else {        n = dst_width;    }#ifdef HAVE_MMX    if ((mm_flags & MM_MMX) && NB_TAPS == 4)        h_resample_fast4_mmx(dst, n,                              src, src_width, src_start, src_incr, filters);    else#endif        h_resample_fast(dst, n,                         src, src_width, src_start, src_incr, filters);    if (n < dst_width) {        dst += n;        dst_width -= n;        src_start += n * src_incr;        h_resample_slow(dst, dst_width,                         src, src_width, src_start, src_incr, filters);    }}