platform/upstream/v4l-utils.git
10 years agoqv4l2: init dest format when starting vbi/swradio streaming
Hans Verkuil [Fri, 26 Sep 2014 07:59:29 +0000 (09:59 +0200)]
qv4l2: init dest format when starting vbi/swradio streaming

After streaming video first the destination format will be e.g. YUV,
and vbi/swradio expect RGB24. So set that explicitly.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
10 years agolibdvbv5: add javadoc markups for desc_service_location.h
Mauro Carvalho Chehab [Mon, 22 Sep 2014 16:28:57 +0000 (13:28 -0300)]
libdvbv5: add javadoc markups for desc_service_location.h

This seems to be a duplicated copy of the ATSC service location.
Probably, an earlier implementation.

Add some FIXMEs for us to check it later.

For now, don't add it at the Doxygen config file, as this should
likely be deprecated and removed on some latter ABI/API version.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: Documents ISDB TS information descriptor
Mauro Carvalho Chehab [Mon, 22 Sep 2014 16:27:25 +0000 (13:27 -0300)]
libdvbv5: Documents ISDB TS information descriptor

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: documents the terrestrial delivery system descriptor
Mauro Carvalho Chehab [Mon, 22 Sep 2014 16:12:22 +0000 (13:12 -0300)]
libdvbv5: documents the terrestrial delivery system descriptor

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: add documentation for the T2 delivery system descriptor
Mauro Carvalho Chehab [Mon, 22 Sep 2014 15:52:30 +0000 (12:52 -0300)]
libdvbv5: add documentation for the T2 delivery system descriptor

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: Add documentation for desc_service_list.h
Mauro Carvalho Chehab [Mon, 22 Sep 2014 15:26:33 +0000 (12:26 -0300)]
libdvbv5: Add documentation for desc_service_list.h

This is actually documenting something that doesn't work, as
the code that would be parsing the descriptor is commented.
Also, the struct is incomplete.

So, this part of the library still has working todo.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: add documentation for the service descriptor
Mauro Carvalho Chehab [Mon, 22 Sep 2014 15:11:13 +0000 (12:11 -0300)]
libdvbv5: add documentation for the service descriptor

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: document the Satellite delivery system descriptor
Mauro Carvalho Chehab [Mon, 22 Sep 2014 15:02:03 +0000 (12:02 -0300)]
libdvbv5: document the Satellite delivery system descriptor

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: add documentation for ISDB partial reception descriptor
Mauro Carvalho Chehab [Mon, 22 Sep 2014 14:36:57 +0000 (11:36 -0300)]
libdvbv5: add documentation for ISDB partial reception descriptor

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: add documentation for the network name descriptor
Mauro Carvalho Chehab [Mon, 22 Sep 2014 14:23:44 +0000 (11:23 -0300)]
libdvbv5: add documentation for the network name descriptor

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: Add description for the LCN descriptor
Mauro Carvalho Chehab [Mon, 22 Sep 2014 14:18:41 +0000 (11:18 -0300)]
libdvbv5: Add description for the LCN descriptor

This descriptor comes from IEC/CENELEC DS/EN 62216-1:201,
and it is used on several places, as a way to represent the
virtual channels.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: add documentation for the language descriptor
Mauro Carvalho Chehab [Mon, 22 Sep 2014 14:08:04 +0000 (11:08 -0300)]
libdvbv5: add documentation for the language descriptor

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: Add documentation for ISDB-T terrestrial descriptor
Mauro Carvalho Chehab [Mon, 22 Sep 2014 13:55:57 +0000 (10:55 -0300)]
libdvbv5: Add documentation for ISDB-T terrestrial descriptor

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: Document the hierarchy descriptor
Mauro Carvalho Chehab [Mon, 22 Sep 2014 13:34:43 +0000 (10:34 -0300)]
libdvbv5: Document the hierarchy descriptor

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: add documentation for the frequency list descriptor
Mauro Carvalho Chehab [Mon, 22 Sep 2014 12:32:25 +0000 (09:32 -0300)]
libdvbv5: add documentation for the frequency list descriptor

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: add documentation for the extended descriptor
Mauro Carvalho Chehab [Mon, 22 Sep 2014 12:13:31 +0000 (09:13 -0300)]
libdvbv5: add documentation for the extended descriptor

