Re: [RFC] snapshot mode, flash capabilities and control

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

 



On Wednesday, March 02, 2011 18:51:43 Guennadi Liakhovetski wrote:
> ...Just occurred to me:
> 
> On Mon, 28 Feb 2011, Guennadi Liakhovetski wrote:
> 
> > On Mon, 28 Feb 2011, Guennadi Liakhovetski wrote:
> > 
> > > On Mon, 28 Feb 2011, Hans Verkuil wrote:
> > > 
> > > > Does anyone know which drivers stop capture if there are no buffers available? 
> > > > I'm not aware of any.
> > > 
> > > Many soc-camera hosts do that.
> > > 
> > > > I think this is certainly a good initial approach.
> > > > 
> > > > Can someone make a list of things needed for flash/snapshot? So don't look yet 
> > > > at the implementation, but just start a list of functionalities that we need 
> > > > to support. I don't think I have seen that yet.
> > > 
> > > These are not the features, that we _have_ to implement, these are just 
> > > the ones, that are related to the snapshot mode:
> > > 
> > > * flash strobe (provided, we do not want to control its timing from 
> > > 	generic controls, and leave that to "reasonable defaults" or to 
> > > 	private controls)
> 
> Wouldn't it be a good idea to also export an LED (drivers/leds/) API from 
> our flash implementation? At least for applications like torch. Downside: 
> the LED API itself is not advanced enough for all our uses, and exporting 
> two interfaces to the same device is usually a bad idea. Still, 
> conceptually it seems to be a good fit.

I believe we discussed LEDs before (during a discussion about adding illuminator
controls). I think the preference was to export LEDs as V4L controls.

In general I am no fan of exporting multiple interfaces. It only leads to double
maintenance and I see no noticable advantage to userspace, only confusion.

Just my 2 cents.

Regards,

	Hans

> 
> Thanks
> Guennadi
> 
> > > * trigger pin / command
> > > * external exposure
> > > * exposure mode (ERS, GRR,...)
> > > * use "trigger" or "shutter" for readout
> > > * number of frames to capture
> > 
> > Add
> > 
> > * multiple videobuffer queues
> > 
> > to the list
> 
> ---
> 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
> 
> 

-- 
Hans Verkuil - video4linux developer - sponsored by Cisco
--
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