[FFmpeg-devel] [PATCH 2/4] lavfi/opencl: Handle overlay input formats correctly.

Li, Zhong zhong.li at intel.com
Wed Nov 7 10:37:27 EET 2018


> > > > -----Original Message-----
> > > > From: Song, Ruiling
> > > > Sent: Monday, October 29, 2018 1:18 PM
> > > > To: ffmpeg-devel at ffmpeg.org
> > > > Cc: Song, Ruiling <ruiling.song at intel.com>
> > > > Subject: [PATCH 2/4] lavfi/opencl: Handle overlay input formats
> correctly.
> > > >
> > > > The main input may have alpha channel, we just ignore it.
> > > > Also add some checks for incompatible input formats.
> > > >
> > > > Signed-off-by: Ruiling Song <ruiling.song at intel.com>
> > LGTM.
> > BTW, could the main input with alpha case be supported?
> 
> I am not sure what kind of support do you mean?
> I simply ignore the alpha channel of the main input, and do the alpha
> blending using the overlay alpha.
> Before this patch, the filter will do it wrong if the main input has alpha
> channel. Now it works with this patch.
> 
> Thanks!
> Ruiling

I mean support alpha blending with alpha channel of main input when no overlay alpha.


More information about the ffmpeg-devel mailing list