The extended descriptor is defined on ETSI 300 468, and it
allows to extend the namespace range of the original MPEG-TS
descriptor into an additional 8 bytes codeset.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: add documentation for the short event descriptor
Mauro Carvalho Chehab [Mon, 22 Sep 2014 11:31:28 +0000 (08:31 -0300)]
libdvbv5: add documentation for the short event descriptor

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: add documentation for the extended event descriptor
Mauro Carvalho Chehab [Mon, 22 Sep 2014 11:23:03 +0000 (08:23 -0300)]
libdvbv5: add documentation for the extended event descriptor

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: add documentation for cable delivery system descriptor
Mauro Carvalho Chehab [Mon, 22 Sep 2014 11:02:25 +0000 (08:02 -0300)]
libdvbv5: add documentation for cable delivery system descriptor

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: Add documentation for CA identifier descriptor
Mauro Carvalho Chehab [Mon, 22 Sep 2014 10:29:11 +0000 (07:29 -0300)]
libdvbv5: Add documentation for CA identifier descriptor

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: Add documentation for CA descriptor
Mauro Carvalho Chehab [Mon, 22 Sep 2014 10:16:08 +0000 (07:16 -0300)]
libdvbv5: Add documentation for CA descriptor

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: add documentation for ATSC service location
Mauro Carvalho Chehab [Mon, 22 Sep 2014 09:58:44 +0000 (06:58 -0300)]
libdvbv5: add documentation for ATSC service location

Add corresponding doxygen documentation, adding it on a new
module group (descriptors).

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: MPEG TS parser documentation and cleanups
André Roth [Thu, 18 Sep 2014 22:01:19 +0000 (19:01 -0300)]
libdvbv5: MPEG TS parser documentation and cleanups

Documents the table parser for MPEG-PES. Cleanup doxygen of
other parsers.

Signed-off-by: André Roth <neolynx@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
10 years agolibdvbv5: MPEG TS parser documentation
André Roth [Thu, 18 Sep 2014 18:59:27 +0000 (15:59 -0300)]
libdvbv5: MPEG TS parser documentation

Add javadoc markups at mpeg_ts.h, in order to generate documentation.

Signed-off-by: André Roth <neolynx@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
10 years agolibdvbv5: use hyperlinks in doxygen PDF
André Roth [Thu, 18 Sep 2014 19:00:13 +0000 (16:00 -0300)]
libdvbv5: use hyperlinks in doxygen PDF

Hyperlinks make the produced PDF nicer to use.

Signed-off-by: André Roth <neolynx@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
10 years agolibdvbv5: Create doxygen docs for mpeg_es.h
Mauro Carvalho Chehab [Thu, 18 Sep 2014 09:38:19 +0000 (06:38 -0300)]
libdvbv5: Create doxygen docs for mpeg_es.h

While here, fix two typos and add documentation for a missing
var.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: MPEG ES parser documentation
André Roth [Wed, 17 Sep 2014 20:02:24 +0000 (22:02 +0200)]
libdvbv5: MPEG ES parser documentation

Documents the table parser for the MPEG-TS Elementary Stream.

Signed-off-by: André Roth <neolynx@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: revert an ABI breakage
Mauro Carvalho Chehab [Tue, 16 Sep 2014 00:19:38 +0000 (21:19 -0300)]
libdvbv5: revert an ABI breakage

While changeset a2c7b05cf8d7 kept the same API, it broke ABI,
as a binary-compiled utility would complain about some missing
symbols:
+#MISSING: 1.4.0+r2502-63~ubuntu14.10.1# dvb_fe_open2@Base 1.4.0
+#MISSING: 1.4.0+r2502-63~ubuntu14.10.1# dvb_fe_open@Base 1.4.0

So, return the inline functions back to the library.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agov4l-helpers.h: fix control ioctls checks
Hans Verkuil [Mon, 15 Sep 2014 12:14:31 +0000 (14:14 +0200)]
v4l-helpers.h: fix control ioctls checks

Fix the check whether certain control ioctls exist. This should work
better with older kernels that return -EINVAL if an ioctl does not
exist.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
10 years agov4l2-ctl: fix control support for old kernels.
Hans Verkuil [Mon, 15 Sep 2014 12:04:45 +0000 (14:04 +0200)]
v4l2-ctl: fix control support for old kernels.

