From: Darius <augulis.darius@gmail.com>
To: video4linux-list@redhat.com
Subject: Re: question about SoC Camera driver (Micron)
Date: Thu, 22 May 2008 16:19:15 +0300 [thread overview]
Message-ID: <g13s6k$a2c$1@ger.gmane.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0805152121210.14292@axis700.grange>
Guennadi Liakhovetski wrote:
> On Thu, 15 May 2008, Darius wrote:
>
>> Guennadi, can you please describe more detailed struct soc_camera_device
>> structure? All these members xmin, ymin, etc...
>
> The main point is, that the unit is 1 pixel. The rest is pretty much
> implementation specific. Just see your datasheet and select some natural
> values for allowed frame sizes and location. As the struct declaration
> says:
>
> unsigned short width; /* Current window */
> unsigned short height; /* sizes */
> unsigned short x_min; /* Camera capabilities */
> unsigned short y_min;
> unsigned short x_current; /* Current window location */
> unsigned short y_current;
>
where they are used? as I can see, in *_try_fmt_cap() and *__set_fmt_cap() you are using hard coded constants.
in video_probe you are setting this structure, but these values are never used?
> The vales below are again min and max allowed values.
>
> unsigned short width_min;
> unsigned short width_max;
> unsigned short height_min;
> unsigned short height_max;
should they be used in *_try_fmt_cap() function to inform v4l2 driver about sensor posibilities?
now in *_try_fmt_cap() you are using hard coded constants. values from soc_camera_device *icd struct are not used?
btw, can you tell something about frame rate setting? how to implement that? for example, I want from user space adjust frame rate (4, 15, 25, 30fps...).
Should I pass these setting to sensor driver via *_set_fmt_cap()?
Thanks,
Darius.
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
next prev parent reply other threads:[~2008-05-22 13:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-12 14:03 question about SoC Camera driver (Micron) Darius
2008-05-12 18:32 ` Guennadi Liakhovetski
2008-05-13 8:31 ` Darius
2008-05-13 20:19 ` Guennadi Liakhovetski
2008-05-15 14:31 ` Darius
2008-05-15 19:39 ` Guennadi Liakhovetski
2008-05-22 13:19 ` Darius [this message]
2008-05-22 19:19 ` Guennadi Liakhovetski
2008-05-23 9:05 ` Darius
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='g13s6k$a2c$1@ger.gmane.org' \
--to=augulis.darius@gmail.com \
--cc=video4linux-list@redhat.com \
/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.