Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
|
|
|
|
Also warn when the CEC_TX_STATUS_TIMEOUT flag was set: this shouldn't
happen.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Support the new status flags.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Sync with the latest media_tree master branch.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Update rc keymaps with updated nec variant.
Signed-off-by: Sean Young <sean@mess.org>
|
|
nec32 is nec protocol but nec32 variant.
Signed-off-by: Sean Young <sean@mess.org>
|
|
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>
|
|
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>
|
|
With this option it is possible to transmit messages in non-blocking mode.
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
FMT_(M)JPEG can have other colorspaces besides COLORSPACE_JPEG.
Just drop this test.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Log how many pending messages and transmitted messages there were.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
- 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>
|
|
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>
|
|
Sync to the latest headers.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Fedora Zanata translators gently did a Ukranian translation.
Add it.
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
|
|
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>
|
|
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>
|
|
This keymap differs from rc6_mce in that it also enables the mce_kbd
protocol.
Signed-off-by: Sean Young <sean@mess.org>
|
|
BPF keymap, see:
https://www.mythtv.org/wiki/DISHNetworkLIRCConfiguration
Cc: VDR User <user.vdr@gmail.com>
Signed-off-by: Sean Young <sean@mess.org>
|
|
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>
|
|
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>
|
|
Add support for this new flag.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Update headers to their latest versions.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Check for framerates 0/1 and 1/0 as well, not just 0/0.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
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>
|
|
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>
|
|
- 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>
|
|
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>
|
|
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>
|