Re: image capture with ov9655 camera and intel pxa270C5C520

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Kai

On Mon, 23 Nov 2009, Kai Tiwisina wrote:

> Hello,
> 
> my name is Kai Tiwisina and i'm a student in germany and i'm trying to 
> communicate with a Omnivision ov9655 camera which is atteched with my 
> embedded linux system via the v4l commands.
> 
> I've written a small testprogram which should grow step by step while i'm 
> trying one ioctl after another.
> Everything worked fine until i tried to use the VIDIOC_S_FMT ioctl. It's 
> always giving me an "invalid argument" failure and i don't know why.

Since you don't seem to have the source of the driver at hand, I'd suggest 
to use the VIDIOC_ENUM_FMT http://v4l2spec.bytesex.org/spec/r8367.htm 
ioctl to enumerate all pixel formats supported be the driver. If the 
driver you're using is the same, that Stefan (cc'ed) has submitted to the 
list, then indeed it does not support the V4L2_PIX_FMT_RGB555 format, that 
you're requesting, only various YUV (and a Bayer?) formats.

> Perhaps someone of you is able to help me with this ioctl and give an 
> advice for a simple flow chart for a single frame image capture. Which 
> ioctl steps are neccessary and where do i need loops and for what, because 
> the capture-example.c from bytesex.org is way too general for my purpose.

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux