Re: [RFC PATCH 0/5] v4l2-ctl: list controls values in a machine-readable format

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

 



On 01/03/2019 07:00 PM, Antonio Ospite wrote:
> Hi,
> 
> here is an experiment about listing controls values with v4l2-ctl in
> a way that makes it more easy to reload them, I would use something like
> that for https://git.ao2.it/v4l2-persistent-settings.git/
> 
> Patches 1 and 2 are just warm-up patches to get me familiar again with
> the v4l2-ctrl codebase, patch 2 is a small preparatory cleanup, and
> patches 4 and 5 showcase the idea.
> 
> Thanks,
>    Antonio
> 
> Antonio Ospite (5):
>   v4l2-ctl: list controls with menus when OptAll is specified
>   v4l2-ctl: list once when both OptListCtrls and OptListCtrlsMenus are
>     there

I merged these first two patches.

>   v4l2-ctl: use a dedicated function to print the control class name
>   v4l2-ctl: abstract the mechanism used to print the list of controls
>   v4l2-ctl: add an option to list controls in a machine-readable format

The others need more work, see my review of the last patch.

Thanks for working on this!

Regards,

	Hans

> 
>  utils/v4l2-ctl/v4l2-ctl-common.cpp | 95 +++++++++++++++++++++++++-----
>  utils/v4l2-ctl/v4l2-ctl.1.in       |  4 ++
>  utils/v4l2-ctl/v4l2-ctl.cpp        |  3 +-
>  utils/v4l2-ctl/v4l2-ctl.h          |  1 +
>  4 files changed, 88 insertions(+), 15 deletions(-)
> 




[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