[FFmpeg-devel] [PATCH v7 07/12] swscale/internal: expose sws_init_single_context() internally

Niklas Haas ffmpeg at haasn.xyz
Thu Nov 21 14:20:24 EET 2024


On Thu, 21 Nov 2024 01:30:30 +0100 Michael Niedermayer <michael at niedermayer.cc> wrote:
> 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

Fixed.

>
> thx
>
> [...]
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> Never trust a computer, one day, it may think you are the virus. -- Compn
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list