Message ID | 20241024102737.792421-9-ffmpeg@haasn.xyz |
---|---|
State | New |
Headers | show |
Series | major refactor and new scaling API | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index 12fa406e2c..a24b49660a 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -957,6 +957,9 @@ extern const int32_t ff_yuv2rgb_coeffs[11][4]; extern const AVClass ff_sws_context_class; +int sws_init_single_context(SwsContext *sws, SwsFilter *srcFilter, + SwsFilter *dstFilter); + /** * Set c->convert_unscaled to an unscaled converter if one exists for the * specific source and destination formats, bit depths, flags, etc. diff --git a/libswscale/utils.c b/libswscale/utils.c index fb62e2e8e7..6fda7e6e51 100644 --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -1318,8 +1318,8 @@ static enum AVPixelFormat alphaless_fmt(enum AVPixelFormat fmt) } } -static av_cold int sws_init_single_context(SwsContext *sws, SwsFilter *srcFilter, - SwsFilter *dstFilter) +av_cold int sws_init_single_context(SwsContext *sws, SwsFilter *srcFilter, + SwsFilter *dstFilter) { int i; int usesVFilter, usesHFilter;