All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
To: Kai Tiwisina <kai_tiwisina@gmx.de>
Cc: Linux Media Mailing List <linux-media@vger.kernel.org>,
	Stefan Herbrechtsmeier <hbmeier@hni.uni-paderborn.de>
Subject: Re: image capture with ov9655 camera and intel pxa270C5C520
Date: Mon, 23 Nov 2009 21:40:35 +0100 (CET)	[thread overview]
Message-ID: <Pine.LNX.4.64.0911232131590.4207@axis700.grange> (raw)
In-Reply-To: <20091123183928.206900@gmx.net>

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/

  reply	other threads:[~2009-11-23 20:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-23 18:39 image capture with ov9655 camera and intel pxa270C5C520 Kai Tiwisina
2009-11-23 20:40 ` Guennadi Liakhovetski [this message]
2009-11-24  1:02   ` Kai Tiwisina
2009-11-24  9:14     ` Stefan Herbrechtsmeier
2010-02-18  0:07       ` Kai Tiwisina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.0911232131590.4207@axis700.grange \
    --to=g.liakhovetski@gmx.de \
    --cc=hbmeier@hni.uni-paderborn.de \
    --cc=kai_tiwisina@gmx.de \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.