int leftBand, int rightBand)
int leftBand, int rightBand, int padtop, int padbottom, int padleft, int padright)
ImgReSampleContext *img_resample_full_init(int owidth, int oheight,                                      int iwidth, int iheight,                                      int topBand, int bottomBand,                                      int leftBand, int rightBand){    ImgReSampleContext *s;    s = av_mallocz(sizeof(ImgReSampleContext));    if (!s)        return NULL;    s->line_buf = av_mallocz(owidth * (LINE_BUF_HEIGHT + NB_TAPS));    if (!s->line_buf)         goto fail;        s->owidth = owidth;    s->oheight = oheight;    s->iwidth = iwidth;    s->iheight = iheight;    s->topBand = topBand;    s->bottomBand = bottomBand;    s->leftBand = leftBand;    s->rightBand = rightBand;        s->h_incr = ((iwidth - leftBand - rightBand) * POS_FRAC) / owidth;    s->v_incr = ((iheight - topBand - bottomBand) * POS_FRAC) / oheight;        build_filter(&s->h_filters[0][0], (float) owidth  / (float) (iwidth - leftBand - rightBand));    build_filter(&s->v_filters[0][0], (float) oheight / (float) (iheight - topBand - bottomBand));    return s; fail:    av_free(s);    return NULL;}