public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* still image capture with video preview
@ 2009-11-04 17:13 Neil Johnson
  2009-11-04 18:31 ` Karicheri, Muralidharan
  0 siblings, 1 reply; 4+ messages in thread
From: Neil Johnson @ 2009-11-04 17:13 UTC (permalink / raw)
  To: linux-media

linux-media,

I previously posted this on the video4linux-list, but linux-media
seems a more appropriate place.

I am developing on the OMAP3 system using a micron/aptina mt9p031
5-megapixel imager.  This CMOs imager supports full image capture
(2592x1944 pixels) or you can capture subregions using skipping and
binning.  We have proven both capabilities, but would like to be able
to capture both VGA sized video and still images without using
separate drivers.

So far, I have not found any support for capturing large images and
video through a single driver interface.  Does such a capability exist
within v4l2?  One possible way to solve the problem is to allocate N
buffers of the full 5-megapixel size (they end up being 10-MB for each
buffer since I'm using 16-bits per pixel), and then using a small
portion of that for video.  This is less desirable since when I'm
capturing video, I only need 640x480 size buffers, and I should only
need one snapshot buffer at a time (I'm not streaming them in, just
take a snapshot and go back to live video capture).  Is there a way to
allocate a side-buffer for the 5-megapixel image and also allocate
"normal" sized buffers for video within the same driver?  Any
recommendations on how to accomplish such a thing?  I would think that
camera-phones using linux would have run up against this.  Thanks,

Neil Johnson

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-11-05  0:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-04 17:13 still image capture with video preview Neil Johnson
2009-11-04 18:31 ` Karicheri, Muralidharan
2009-11-04 19:24   ` Neil Johnson
2009-11-05  0:14     ` Eino-Ville Talvala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox