[MPlayer-dev-eng] [PATCH] SwScaler YV12 to BGR32 having zeroed alpha
Luca Barbato
lu_zero at gentoo.org
Mon May 30 00:29:46 CEST 2005
Jason Tackaberry wrote:
> On Sun, 2005-05-29 at 23:02 +0200, Michael Niedermayer wrote:
> Well there are a couple extra additions and shifts in C case, and a
> pcmpeqb instead of pxor in the MMX case, so it will naturally be slower,
> but I'd be shocked if it was measurable. :)
What about the other arches?
> At any rate, the attached patch makes the alpha bytes 0xFF in SwScaler
> for unscaled and scaled conversions to BGR32 or RGB32 in both C and MMX
> cases. All cases have been tested and work. The only thing I'm not
...
> This accomplishes similar goals to Emotion, which provides a video
> canvas object, except that instead of using Xine, I can use MPlayer
> controlled in slave mode. You're probably thinking that outbuf should
> be a video-out rather than a filter, but for MeBox I require the ability
> to render to the buffer and Xv at once, or toggle between them. (This
> is a pretty obscure requirement, but it's the reason I wrote this as a
> filter instead of vo.)
Could be possible have mplayer of ffmpeg as another emotion backend.
> Maybe that explains it. Or maybe it just raises more questions. I'll
> be submitting more code this week for vf_osd (and probably vf_outbuf,
> though that might be a tougher sell). It would be nice to see vf_osd
> merged because Freevo will undoubtedly use it as well.
Looks interesting projects. I'm looking forward to have a look at the
patches.
lu
--
Luca Barbato
Gentoo/linux Developer Gentoo/PPC Operational Leader
http://dev.gentoo.org/~lu_zero
More information about the MPlayer-dev-eng
mailing list