Re: reading config parameters of omap3-isp subdevs

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

 



I was just wondering the same thing as far as reading the current
settings. The reason why I would want to read the settings (could be
different than Michael's) is that there are a lot of settings that I
am still unfamiliar with yet. I don't know the default values. So by
being able to read the entire settings and adjust only the white
balance gain or such would make the learning process considerably less
sharp. I would love to have the read option.

Josh


Hi Michael,

On Friday 16 March 2012 15:06:15 Michael Jones wrote:
> Hi all,
>
> I am playing around with some parameters in the previewer on the ISP. With
> ioctl VIDIOC_OMAP3ISP_PRV_CFG I am able to write the various parameters but
> what I'm missing is a way to read them. For example, I have no way to adjust
> only coef2 in 'struct omap3isp_prev_wbal' while leaving the others
> unchanged. If I could first read the whole omap3isp_prev_wbal structure,
> then I could change just the things I want to change. This seems like it
> would be common functionality for such ioctls. I didn't find any previous
> discussion related to this.
>
> I could imagine either adding a r/w flag to 'struct
> omap3isp_prev_update_config' or adding a new ioctl entirely. I think I
> would prefer the r/w flag.  Feedback?
>
> I noticed that other ISP subdevs have similar ioctls.  Perhaps a similar
> thing would be useful there, but right now I'm only looking at the
> previewer.

Adding a R/W bit to the flag argument should indeed work. However, I'm
wondering what your use case for reading parameters back is. The preview
engine parameter structures seem pretty-much self-contained to me, I'm not
sure it would make sense to only modify one of the parameters.

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