VLC also have the same problem with hue. Maybe is more capable for other 
video applications to inform developers for mistakes in application and 
after he fix of userland application to switch to negative values of hue.
For more users is not important the exactly value of hue he ask only to 
work him cameras with all video applications.


Brian Johnson wrote:
> Ok just took a quick look at amsn source and yes the code for setting
> an attribute is definitely broken it checks the value tht you are
> setting for a range of 0 - 65535. this is definitely wrong as av4l2
> control value is first of all signed and second of all it should be
> using its defined min/max values anyways. I attached a quick patch
> that fixes this issue with amsn in case anyone is interested.
>
> Also kopete seems to have two issues one it appears it also doesn't
> bother to consider that a control value can be negative and kopete
> actually natively knows bayer format whcih unless i use somethign like
> libv4l it will use by default. and none of the controls that use our
> bridges color matrix (hue/sat/contrast/brightness) work when using
> bayer since it is not being converted to YUV. this is one reason you
> should not use bayer unless there is no other choice.
>
> Also I'm of the mind that we should not modify our driver in order to
> fix broken applications. The more correct thing will be to patch the
> applications to properly follow v4l2 specs. In this case allow
> controls with negative values.
>
> 2009/3/20 Boris Borisov <[email protected]>:
>   
>> I forget! Also kopette is not support correctly hue tuning
>>
>> Brian Johnson wrote:
>>
>> So you are saying the that when you use v4lucp to adjust the hue
>> control below 0 that he hue does not actually change? And that the
>> function sn9c20x_set_optical_parameters is never called?
>>
>> 2009/3/19 Boris Borisov <[email protected]>:
>>
>>
>>
>> snip
>>
>>
>>
>>
>>
>>
>>
>>     
>
> >
>   


--~--~---------~--~----~------------~-------~--~----~
Lets make microdia webcams plug'n play, (currently plug'n pray)
To post to this group, send email to [email protected]
Visit us online https://groups.google.com/group/microdia
-~----------~----~----~----~------~----~------~--~---

Reply via email to