Re: Question about setting V4L2_CID_AUTO_WHITE_BALANCE control to FALSE

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

 



Hi,

On Tuesday 16 November 2010 23:34:11 Shuzhen Wang wrote:
> Nevermind. I think behavior #1 makes more sense.

I agree with that.

> On Tuesday, November 16, 2010 11:30 AM Shuzhen Wang wrote:
> > 
> > When I set V4L2_CID_AUTO_WHITE_BALANCE control to FALSE, which one of the
> > following is the expected behavior?
> > 
> > 1. Hold the current white balance settting.
> > 2. Set the white balance to whatever V4L2_CID_WHITE_BALANCE_TEMPERATURE
> > control is set to.
> > 
> > The V4L2 API spec doesn't specify this clearly.

The reason why the specification doesn't clearly state what must be done is 
that the behaviour might be hardware dependent. Some hardware won't offer 
option 1, so drivers will be forced to go for option 2.

(I'm not totally sure that's why the specification isn't clear about the 
expected behaviour, but it's at least a good justification for it :-))

-- 
Regards,

Laurent Pinchart
--
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