For old kernels that return -EINVAL if QUERY_EXT_CTRL does not exist
no controls are reported anymore. Add an explicit test whether
QUERY_EXT_CTRL exists.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
10 years agoupdate dvb-fe-tool Doxygen documentation
Mauro Carvalho Chehab [Sun, 14 Sep 2014 17:29:36 +0000 (14:29 -0300)]
update dvb-fe-tool Doxygen documentation

The documentation for dvb-fe-tool is currently outdated.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agodvb-fe-tool: implement acoustic mode
Mauro Carvalho Chehab [Sun, 14 Sep 2014 15:01:45 +0000 (12:01 -0300)]
dvb-fe-tool: implement acoustic mode

if --accoustical is used, it will produce a bip whose frequency
is function of the received signal.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agodvb-fe-tool: Colorize the status report
Mauro Carvalho Chehab [Sun, 14 Sep 2014 16:44:12 +0000 (13:44 -0300)]
dvb-fe-tool: Colorize the status report

Using different colors to represent different QoS helps the user
when adjusting an antena.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: export dvb_fe_retrieve_quality()
Mauro Carvalho Chehab [Sun, 14 Sep 2014 16:43:54 +0000 (13:43 -0300)]
libdvbv5: export dvb_fe_retrieve_quality()

This function can be useful outside. So, export it.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: Re-add the status name at the stats report
Mauro Carvalho Chehab [Sun, 14 Sep 2014 16:18:26 +0000 (13:18 -0300)]
libdvbv5: Re-add the status name at the stats report

Changeset d3558a8a8e made the status to disappear.

The main issue that it were trying to fix is that the len were
calculated wrong, but the reason is because len is a pointer,
so it should have been incremented as a pointer, with:

*len += size

This patch fix it properly, and make the status name to reappear.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: fix a nasty bug when printing stats
Mauro Carvalho Chehab [Sun, 14 Sep 2014 14:39:01 +0000 (11:39 -0300)]
libdvbv5: fix a nasty bug when printing stats

Depending on the stats condition, the statistics line is not
printed, because the buffer pointer is incremented twice.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agodvb-fe-tool: add femon parameter
Mauro Carvalho Chehab [Sun, 14 Sep 2014 13:59:39 +0000 (10:59 -0300)]
dvb-fe-tool: add femon parameter

Add a parameter to do frontend monitoring.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: Don't double-free the file name
Mauro Carvalho Chehab [Sun, 14 Sep 2014 13:49:58 +0000 (10:49 -0300)]
libdvbv5: Don't double-free the file name

At some error conditions at dvb-fe.c, dvb_v5_free() is called,
plus an extra free(). This causes a core dump, due to
double-free. Remove the extra free().

While here, improve the error message when the ENUM_DELSYS
doesn't work fine.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agodvb-fe-tool: add support to open DVB FE in read only mode
Mauro Carvalho Chehab [Sun, 14 Sep 2014 13:14:24 +0000 (10:14 -0300)]
dvb-fe-tool: add support to open DVB FE in read only mode

This tool can be used to inspect the frontend. So, add support
to open an already opened frontend.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: Add support for opening FE on read only mode
Mauro Carvalho Chehab [Sun, 14 Sep 2014 12:52:29 +0000 (09:52 -0300)]
libdvbv5: Add support for opening FE on read only mode

Currently, all frontend opens happen on R/W mode. That
prevents some types of usage where it is desired to just
monitor an interface without touching it, like what femon
does.

So, add a new method to allow doing that.

Ideally, we should also add (or fix/check) support for
O_NONBLOCK mode, but this would require more efforts.

So, for now, add a todo entry about that.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: fix dvb_fe_dummy()
André Roth [Sat, 13 Sep 2014 21:00:36 +0000 (18:00 -0300)]
libdvbv5: fix dvb_fe_dummy()

initialize the parms structure correctly

Signed-off-by: André Roth <neolynx@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: fix satellite LNBf handling
André Roth [Sat, 13 Sep 2014 20:08:28 +0000 (17:08 -0300)]
libdvbv5: fix satellite LNBf handling

