aboutsummaryrefslogtreecommitdiffstats
path: root/utils/v4l2-ctl/v4l2-ctl-sdr.cpp
AgeCommit message (Collapse)AuthorFilesLines
2020-10-30clang-tidy: use nullptrRosen Penev1-1/+1
Found with modernize-use-nullptr Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2020-09-09clean up includes and convert C includes to C++Rosen Penev1-17/+0
Several C includes ending in .h are deprecated in C++. Tested with several combinations of uClibc-ng, musl, glibc, libstdcpp, libcxx, and uClibc++. Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2020-09-09utils: v4l2-ctl: support V4L2_CAP_IO_MC in v4l2-ctl '--list-formats-*' commandsDafna Hirschfeld1-2/+2
Add optional <mbus_code> arg to 'v4l2-ctl --list-formats-*' commands for capture, metadata and output devices. If <mbus_code> is given and the device has capability V4L2_CAP_IO_MC then list only the formats that matches the mbus code. The mbus_code is ignored for devices that don't use it or don't have the V4L2_CAP_IO_MC capability. Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2020-05-14ubuntu1604: add missing headers for std::exitGregor Jasny1-0/+1
2020-05-06v4l2-ctl: zero v4l2_fmtdescHans Verkuil1-2/+2
In several places struct v4l2_fmtdesc was not properly zeroed. Fix this. This missing initialization caused vimc to fail since the new mbus_code field was uninitialized. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2020-04-28utils: replace exit with std variantRosen Penev1-1/+1
Also converted to the appropriate macros for clarity. Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2020-04-21utils: do not use empty void with C++Rosen Penev1-1/+1
Found with clang-tidy's modernize-redundant-void-arg Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2018-07-30v4l2-ctl: add --list-formats-out-extHans Verkuil1-7/+8
Add the --list-formats-out-ext function since m2m (codec) devices need this. Also push cv4l_fd down into the various test sources. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-07-03v4l2-ctl: show pixelformat nameHans Verkuil1-4/+4
When printing a v4l2_format struct show the pixelformat name via VIDIOC_ENUM_FMT instead of just the fourcc. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-02-28v4l2-ctl/compliance: improve usage messagesHans Verkuil1-4/+4
Drop the '=' separator between the option and the arguments in the usage message. It's confusing and not needed. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2015-10-20v4l2-ctl: add SDR output supportHans Verkuil1-3/+50
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2014-04-11v4l2-ctl/dbg: include android-config.h header file if ANDROID is setHans-Christian Egtvedt1-4/+0
If the ANDROID symbol is defined, done by Android toolchain by default, include the android-config.h header file instead of the autogenerated config.h header file. Android build system is completely different from autoconf and make, and is not capable, without some hacks, to generate the config.h header file. Signed-off-by: Hans-Christian Egtvedt <hegtvedt@cisco.com> [hans.verkuil@cisco.com: moved config(-android).h include to v4l2-ctl.h] Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2014-04-11v4l2-ctl: remove unnecessary inclusion of libv4l2.hHans-Christian Egtvedt1-1/+0
These files do not utilize anything from libv4l2.h, hence the include is not needed. Signed-off-by: Hans-Christian Egtvedt <hegtvedt@cisco.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2014-03-05v4l2-ctl: add missing v4l2-ctl-sdr.cpp file.Hans Verkuil1-0/+104
Oops! Forgot to do a git add... Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>

Privacy Policy