1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-29 05:57:37 +02:00

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>
This commit is contained in:
Niklas Haas
2024-10-10 23:24:31 +02:00
parent fb16964009
commit c461dcf291
2 changed files with 7 additions and 4 deletions

View File

@@ -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.