v4l-utils: sync with latest kernel headers.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
v4l2-ctl: add tuner support for SDR tuners

Add initial SDR support for tuner related operations.

Cc: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
v4l2-ctl: add support for SDR FMT

Add support for FMT IOCTL operations used for SDR receivers.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
v4l2-ctl: implement list SDR buffers command

Signed-off-by: Antti Palosaari <crope@iki.fi>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
v4l2-ctl: add timestamp source support.

Show the timestamp source when receiving a buffer.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
v4l2-compliance: add timestamp source tests.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
v4l2-ctl: add missing v4l2-ctl-sdr.cpp file.

Oops! Forgot to do a git add...

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
v4l2-ctl: support SDR capture streaming.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
v4l2-compliance: add SDR compliance tests.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Revert "dvb-scan: don't handle NIT table by default on ATSC"

This changeset is actually wrong, as it would prevent to get
the frequenct descriptors from NIT table. So, better to revert
it.

This reverts commit d91894aa2207ac0863bb4afc4594020280ddfa3b.
libdvbv5: better document some MPEG TS fields

Unfortunately, some names on this table don't reflect the names at the
MPEG specs. Yet, we want to be clear what they mean, so let's improve
the comments at the header.h and add a better description when debug
is enabled.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
libdvbv5: reimplement the logic that gets a full section

The logic that gets a full section is broken: it expects to
receive the sections in order, and not to receive the same
section segment twice.

Reimplement it.

As a side effect, it no longer needs to wait for a section
repeat, with speeds up the code.

On my tests with an ATSC signal, before this patch, scanning
to a single frequency was spending 1.850 secs. After the
patch, dvbv5-scan is now spending 1.432 secs.

That means a 418 ms save per frequency.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
v4l2-compliance: add 1HZ support when setting the frequency.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
qv4l2: add SDR support.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>