aboutsummaryrefslogtreecommitdiffstats
path: root/utils/v4l2-compliance/Makefile.am
AgeCommit message (Collapse)AuthorFilesLines
2018-11-13v4l-utils: fix SHA detectionHans Verkuil1-2/+2
Check if there is a .git directory at the top-level, and only then get the SHA of the HEAD. If the release tarball (which doesn't have a .git directory) is extracted inside another git repo, then the current SHA code would find the SHA of the enclosing git repo, which is not what you want. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2018-10-06buildsystem: Add all required files to dist targetGregor Jasny1-1/+2
2018-02-04v4l2-ctl/v4l2-compliance: reuse v4l2 info codeHans Verkuil1-1/+1
Create v4l2-info.cpp/h to centralize the code used by v4l2-ctl and v4l2-compliance to log V4L2 data structs. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-02-04v4l2-ctl/v4l2-compliance: reuse media info codeHans Verkuil1-1/+2
The code that displays the media information for an interface is now centralized in common/media-info.cpp and used by both v4l2-ctl and v4l2-compliance. In addition, this code now uses G_TOPOLOGY if available. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-02-02v4l2-compliance: add initial support for testing the MCHans Verkuil1-1/+1
Add simple support for the media controller. One could argue that this should go to a media-compliance test, but that will just need to call v4l2-compliance in turn when you want to test all the constituent devices in the topology. And since we currently use it for 90% for V4L2, we might as well add it here. Perhaps at some point v4l2-compliance will be renamed to media-compliance. At least now we have a starting point that we can build on top of. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-02-02v4l2-compliance: test VIDIOC_SUBDEV_ENUM_MBUS_CODEHans Verkuil1-1/+1
Note: this does not yet iterate over all pads, that is not yet implemented. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-12-15configure.ac: drop --disable-libv4l, disable plugin support insteadThomas Petazzoni1-4/+0
In commit 2e604dfbcd09b93f0808cedb2a0b324c5569a599 ("configure.ac: add --disable-libv4l option"), an option --disable-libv4l was added. As part of this, libv4l is no longer built at all in static linking configurations, just because libv4l uses dlopen() for plugin support. However, plugin support is only a side feature of libv4l, and one may need to use libv4l in static configurations, just without plugin support. Therefore, this commit: - Essentially reverts 2e604dfbcd09b93f0808cedb2a0b324c5569a599, so that libv4l can be built in static linking configurations again. - Adjusts the compilation of libv4l2 so that the plugin support is not compiled in when dlopen() in static linking configuration (dlopen is not available). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Hugues Fruchet <hugues.fruchet@st.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-05-29configure.ac: add --disable-libv4l optionHugues Fruchet1-0/+4
Add an option to disable libv4l libraries and plugins compilation. If system is not supporting dynamic shared libraries, this option is automatically set. dlopen() is no more a mandatory dependency (warning is kept). lib/ and contrib/ folders are no more built with this option set because of libv4l dependency. utils/ folder is still built with this options set but without rds-ctl because of its libv4l dependency. v4l2-compliance and v4l2-ctl are also built but without any links on libv4l and libv4lconvert libraries. Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-04-27v4l2/cec-compliance, cec-follower: use git -C $(srcdir) rev-parse HEADHugues Fruchet1-2/+2
Apply git command on source worktree instead of derived objects working directory. This is needed within openembedded build environment. Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-04-03buildsystem: do not assume building in source tree.Ismo Puustinen1-1/+1
Use $(top_srcdir) as reference for include paths and buildtime scripts. Otherwise compilation outside of project root directory will fail because header and script paths are wrong. To reproduce: mkdir b; cd b; ../configure; make Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-02-09v4l2/cec-compliance, cec-follower: use git rev-parse HEADHans Verkuil1-2/+2
Use git rev-parse HEAD to get the SHA for the HEAD instead of git show-ref -s HEAD: the latter didn't do what I expected if a specific git commit was checked out. I just want the SHA for the current checked out HEAD. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2016-09-27Fix static linking of v4l2-compliance and v4l2-ctlSakari Ailus1-2/+2
v4l2-compliance and v4l2-ctl depend on librt and libpthread. The symbols are found by the linker only if these libraries are specified after the objects that depend on them. As LDFLAGS variable end up expanded on libtool command line before LDADD, move the libraries to LDADD after local objects. -lpthread is added as on some systems librt depends on libpthread. This is the case on Ubuntu 16.04 for instance. After this patch, creating a static build using the command LDFLAGS="--static -static" ./configure --disable-shared --enable-static works again. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-07-07v4l2-compliance: show SHA from which it was built.Hans Verkuil1-0/+14
To be able to check which version of v4l2-compliance was used when testing, add the SHA so this can be printed in the output. It is important that a recent version is used, but without the SHA I can't tell that. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2016-05-28v4l-utils: move commonly used headers and sources to 'common'Hans Verkuil1-1/+2
Several headers and sources where used by several utilities (v4l2-ctl, v4l2-compliance and qv4l2). Move those shared files to the common directory. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2015-09-08v4l2-ctl/compliance: add configure option to disable libv4l useHans Verkuil1-1/+7
Sometimes you want to compile these two utilities without the libv4l2 wrapper. This patch adds new configure options to do this: --disable-v4l2-compliance-libv4l --disable-v4l2-ctl-libv4l This is useful when building for an embedded system where you do not want to use the libv4l2 wrapper library. The capability to do this was already available, but not hooked up to the configure system. Signed-off-by: Hans Verkuil <hansverk@cisco.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2015-03-16v4l2-compliance: add the manual pageHans Verkuil1-1/+3
Add a manual page for v4l2-compliance. This contains much more precise instructions on how this utility should be used. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2015-03-16v4l2-compliance: add color checking testsHans Verkuil1-1/+1
Add a new test to check if the video input is red, green or blue, and test this for all supported (non-compressed) formats. This allows you to verify if the supported pixelformats are implemented correctly. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2014-11-02v4l2-compliance: Explicitely link against rt libraryGregor Jasny1-0/+1
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
2014-06-28v4l2-compliance: Distribute internal header, tooGregor Jasny1-1/+1
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
2014-06-28buildsystem: Distribute Android.mk filesGregor Jasny1-1/+1
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
2012-10-07buildsystem: Easse cross compiling on Debian derivatesGregor Jasny1-1/+1
Debian based libtool packages suffer from a cross compiling problem where the rpaths are not picked up properly. See: - https://bugs.lttng.org/issues/321 - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=297726 Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
2012-08-21v4l2-compliance: add tests for VIDIOC_(TRY_)ENCODER_CMD.Hans Verkuil1-1/+3
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2012-06-07v4l2-compliance: add tests for VIDIOC_REQBUFS/CREATE_BUFS.Hans Verkuil1-1/+1
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2012-01-14buildsystem: Convert to autotools buildsystemGregor Jasny1-0/+5
Use autoreconf -vfi to bootstrap Signed-off-by: Gregor Jasny <gjasny@googlemail.com>

Privacy Policy