Hello,
  I have the ov511 driver installed on a RH7.2 linux. I have been able
to succesfully loop back the captured images of my HawkEye UC310
camera. 
 How ever when ever i want to set the brightness or contrast or depth
of the capture picture it always is returning -1. I am appending a
portion of the code for clarification

    struct video_picture pic;

    pic.palette = VIDEO_PALETTE_YUV420;
    pic.depth = 24;
    pic.brightness = 120;
    pic.contrast = 100;
    pic.hue =0;
    pic.colour =100;
    pic.whiteness = 0;

    if( ioctl(cam->dev, VIDIOCSPICT,&pic ) == -1)
    {
        perror("\n*********CSPICT**************:\n");   
    }

On the other hand the same settings can be easily changed using xawtv.
I have tried to go through the xawtv code but it dosent seem to do
anything special with the ioct calls (they use xioctl which actually is
a frontend for a simple ioct call).
 Is there any particular thing that i have to do before using this
ioctl call  (I have used cam->dev= open("/dev/video0",O_RDWR) ;) ). How
can i set these values?

regards
Affan Ahmed.




__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to