gsc_get_ratio_shift
ret = gsc_get_ratio_shift(ctx, src_w, dst_w, &sc->pre_hratio);
ret = gsc_get_ratio_shift(ctx, src_h, dst_h, &sc->pre_vratio);