[mythtv] brightness contrast etc.

Brent Hills bhills at openshores.com
Fri Mar 21 10:23:12 EST 2003


Prior to Myth I used to control brightness and color etc. for the tuner
with xvattr and xvinfo.

I recently took a look to see how my current myth settings compared to
the values I used to use.  The current values reported however are way
out of range.

I took a look at the code and saw that its using ioctls instead of the
XvSetPortAttribute to control these values.

Do others have valid values report with xvattr/xvinfo when mythtv is
running?  Do you think this is a problem or is it just inconsistent
because it uses a different interface (ioctl vs. xvSetPortAttribute) to
maintain the settings?

An excerpt of my xvinfo's output is pasted below, these values were
generated with 32768 in all channel color fields.

Thank you for any input.

Brent Hills.



X-Video Extension version 2.2
screen #0
  Adaptor #0: "video4linux"
    number of ports: 1
    port base: 59
    operations supported: PutVideo
    supported visuals:
      depth 16, visualID 0x23
      depth 16, visualID 0x24
      depth 16, visualID 0x25
      depth 16, visualID 0x26
    number of attributes: 8
      "XV_ENCODING" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is -1073744280)
      "XV_BRIGHTNESS" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is -1073744280)
      "XV_CONTRAST" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is -1073744280)
      "XV_SATURATION" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is -1073744280)
      "XV_HUE" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is -1073744280)
      "XV_VOLUME" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is -1073744280)
      "XV_MUTE" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is -1073744280)
      "XV_FREQ" (range 0 to 16000)
              client settable attribute
              client gettable attribute (current value is -1073744280)
    number of encodings: 21




More information about the mythtv-dev mailing list