qv4l2/v4l2-ctl: fix buffer overrun in vivid-tpg.

The test pattern generator allocated only half the size for
random_line that it really needed, causing the tpg to write
right passed the end of the buffer.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
qv4l2: Fix out-of-source build

Signed-off-by: Niels Ole Salscheider <niels_ole@salscheider-online.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
parse_tcpdump_log.pl: skip filtered frames and remove them from pending

Signed-off-by: Patrick Boettcher <patrick.boettcher@posteo.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
parse_tcpdump_log.pl: show transfer-direction for non-ctrl-transfers

Signed-off-by: Patrick Boettcher <patrick.boettcher@posteo.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
parse_tcpdump_log.pl: add external frame_processor-option

Allow to call an external application/script to handle the filtered
frames instead of just printing them.

Signed-off-by: Patrick Boettcher <patrick.boettcher@posteo.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
parse_tcpdump_log.pl: remove --all option which was not documented and not working as expected

Signed-off-by: Patrick Boettcher <patrick.boettcher@posteo.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
rc_keymaps: allwinner: S/KEY_HOME/KEY_HOMEPAGE/

Correct the mapping for the key with the little house icon on it, as the
house icon surely does not stand for goto beginning of line, which KEY_HOME
is.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
v4l2-ctl: fix sliced vbi mode parsing

--set-fmt-sliced-vbi=cc didn't work, you had to do --set-fmt-sliced-vbi=cc=1.
This has now been fixed.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
libdvbv5: properly represent Satellite frequencies

Satellite frequencies are stored in kHz instead of Hz.

[mchehab@osg.samsung.com: Got just one hunk from Akihiro's patch,
 as his patch got a merge conflict. The rest of his patch were
 actually trying to fix a memory leak bug that were supposed to be
 already fixed]

Reported-by: Akihiro Tsukada <tskd08@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
README: better document the package

The README file got a little bit outdated as time goes by.
Update it to reflect the current status of this tree.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
v4l2-compliance: when streaming used at least 2 buffers.

While streaming with 1 buffer is possible with some drivers (uvc), this
will lead to dropped frames. So ask at least two buffers.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
v4l2-compliance: add initial checks for VIDIOC_QUERY_EXT_CTRL

These initial compliance checks do not yet check compound control
support.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
libdvbv5, dvbv5-scan: generalize channel duplication check

When a new channel entry is to be added to the channel list,
it is checked if there's already similar entry in the list.
This check was based only on freq, polarity, allowable frequency shift,
so it could not be used for delivery systems that use stream_id
and mulplex multiple TS's (channels) into one frequency.
This patch adds stream_id to the check.

Signed-off-by: Akihiro Tsukada <tskd08@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
libdvbv5: add as many channels as possible in scanning DVB-T2

Signed-off-by: Akihiro Tsukada <tskd08@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
libdvbv5: wrong frequency in the output of satellite delsys scans

In the output of satellite delsys's scanning,
channel frequencies were offset by the LNB's LO frequency,
which should be not.

Signed-off-by: Akihiro Tsukada <tskd08@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
libdvbv5: add support for ISDB-S tuning

Added LNB support for Japanese satellites.
Currently tested with dvbv5-zap, dvb-fe-tool.
At least the charset conversion and the parser of
extended event descriptors are not implemented now,
as they require some ISDB-S(/T) specific modification.

Signed-off-by: Akihiro Tsukada <tskd08@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
libdvbv5: add support for ISDB-S scanning

added NIT scan for ISDB-S.

Signed-off-by: Akihiro Tsukada <tskd08@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
libdvbv5: add COUNTRY property

A Country is needed to distinguish country variants descriptors,
like the default charset on delivery systems like ISDB-T and ISDB-S.

Signed-off-by: Akihiro Tsukada <tskd08@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
libdvbv5: Fix some Doxygen warnings at dvb-fe.h

Changeset 84b708b7f1a added a few warnings:

/devel/v4l/v4l-utils/lib/include/libdvbv5/dvb-fe.h:722: warning: argument 'country' of command @param is not found in the argument list of dvb_fe_set_default_country(struct dvb_v5_fe_parms *parms, const char *cc)
/devel/v4l/v4l-utils/lib/include/libdvbv5/dvb-fe.h:726: warning: unable to resolve reference to `country' for \ref command
/devel/v4l/v4l-utils/lib/include/libdvbv5/dvb-fe.h:722: warning: The following parameters of dvb_fe_set_default_country(struct dvb_v5_fe_parms *parms, const char *cc) are not documented:  parameter 'cc'

Fix them.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Doxygen: Document libdvbv5 countries.h

Add Doxygen documentation for the enum and functions declared at
countries.h and make Doxygen read it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>