From: Robert Jarzmik <robert.jarzmik@free.fr>
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: video4linux-list@redhat.com
Subject: Re: Capturing video and still images using one driver
Date: Fri, 06 Nov 2009 18:11:16 +0100 [thread overview]
Message-ID: <87tyx7lgsr.fsf@free.fr> (raw)
In-Reply-To: <Pine.LNX.4.64.0911052104430.5620@axis700.grange> (Guennadi Liakhovetski's message of "Thu\, 5 Nov 2009 21\:37\:46 +0100 \(CET\)")
Guennadi Liakhovetski <g.liakhovetski@gmx.de> writes:
>> What this makes me think is that a sensor could provide several "contexts" of
>> use, as :
>> - full resolution still image context
>> - low resolution still image context
>> - full resolution video context
>> - low resolution video context
>
> Why fixed resolutions? Just make it possible to issue S_FMT for video or
> for still imaging... That would work seamlessly with several inputs
> (S_INPUT, S_FMT...).
It's not about _fixed_ resolution. It's rather about power consumption
actually. In mt9m111 sensor, there are 2 modes : A and B. Mode A always eats
tiny amounts of power, but the output resolution is limited to 640x480 IIRC.
Mode B eats more power, but allows full resolution of 1280x1024.
As I saw it, a "context" would allow a range of resolution, a range of clock,
and maybe capability to capture a video stream or not.
What's behind the concept of "context" is : a set of capabilities the hardware
can store internally (in terms of resolution, type of output, power consumption,
etc ...). And of course a "hardware switch" to switch between setups.
>> Then, a new/existing v4l2 call would switch the context (perhaps based on buffer
>> type ?) of the sensor.
>
> ...on a second thought, it doesn't seem that smart to me any more to tie
> the streaming vs. still mode distinction to a specific buffer type...
I truly don't know. I'll take your word for it.
Cheers.
--
Robert
--
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:[~2009-11-06 17:11 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-03 0:21 Capturing video and still images using one driver Neil Johnson
2009-11-03 22:02 ` Guennadi Liakhovetski
2009-11-03 22:13 ` Neil Johnson
2009-11-11 23:56 ` Neil Johnson
2009-11-12 7:21 ` Guennadi Liakhovetski
2010-04-17 23:26 ` Leon Woestenberg
2009-11-04 19:57 ` Robert Jarzmik
2009-11-05 20:37 ` Guennadi Liakhovetski
2009-11-06 17:11 ` Robert Jarzmik [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-11-05 20:38 Guennadi Liakhovetski
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=87tyx7lgsr.fsf@free.fr \
--to=robert.jarzmik@free.fr \
--cc=g.liakhovetski@gmx.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox