[FFmpeg-devel] [PATCH v7 07/12] swscale/internal: expose sws_init_single_context() internally
Michael Niedermayer
michael at niedermayer.cc
Thu Nov 21 02:30:30 EET 2024
On Sat, Nov 16, 2024 at 12:25:02PM +0100, Niklas Haas wrote:
> From: Niklas Haas <git at haasn.dev>
>
> Used by the graph API swscale wrapper, for now.
>
> Sponsored-by: Sovereign Tech Fund
> Signed-off-by: Niklas Haas <git at haasn.dev>
> ---
> libswscale/swscale_internal.h | 3 +++
> libswscale/utils.c | 4 ++--
> 2 files changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
> index 5218ab0921..7c9517975b 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 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.
is it intended to be a public API function ?
sws_* would be public API
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Never trust a computer, one day, it may think you are the virus. -- Compn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20241121/eab91148/attachment.sig>
More information about the ffmpeg-devel
mailing list