On Sat, Oct 05, 2024 at 09:24:02PM +0200, Niklas Haas wrote: > From: Niklas Haas <g...@haasn.dev> > > Sponsored-by: Sovereign Tech Fund > Signed-off-by: Niklas Haas <g...@haasn.dev> > --- > libswscale/swscale_internal.h | 47 +++++++++++++++++++++++------------ > 1 file changed, 31 insertions(+), 16 deletions(-) > > diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h > index 0e9d37b5b0..e87b073d57 100644 > --- a/libswscale/swscale_internal.h > +++ b/libswscale/swscale_internal.h > @@ -292,6 +292,31 @@ typedef void (*yuv2anyX_fn)(struct SwsContext *c, const > int16_t *lumFilter, > const int16_t **alpSrc, uint8_t **dest, > int dstW, int y); > > +/** > + * Unscaled conversion of luma/alpha plane to YV12 for horizontal scaler. > + */ > +typedef void (*planar1_YV12_fn)(uint8_t *dst, const uint8_t *src, const > uint8_t *src2, > + const uint8_t *src3, int width, uint32_t > *pal, > + void *opaque); > + > +/** > + * Unscaled conversion of chroma plane to YV12 for horizontal scaler. > + */ > +typedef void (*planar2_YV12_fn)(uint8_t *dst, uint8_t *dst2, const uint8_t > *src, > + const uint8_t *src2, const uint8_t *src3, > + int width, uint32_t *pal, void *opaque); > +
iam not 100% sure the names are perfect but the patch is ok, we can rename them later, if someone has a better name (i dont have one ATM) thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The worst form of inequality is to try to make unequal things equal. -- Aristotle
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".