the LNBf is part of the public structure, remove it from
dvb_v5_fe_parms_priv.

fix typo for C++.

Signed-off-by: André Roth <neolynx@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: cleanup logging, some memory checks
André Roth [Sat, 13 Sep 2014 20:08:27 +0000 (17:08 -0300)]
libdvbv5: cleanup logging, some memory checks

- use loginfo in hexdump
- use C comments
- memory checking in desc_sat and desc_service

Signed-off-by: André Roth <neolynx@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agoAdd support for VDR format (only for output)
Mauro Carvalho Chehab [Sat, 13 Sep 2014 15:25:36 +0000 (12:25 -0300)]
Add support for VDR format (only for output)

VDR has its own special format, that doesn't fit into the normal
oneline parsers. So, it requires its own code to parse.

Add support for it, as used on vdr 2.1.6.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: fix a typo at ASTRA 1E extended LNBf
Mauro Carvalho Chehab [Sat, 13 Sep 2014 12:16:58 +0000 (09:16 -0300)]
libdvbv5: fix a typo at ASTRA 1E extended LNBf

Instead of EXTENDED, it was written EXTENDEDU.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agodvb-fe-tool: Fix verbosity and comment unused option
Mauro Carvalho Chehab [Sat, 13 Sep 2014 11:50:41 +0000 (08:50 -0300)]
dvb-fe-tool: Fix verbosity and comment unused option

dvb-fe-tool is too verbose when setting a new delivery system,
or when getting parameters.

Also, the random property set is currently not implemented.
Comment its code.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agodoxygen: add dvbv5-tools to the documentation
Mauro Carvalho Chehab [Sat, 13 Sep 2014 11:33:38 +0000 (08:33 -0300)]
doxygen: add dvbv5-tools to the documentation

The dvbv5-tools are good examples on how to use the library.
Add them to the documentation.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: add a missing macro to dvb_table group for documentation
Mauro Carvalho Chehab [Sat, 13 Sep 2014 11:32:01 +0000 (08:32 -0300)]
libdvbv5: add a missing macro to dvb_table group for documentation

Minor fix: one of the macros of atsc_eit.h to the dvb_table
group.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agocv4l-helpers: add missing ioctls
Hans Verkuil [Sat, 13 Sep 2014 09:48:44 +0000 (11:48 +0200)]
cv4l-helpers: add missing ioctls

This adds all remaining relevant ioctls to the cv4l_fd class.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
10 years agoqv4l2: the helper now zeroes bytesperline
Hans Verkuil [Sat, 13 Sep 2014 09:08:34 +0000 (11:08 +0200)]
qv4l2: the helper now zeroes bytesperline

So we no longer need to do it in qv4l2.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
10 years ago(c)v4l-helpers: zero bytesperline, swap arg order
Hans Verkuil [Sat, 13 Sep 2014 09:07:40 +0000 (11:07 +0200)]
(c)v4l-helpers: zero bytesperline, swap arg order

When calling try/s_fmt optionally zero bytesperline.

Also swap the order of the last two arguments of v4l_format_s_bytesperline
and v4l_format_s_sizeimage to be consistent with other helper functions.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
10 years agobuildsystem: Use latest ax_prog_doxygen from GNU Autoconf Archive
Gregor Jasny [Fri, 12 Sep 2014 11:26:36 +0000 (13:26 +0200)]
buildsystem: Use latest ax_prog_doxygen from GNU Autoconf Archive

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
10 years agolibdvbv5: group documentation into modules
Mauro Carvalho Chehab [Fri, 12 Sep 2014 01:51:27 +0000 (22:51 -0300)]
libdvbv5: group documentation into modules

In order to help digging into the documentation, put each
documented block into a group.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5 documentation review
Mauro Carvalho Chehab [Fri, 12 Sep 2014 00:26:09 +0000 (21:26 -0300)]
libdvbv5 documentation review

General cleanup at the libdvbv5 documentation, in order to fix
some minor issues.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: add support for mgt.h
Mauro Carvalho Chehab [Thu, 11 Sep 2014 22:35:56 +0000 (19:35 -0300)]
libdvbv5: add support for mgt.h

With that, all tables are documented via doxygen.

