AgeCommit message (Collapse)AuthorFilesLines
2018-10-10cec-ctl: show non-OK status in verbose monitor modeHans Verkuil1-4/+10
When monitoring messages and if -v was passed, then show the message status unless everything was OK. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2018-10-08utils: Add qvidcap to configure status reportBård Eirik Winther1-0/+2
Add missing build status flag for qvidcap to the configuration report Signed-off-by: Bård Eirik Winther <bwinther@cisco.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2018-10-08qv4l2: Add 16-bit bayer renderingBård Eirik Winther1-0/+24
Add OpenGL support to render all v4l2 16-bit bayer formats Signed-off-by: Bård Eirik Winther <bwinther@cisco.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2018-10-08qvidcap: Add 16-bit bayer renderingBård Eirik Winther2-4/+37
Add OpenGL support to render all v4l2 16-bit bayer formats Signed-off-by: Bård Eirik Winther <bwinther@cisco.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2018-10-08common: utils: Add last 3 16-bit bayer formatsBård Eirik Winther1-0/+3
Add the remaining 16-bit bayer formats to rle_calc_bpl, namely: V4L2_PIX_FMT_SGBRG16 V4L2_PIX_FMT_SGRBG16 V4L2_PIX_FMT_SRGGB16 Signed-off-by: Bård Eirik Winther <bwinther@cisco.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2018-10-08cec-compliance: retry poll in case of Arbitration LostHans Verkuil1-2/+15
Polling for remote devices can fail due to an Arbitration Lost condition. Check for this and retry if that was the reason why the poll failed. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-10-08cec-compliance: abort when no remote devices were foundHans Verkuil1-0/+5
These tests expect that at least one remote device is found. If not, exit with an error. Continuing without any remote devices will give weird unexpected errors, so check for this early on. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-10-07qvidcap: add parent when creating QAction objects.Hans Verkuil1-3/+3
The QAction constructor has a parent pointer which is optional in Qt >= 5.7. In order to compile under older Qt versions set the parent explicitly. Based on a patch from Gregor Jasny <gjasny@googlemail.com>. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Suggested-by: Gregor Jasny <gjasny@googlemail.com>
2018-10-06buildsystem: Start v4l-utils 1.17.0 development cycleGregor Jasny1-1/+1
2018-10-06Prepare for 1.16.0 releasev4l-utils-1.16.0Gregor Jasny2-1/+349
2018-10-06buildsystem: Add all required files to dist targetGregor Jasny3-3/+7
2018-10-05cec-compliance: check for new status flagsHans Verkuil1-2/+3
Also warn when the CEC_TX_STATUS_TIMEOUT flag was set: this shouldn't happen. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-10-05cec-info.cpp: support new tx/rx_status flags.Hans Verkuil1-0/+6
Support the new status flags. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-10-05v4l-utils: sync-with-kernelHans Verkuil1-0/+3
Sync with the latest media_tree master branch. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-10-04v4l-utils: sync-with-kernelSean Young12-12/+12
Update rc keymaps with updated nec variant. Signed-off-by: Sean Young <sean@mess.org>
2018-10-04gen_keytables.pl: fix NEC32 generationSean Young1-0/+3
nec32 is nec protocol but nec32 variant. Signed-off-by: Sean Young <sean@mess.org>
2018-10-04cec: move status2s functions to cec-info.cppHans Verkuil6-272/+70
All three cec utilities used the same code to construct a string with the message status. Move this code to cec-info.cpp and use it in all three utilities. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-10-04cec-ctl: fix destination for non-standard messagesHans Verkuil1-3/+2
The code that allows for changing the destination between messages broke non-standard messages (poll, vendor messages): they now always used destination 0. Fix this by moving up the code that sets the destination instead of doing setting it in just the default case. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-10-03cec-ctl: add --non-blocking optionHans Verkuil2-0/+12
With this option it is possible to transmit messages in non-blocking mode. Signed-off-by: Hans Verkuil <hansverk@cisco.com>
2018-10-03cec-ctl: allow changing destination for each messageHans Verkuil1-5/+10
It is now possible to specify the destination for each message, e.g.: cec-ctl -t0 --get-cec-version -t1 --get-cec-version The first -tX option also applies to any preceeding messages, this is for backwards compatibility. Signed-off-by: Hans Verkuil <hansverk@cisco.com>
2018-10-03cec-ctl: turn -n into a toggleHans Verkuil2-6/+8
The -n option turns off waiting for a reply, but there is no way to turn it on again for later messages. Turn this into a toggle. Signed-off-by: Hans Verkuil <hansverk@cisco.com>
2018-10-03cec-ctl: don't let -w enable verbose when combined with pin monitoring/analysisHans Verkuil1-1/+3
If verbose is turned on for pin monitoring/analysis, then you will see all pin transitions. But you may just want to see the wallclock time in that case and not all the pin transitions. Signed-off-by: Hans Verkuil <hansverk@cisco.com>
2018-10-03cec-compliance: fix bad check for transmitted vs pending msgsHans Verkuil1-1/+1
The total number of pending messages may be equal to the number of transmitted messages, so replace >= by > in the test. Signed-off-by: Hans Verkuil <hansverk@cisco.com>
2018-09-28v4l2-compliance: drop COLORSPACE_JPEG testHans Verkuil1-2/+1
FMT_(M)JPEG can have other colorspaces besides COLORSPACE_JPEG. Just drop this test. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-09-28cec-compliance: improve fail messageHans Verkuil1-3/+7
Log how many pending messages and transmitted messages there were. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-09-25cec-compliance: improve CEC_EVENT_LOST_MSGS testHans Verkuil1-4/+10
- Count the number of transmits and the max TX queue depth - Check that the number of transmits and the number of received messages is close to one another (keep a margin of 2) - Increase the timeout when dequeueing any remaining messages. 1000 ms was too low for some corner cases. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-09-24v4l-utils: replace all AdobeRGB/YCC references by opRGB/YCC references.Hans Verkuil15-47/+47
In November last year all references to the AdobeRGB colorspace were removed from the CTA-861 standards (all versions) and replaced with the corresponding international opRGB standard (IEC 61966-2-5) due to trademark issues. Do the same in v4l-utils. If nothing else, this keeps the utilities in sync with the standard. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-09-24v4l-utils: sync with media master repositoryHans Verkuil5-152/+174
Sync to the latest headers. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-09-21Revert "Cherry-pick an update to Brazilian Portuguese translation"Mauro Carvalho Chehab1-1/+1
Hmm... after a clearer look, this is also wrong and should be reverted. This reverts commit 44460e938e60dde989eab03e25dce0386163f896. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-09-21Cherry-pick an update to Brazilian Portuguese translationMauro Carvalho Chehab1-1/+1
Daniel Lara <danniel@fedoraproject.org> made some translations to an old version of v4l-utils on Zanata. One of them still applies to the current version, so apply it. https://fedora.zanata.org/iteration/view/v4l-utils/1.8.1 Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-09-21Add a French translation made by Zanata peopleMauro Carvalho Chehab2-0/+2039
Fedora Zanata translators gently did a partial French translation. Add it. https://fedora.zanata.org/iteration/view/v4l-utils/1.8.1 Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-09-21Add Catalan translation made by Zanata peopleMauro Carvalho Chehab4-0/+2798
Fedora Zanata translators gently did a partial Catalan translation. Add it. https://fedora.zanata.org/iteration/view/v4l-utils/1.8.1 Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-09-21Add Ukranian translation made by Zanata peopleMauro Carvalho Chehab4-0/+3239
Fedora Zanata translators gently did a Ukranian translation. Add it. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-09-21Refresh translation filesMauro Carvalho Chehab6-1514/+2689
As we're adding stuff from Zanata, let's refresh the translation files automatically, using "make dist". Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-09-20cec-compliance: split up combines testsHans Verkuil1-49/+106
There were a lot of fail_on_test(test1 || test2 || test3) checks that made debugging harder than it needs to be since you don't know which of the three tests failed. So split them all up into separate fail_on_test checks. Signed-off-by: Hans Verkuil <hansverk@cisco.com>
2018-09-20keytable: keymap for Windows Remote Keyboard for MCESean Young1-0/+75
This keymap differs from rc6_mce in that it also enables the mce_kbd protocol. Signed-off-by: Sean Young <sean@mess.org>
2018-09-20keytable: keymap for Network DishSean Young1-0/+62
BPF keymap, see: https://www.mythtv.org/wiki/DISHNetworkLIRCConfiguration Cc: VDR User <user.vdr@gmail.com> Signed-off-by: Sean Young <sean@mess.org>
2018-09-18qvidcap: allocate worst case memory if canOverrideResolution is setHans Verkuil1-1/+5
If the AppMode is one where the user can override the resolution and pixelformat, then the allocated buffers must be sized for worst-case, otherwise you can get segfaults. Also (oops!) delete the old buffer, which wasn't done. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-09-15cec/media/v4l2-info+v4l-stream: GPL-2.0 -> LGPL-2.1Hans Verkuil8-8/+8
Change the license for these sources and headers to LGPL-2.1 from GPL-2.0 since that allows them to be used in libraries. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-09-15v4l2-ctl/media-ctl: support V4L2_DV_FL_CAN_DETECT_REDUCED_FPSHans Verkuil2-0/+3
Add support for this new flag. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-09-15v4l-utils: sync with media masterHans Verkuil7-6/+29
Update headers to their latest versions. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-09-14v4l2-test-input-output: improve warning messageMauro Carvalho Chehab1-1/+1
The message produced when v4l2_input.audioset leads to a wrong diagnosis. Currently, it prints a message saying that there's no audio inputs, but, in the sequence, it lists 1 audio input: test VIDIOC_G/S/ENUMINPUT: OK fail: v4l2-test-input-output.cpp(520): No audio inputs, but G_AUDIO did not return ENOTTY or EINVAL fail: v4l2-test-input-output.cpp(564): invalid audioset for input 0 test VIDIOC_G/S_AUDIO: FAIL Inputs: 2 Audio Inputs: 1 Tuners: 1 Fix the message to not lead the developer to try addressing a different problem. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-09-14cec-compliance: improve adapter testHans Verkuil1-1/+3
There is a failure that checks the msg.len after sending a message. It fails because the transmit times out waiting for a reply. This fail is very confusing, so improve the test to make it easy to see that it timed out. Signed-off-by: Hans Verkuil <hansverk@cisco.com>
2018-09-14cec-compliance: fix set_osd_string testHans Verkuil1-1/+1
Even though cec-follower implemented SET_OSD_STRING correctly, cec-compliance would still give this warning: warn: cec-test.cpp(332): The device is in an unsuitable state or cannot display the complete message. This was due to an incorrect 'else' statement which should have checked if the received message was a Feature Abort. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-09-14v4l2-compliance: improve S_PARM testHans Verkuil1-0/+22
Check for framerates 0/1 and 1/0 as well, not just 0/0. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-09-13v4l2-ctl: cut out more code if NO_STREAM_TO is definedHans Verkuil1-1/+7
If NO_STREAM_TO is defined, then the code that streams the video to a file or network is disabled. Until now only the options were disabled, but now also remove the code that does the actual writing to file/network as an additional safeguard. Signed-off-by: Hans Verkuil <hansverk@cisco.com>
2018-09-07v4l2-compliance: allow both regular and mplane variants for crop APIHans Verkuil1-4/+14
According to the spec both regular and mplane variants should be supported for the crop API (just as happens with the selection API). Test this. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-09-07v4l2-ctl: fix meta type issuesHans Verkuil2-11/+1
- add --help-meta option to the usage message - remove not-implemented metadata output options (this doesn't yet exist). Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-09-07v4l2-compliance: add test for V4L2_CTRL_WHICH_DEF_VALHans Verkuil1-0/+5
This 'which' value was never tested for G/S/TRY_EXT_CTRLS. Add a test for this. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-09-07v4l2-compliance: allow EILSEQ as well as errorHans Verkuil1-6/+21
If the UVC driver couldn't get/set a control it used to return EIO, but this has changed to EILSEQ with a recent kernel change. Actually, EIO is now split into multiple errors, but I am getting EILSEQ where I used to get EIO. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>

Privacy Policy