[mythtv] [PATCH] Picture Adjust

Ben Levitt levittben at yahoo.com
Tue Oct 7 23:12:34 EDT 2003


This patch lets you adjust the global playback
settings for brightness, contrast, saturation
("colour") :) , and hue.

F1-F8 still set up the recording settings per channel,
but with this patch, you also have control,
post-recording, of what you see.  If you recorded a
little too dark, you can brighten it back up.  These
settings are saved per-host, so you can have seperate
settings for your computer screen, your not-so-bright
projector, your roommate's tv that looks kinda
green...

Press F repeatedly to cycle through the settings
{Volume, Brightness, Contrast, Colour, Hue}
Press Left and Right arrows to adjust the current
setting.  When the OSD fades out, Left and Right
arrows go back to forward and rewind.

Some open issues and questions I have:

1) I only implemented actually changing these settings
when using Xv.  If anyone knows how to do this using
the ivtv out or XvMC, please let me know!  Viaslice?

2) If you've resterted X since last adjusting these
settings, you'll have to adjust each one again to get
the settings to take effect again.  When I try to set
these settings when the videoout object starts, it
dies.  I'll work on this more tomorrow hopefully...

3) Should I change the OSD code to take a callback
function to use when the OSD is done fading out?  This
seems like it would be the clean way to know when the
OSD has faded out.  This would also be useful for
another patch I want to fix up...

4) Isaac, is this patch (or something like it)
something you'd like to commit after it gets cleaned
up?  (I think I got all the white space nice and
clean!  :] )

5) Please try this out and send comments!

Ben


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pictureAdjust.patch
Type: application/octet-stream
Size: 17752 bytes
Desc: pictureAdjust.patch
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20031007/d3888d4f/pictureAdjust.obj


More information about the mythtv-dev mailing list