We're still missing documentation for the desc_*.h headers.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: add documentation for cat.h and atsc_header.h
Mauro Carvalho Chehab [Thu, 11 Sep 2014 22:20:16 +0000 (19:20 -0300)]
libdvbv5: add documentation for cat.h and atsc_header.h

Add tags for doxygen to process those two headers.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: don't use DVB_DESC_HEADER() macro
Mauro Carvalho Chehab [Thu, 11 Sep 2014 21:16:31 +0000 (18:16 -0300)]
libdvbv5: don't use DVB_DESC_HEADER() macro

This macro was a very bad idea, as it causes doxygen to produce
wrong data. Get rid of it.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: don't use ATSC_HEADER() macro
Mauro Carvalho Chehab [Thu, 11 Sep 2014 20:37:46 +0000 (17:37 -0300)]
libdvbv5: don't use ATSC_HEADER() macro

This macro was a very bad idea, as it causes doxygen to produce
wrong data. Get rid of it.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: add documentation for ATSC EIT.
Mauro Carvalho Chehab [Thu, 11 Sep 2014 20:28:40 +0000 (17:28 -0300)]
libdvbv5: add documentation for ATSC EIT.

ATSC EIT is different than the DVB EIT table. Document it, and
be sure that the DVB EIT table will be better described.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: Add a mainpage to the documentation
Mauro Carvalho Chehab [Thu, 11 Sep 2014 18:50:43 +0000 (15:50 -0300)]
libdvbv5: Add a mainpage to the documentation

Let's add a mainpage to the documentation, and do some
cleanup on other pages.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: Add documentation for EIT DVB parser
Mauro Carvalho Chehab [Thu, 11 Sep 2014 17:38:09 +0000 (14:38 -0300)]
libdvbv5: Add documentation for EIT DVB parser

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: add documentation for crc32.h
Mauro Carvalho Chehab [Thu, 11 Sep 2014 16:56:13 +0000 (13:56 -0300)]
libdvbv5: add documentation for crc32.h

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: add documentation for the NIT table parser
Mauro Carvalho Chehab [Thu, 11 Sep 2014 16:47:38 +0000 (13:47 -0300)]
libdvbv5: add documentation for the NIT table parser

Add doxygen documentation for nit.h.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: some documentation fixups for sdt.h
Mauro Carvalho Chehab [Thu, 11 Sep 2014 16:47:24 +0000 (13:47 -0300)]
libdvbv5: some documentation fixups for sdt.h

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: add documentation for sdt.h
Mauro Carvalho Chehab [Thu, 11 Sep 2014 16:09:43 +0000 (13:09 -0300)]
libdvbv5: add documentation for sdt.h

Add doxygen documentation for the contents of sdt.h.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: fix some issues at PAT documentation
Mauro Carvalho Chehab [Thu, 11 Sep 2014 16:09:34 +0000 (13:09 -0300)]
libdvbv5: fix some issues at PAT documentation

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: better comment the descriptors
Mauro Carvalho Chehab [Thu, 11 Sep 2014 15:47:42 +0000 (12:47 -0300)]
libdvbv5: better comment the descriptors

Add a @brief to each descriptor at descriptors.h, explaining from
what spec the descriptor came.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: add doxygen tags to pmt.h
Mauro Carvalho Chehab [Thu, 11 Sep 2014 02:19:24 +0000 (23:19 -0300)]
libdvbv5: add doxygen tags to pmt.h

Add documentation for the MPEG-TS PMT table parser

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: fix some cut-and-paste errors at documentation
Mauro Carvalho Chehab [Thu, 11 Sep 2014 15:22:59 +0000 (12:22 -0300)]
libdvbv5: fix some cut-and-paste errors at documentation

Forgot to rename some fields while cut-and-pasting from vct.h.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agodoxygen_libdvbv5.cfg: add header.h, vct.h and pat.h
Mauro Carvalho Chehab [Thu, 11 Sep 2014 01:47:46 +0000 (22:47 -0300)]
doxygen_libdvbv5.cfg: add header.h, vct.h and pat.h

Add those 3 headers to doxygen documentation generator.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: add doxygen tags to pat.h
Mauro Carvalho Chehab [Thu, 11 Sep 2014 01:47:23 +0000 (22:47 -0300)]
libdvbv5: add doxygen tags to pat.h

