It seems my message didn't come through... Too many attachments
apparently. I wont attach anything this time. Get it at my website.


I have added color adjustment and deflicker support to the CRTC2 code.
It supports brightness, contrast, satiuration and hue. The calculations I
use for brightness and contrast do not match what windows uses. But I
think it's good enough.

The deflicker stuff is supported through DLOP_FLICKER_FILTERING. Maven has
two possible deflicker modes but the layer options only allow one to
enable or disable this. I've hardcoded it to use mode 2. Might need
another dfb_config option to select between the modes.

I think the code is now feature complete. At least I can't think of any
other stuff to support. Seems quite solid on my G400. There may be some
bugs though. For example I'm not totally convinced that I've eliminated
the image jumpiness I mentioned. It seems that sometimes it just happens.
Maybe CRTC2 and maven are out of phase just one field. Maybe the preload
register needs to programmed at the right time or maybe it's some magic
maven programming that is needed. I'm going to do some tests on this.

I also have a simple MPlayer video out plugin for this stuff. It was
originally based on Jiri Svoboda's vo_directfb but I ended up ripping out
everything I didn't need. It has working color adjustment support but it
doens't have any aspect ratio code. So it will stretch everything to full
screen.

-- 
Ville Syrj�l�
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/


-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-dev" as subject.

Reply via email to