diff options
author | Niklas Haas <git@haasn.dev> | 2024-10-10 23:24:31 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2024-11-25 11:02:16 +0100 |
commit | c461dcf2910bd5062f4cfad6bfa3e240c9cc9a3c (patch) | |
tree | a28fca8b97672a9b2c2ff1d92f80b9d8d2a42ea3 /libswscale/swscale_internal.h | |
parent | fb1696400924e14e65f842a93300b95a23f849fa (diff) | |
download | ffmpeg-c461dcf2910bd5062f4cfad6bfa3e240c9cc9a3c.tar.gz |
swscale/internal: expose sws_init_single_context() internally
Used by the graph API swscale wrapper, for now.
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Niklas Haas <git@haasn.dev>
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r-- | libswscale/swscale_internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index 5218ab0921..195b853586 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -958,6 +958,9 @@ extern const int32_t ff_yuv2rgb_coeffs[11][4]; extern const AVClass ff_sws_context_class; +int ff_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. |