Add documentation for the MPEG-TS table parser

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: add doxygen tags to vct.h
Mauro Carvalho Chehab [Thu, 11 Sep 2014 01:15:35 +0000 (22:15 -0300)]
libdvbv5: add doxygen tags to vct.h

Add documentation for the ATSC VCT table parser

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: add doxygen tags for header.h
Mauro Carvalho Chehab [Thu, 11 Sep 2014 01:14:50 +0000 (22:14 -0300)]
libdvbv5: add doxygen tags for header.h

Add documentation for the MPEG-TS headers.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agov4l2-compliance: fix buffer state test
Hans Verkuil [Wed, 10 Sep 2014 07:14:03 +0000 (09:14 +0200)]
v4l2-compliance: fix buffer state test

This test checks that a buffer can only be in a single state,
i.e. it can't be both QUEUED and DONE. But it also counted ERROR
as a separate state, but that's incorrect. ERROR is a separate
flag, independent of state.

Fix this test accordingly.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
10 years agoStart v4l-utils 1.5.0 development cycle
Gregor Jasny [Mon, 8 Sep 2014 07:40:27 +0000 (09:40 +0200)]
Start v4l-utils 1.5.0 development cycle

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
10 years agoPrepare for 1.4.0 release v4l-utils-1.4.0
Gregor Jasny [Mon, 8 Sep 2014 06:58:54 +0000 (08:58 +0200)]
Prepare for 1.4.0 release

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
10 years agolibdvbv5 doxygen: Some improvements for dvb-scan.h and descriptors.h
Mauro Carvalho Chehab [Sun, 7 Sep 2014 18:07:29 +0000 (15:07 -0300)]
libdvbv5 doxygen: Some improvements for dvb-scan.h and descriptors.h

There are some troubles caused by a wrong macro expansion at
doxygen. Fix them.

Also, tag the code examples as such.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: Add more data about the descriptors definition
Mauro Carvalho Chehab [Sun, 7 Sep 2014 14:51:58 +0000 (11:51 -0300)]
libdvbv5: Add more data about the descriptors definition

Better document descriptors.h by adding the specs used by the
descriptors found on this header at the javadoc macro.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agoir-keytable: Genrate stable map file by sorting directory before parsing
Gregor Jasny [Sun, 7 Sep 2014 17:35:11 +0000 (19:35 +0200)]
ir-keytable: Genrate stable map file by sorting directory before parsing

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
10 years agov4l2-ctl: Distribute vivid-tpg.h.patch
Gregor Jasny [Sun, 7 Sep 2014 16:59:21 +0000 (18:59 +0200)]
v4l2-ctl: Distribute vivid-tpg.h.patch

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
10 years agomedia-ctl: process pkgconfig files
Gregor Jasny [Sun, 7 Sep 2014 16:55:21 +0000 (18:55 +0200)]
media-ctl: process pkgconfig files

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
10 years agocontrib: Add au0828 directory to extra distribution list
Gregor Jasny [Sun, 7 Sep 2014 16:51:04 +0000 (18:51 +0200)]
contrib: Add au0828 directory to extra distribution list

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
10 years agolibdvbv5: Add dvb-fe-priv.h to sources list
Gregor Jasny [Sun, 7 Sep 2014 16:46:50 +0000 (18:46 +0200)]
libdvbv5: Add dvb-fe-priv.h to sources list

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
10 years agolibdvbv5: Add doxygen config file to distribution list
Gregor Jasny [Sun, 7 Sep 2014 16:40:56 +0000 (18:40 +0200)]
libdvbv5: Add doxygen config file to distribution list

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
10 years agolibdvbv5: add documentation for descriptors.h
Mauro Carvalho Chehab [Sun, 7 Sep 2014 14:45:46 +0000 (11:45 -0300)]
libdvbv5: add documentation for descriptors.h

Add javadoc headers to document the content of descriptors.h,
and makes doxygen to generate the data (almost) properly.

Not sure why, but struct dvb_descriptor is not being
parsed properly by doxygen.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: get rid of bcd_to_int()
Mauro Carvalho Chehab [Sun, 7 Sep 2014 14:03:46 +0000 (11:03 -0300)]
libdvbv5: get rid of bcd_to_int()

