making movies transparent
PhiHo Hoang
squeak-dev at lists.squeakfoundation.org
Thu Sep 5 18:59:02 UTC 2002
John,
Hit me. :-)
Cheers,
PhiHo.
----- Original Message -----
From: "John M McIntosh" <johnmci at smalltalkconsulting.com>
To: <squeak-dev at lists.squeakfoundation.org>
Sent: Thursday, September 05, 2002 1:59 PM
Subject: making movies transparent
> Someone last week mumbled something about transparent movies.
>
> So I changed the mpeg plugin to do two things
>
> a) fill in a Alpha channel value, versus 0.
> b) An interface to supply a mapping table to map 0-255 to anything you
> wish, IE blue screening. Tho running with a reversed mapping table is
> kinda fun for a few minutes.
>
> Why in the plugin?
> Faster. We already stick 0 in the alphachannel, and we already clip
> values at the YUV to RGB color space translation so having a different
> mapping table comes at no additional computational cost.
>
> I'll need some windows folk to recompile and test on the windows
> platform, those folks should step forward. Also I've NOT changed any of
> the MMX related code so I'm not sure, actually I've not even looked if
> this change affects thing in that area.
>
> But unless I want to curl up with a good squeak image, I'm not sure how
> to make the movie display morphic actually deal with transparency. I
> noted it runs movies in 16 bit rgb, but if I change it to 32bit ARGB
> then I don't get what I expected to see, a transparent Form.
>
> Clues are welcome.
>
>
More information about the Squeak-dev
mailing list
|