Yes I know. But functions is executed and no effects on image. On this 
case white balance is same style function and working well.


 ### v4l2 device info [/dev/video0] ###
general info                         
    VIDIOC_QUERYCAP                  
        driver                  : "sn9c20x"
        card                    : "SN9C20x USB 2.0 Webcam Driver"
        bus_info                : "usb-0000:00:1d.7-4"          
        version                 : 32.9.1                        
        capabilities            : 0x5000001 
[VIDEO_CAPTURE,READWRITE,STREAMING]

standards

inputs
    VIDIOC_ENUMINPUT(0)
        index                   : 0
        name                    : "Webcam"
        type                    : CAMERA 
        audioset                : 0      
        tuner                   : 0      
        std                     : 0x0 [] 
        status                  : 0x0 [] 

video capture
    VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
        index                   : 0
        type                    : VIDEO_CAPTURE
        flags                   : 0           
        description             : "SN9C20X I420 (YUV 4:2:0)"
        pixelformat             : 0x30323953 [S920]        
    VIDIOC_ENUM_FMT(1,VIDEO_CAPTURE)                       
        index                   : 1                        
        type                    : VIDEO_CAPTURE            
        flags                   : 0                        
        description             : "Bayer 8bit (BGGR)"      
        pixelformat             : 0x31384142 [BA81]        
    VIDIOC_ENUM_FMT(2,VIDEO_CAPTURE)                       
        index                   : 2                        
        type                    : VIDEO_CAPTURE            
        flags                   : 0                        
        description             : "RGB3"                   
        pixelformat             : 0x33424752 [RGB3]        
    VIDIOC_ENUM_FMT(3,VIDEO_CAPTURE)                       
        index                   : 3                        
        type                    : VIDEO_CAPTURE            
        flags                   : 0                        
        description             : "BGR3"                   
        pixelformat             : 0x33524742 [BGR3]        
    VIDIOC_ENUM_FMT(4,VIDEO_CAPTURE)                       
        index                   : 4                        
        type                    : VIDEO_CAPTURE            
        flags                   : 0                        
        description             : "YU12"                   
        pixelformat             : 0x32315559 [YU12]        
    VIDIOC_G_FMT(VIDEO_CAPTURE)                            
        type                    : VIDEO_CAPTURE            
        fmt.pix.width           : 640                      
        fmt.pix.height          : 480                      
        fmt.pix.pixelformat     : 0x31384142 [BA81]        
        fmt.pix.field           : ANY                      
        fmt.pix.bytesperline    : 640                      
        fmt.pix.sizeimage       : 307200                   
        fmt.pix.colorspace      : SRGB                     
        fmt.pix.priv            : 1                        

controls
    VIDIOC_QUERYCTRL(BASE+0)
        id                      : 9963776
        type                    : INTEGER
        name                    : "Brightness"
        minimum                 : 0          
        maximum                 : 255        
        step                    : 1          
        default_value           : 127        
        flags                   : 0          
    VIDIOC_QUERYCTRL(BASE+1)                 
        id                      : 9963777    
        type                    : INTEGER    
        name                    : "Contrast" 
        minimum                 : 0          
        maximum                 : 255        
        step                    : 1          
        default_value           : 127        
        flags                   : 0          
    VIDIOC_QUERYCTRL(BASE+2)                 
        id                      : 9963778    
        type                    : INTEGER    
        name                    : "Saturation"
        minimum                 : 0          
        maximum                 : 255        
        step                    : 1          
        default_value           : 127        
        flags                   : 0          

### video4linux device info [/dev/video0] ###
general info                                
    VIDIOCGCAP                              
        name                    : "SN9C20x USB 2.0 Webcam Driver"
        type                    : 0x1 [CAPTURE]                 
        channels                : 1                             
        audios                  : 0                             
        maxwidth                : 640                           
        maxheight               : 480                           
        minwidth                : 48                            
        minheight               : 32                            

channels
    VIDIOCGCHAN(0)
        channel                 : 0
        name                    : "Webcam"
        tuners                  : 0      
        flags                   : 0x0 [] 
        type                    : CAMERA 
        norm                    : 0      

tuner
ioctl VIDIOCGTUNER: Invalid argument

audio
ioctl VIDIOCGAUDIO: Invalid argument

picture
    VIDIOCGPICT
        brightness              : 32639
        hue                     : 0
        colour                  : 32639
        contrast                : 32639
        whiteness               : 12850
        depth                   : 8
        palette                 : unknown

buffer
ioctl VIDIOCGFBUF: Invalid argument

window
    VIDIOCGWIN
        x                       : 0
        y                       : 0
        width                   : 640
        height                  : 480
        chromakey               : 0
        flags                   : 0



Brian Johnson wrote:
> Its strange that the contrast and brightness seem to have stopped
> working for the 6270 since those are controlled via the bridge which
> should work the same for all sensors. One thing you should check is
> run the command v4l-info and check which format it says your camera is
> using because brigghtness and contrast do not in fact work with the
> bayer format.
>
> On Sat, Mar 14, 2009 at 1:07 PM, Stefan Krastanov
> <[email protected]> wrote:
>   
>> Hello,
>>
>> On  0C45:6270 with MT9V011 it's also not working(checked with v4l2ucp). I
>> have reported it, but failed to give details - I was more interested in
>> another problem.
>>
>> I have some time so I can check in exactly which version the support
>> regresses but I will need at least some initial time interval in which to
>> begin the search. And also, I'll be happy if you can tell me how to row back
>> to old versions using git (based on date if it's possible) - if not I'll dig
>> in the man page ;)
>>
>> Best Regards
>> Stefan Krastanov
>>
>> 2009/3/14 Boris Borisov <[email protected]>
>>     
>>> Hello,
>>> Can you check the brightness and contrast functions, because for me this
>>> functions is broken.
>>> Really i call sn9c20x_set_contrast with different values of brightness
>>> and contrast via sys-fs and V4l functions (ekiga) but brightness and
>>> contrast is not changed.
>>> On very old version (who I use) this functions is working.
>>>
>>> Best regards
>>> Bobby
>>>
>>>
>>>
>>>       
>>     
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
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