This function used to be needed by some descriptors, but it
is now unused. Remove it.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: Provide a quality indicator for DVB-T
Mauro Carvalho Chehab [Sun, 7 Sep 2014 14:02:33 +0000 (11:02 -0300)]
libdvbv5: Provide a quality indicator for DVB-T

Add a logic to provide a quality indicator for DVB-T

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: Fix dvb_get_pmt_pid()
Mauro Carvalho Chehab [Sun, 7 Sep 2014 13:44:19 +0000 (10:44 -0300)]
libdvbv5: Fix dvb_get_pmt_pid()

A previous patch broke it, by not renaming the name of the
file descriptor. Also, don't close the descriptor on error.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5 doxygen: Fix a few file descriptions
Mauro Carvalho Chehab [Sun, 7 Sep 2014 13:21:05 +0000 (10:21 -0300)]
libdvbv5 doxygen: Fix a few file descriptions

Some file descriptions weren't ok. Fix them.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: improve doxygen documentation
Mauro Carvalho Chehab [Sun, 7 Sep 2014 12:24:00 +0000 (09:24 -0300)]
libdvbv5: improve doxygen documentation

Add more tags to the header files, in order to improve the
documentation output.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: fix dvb_get_pmt_pid API
Mauro Carvalho Chehab [Sun, 7 Sep 2014 11:48:35 +0000 (08:48 -0300)]
libdvbv5: fix dvb_get_pmt_pid API

All functions on the demux API uses an opened fd, except for
dvb_get_pmt_pid() that were using a filename.

Change it to make the API coherent.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: Properly document macros at dvb-v5-std.h
Mauro Carvalho Chehab [Sun, 7 Sep 2014 05:22:44 +0000 (02:22 -0300)]
libdvbv5: Properly document macros at dvb-v5-std.h

Macros require some special things to be properly parsed
by doxygen.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: Fix function definitions at doxygen book
Mauro Carvalho Chehab [Sun, 7 Sep 2014 05:15:19 +0000 (02:15 -0300)]
libdvbv5: Fix function definitions at doxygen book

Parsing functions require some changes, otherwise the files
aren't properly parsed by doxygen.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agoIgnore the generate doxygen-doc directory
Mauro Carvalho Chehab [Sun, 7 Sep 2014 04:25:13 +0000 (01:25 -0300)]
Ignore the generate doxygen-doc directory

This directory is autogenerated by the doxygen targets.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: Improve doxygen format
Mauro Carvalho Chehab [Sun, 7 Sep 2014 04:16:15 +0000 (01:16 -0300)]
libdvbv5: Improve doxygen format

Use a better template to generate Doxygen documentation.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agoAdd support to generate Doxygen documentation for libdvbv5
Mauro Carvalho Chehab [Sun, 7 Sep 2014 02:16:44 +0000 (23:16 -0300)]
Add support to generate Doxygen documentation for libdvbv5

Add a way to auto-generate documentation for libdvbv5 using
Doxygen.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: Convert documentation to javadoc format
Mauro Carvalho Chehab [Sun, 7 Sep 2014 01:10:29 +0000 (22:10 -0300)]
libdvbv5: Convert documentation to javadoc format

We were using the documentation format as described inside
the Kernel. However, using javadoc format makes easier for
some tools like doxygen to parse. So, use it instead.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: Document the last undocumented structs at dvb-file.h
Mauro Carvalho Chehab [Sun, 7 Sep 2014 03:28:38 +0000 (00:28 -0300)]
libdvbv5: Document the last undocumented structs at dvb-file.h

With this addition, Doxygen should now be able to generate
documentation for all structs at the selected files.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: Document the libdvbv5 properties
Mauro Carvalho Chehab [Sun, 7 Sep 2014 00:23:47 +0000 (21:23 -0300)]
libdvbv5: Document the libdvbv5 properties

Document the userspace properties defined inside libdvbv5.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
10 years agolibdvbv5: add documentation for the DVB scan functions
Mauro Carvalho Chehab [Sun, 7 Sep 2014 00:01:03 +0000 (21:01 -0300)]
libdvbv5: add documentation for the DVB scan functions

Explain how the DVB scan functions should be used, and
provide some usage examples.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>