Jeongmo Yang [Tue, 10 May 2016 06:25:08 +0000 (15:25 +0900)]
Disable GPL license files
Change-Id: I289a187aa0da85cd1e44267162a4c7924ff1d9a6
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Łukasz Stelmach [Tue, 2 Dec 2014 14:26:28 +0000 (15:26 +0100)]
Pull systemd-devel for udev.pc
Change-Id: I823c6a7ccdcb9e574a542f7c6485cba221296e19
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Philippe Coval [Tue, 14 Oct 2014 14:41:11 +0000 (16:41 +0200)]
packaging: Bump to 1.6.0
As suggested by upstream and Tizen Architect
spec file cleanup
Change-Id: I11687e9e0f9a14477febea1f9927f37b1ac8f3de
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
Yan Yin [Mon, 12 Aug 2013 02:54:18 +0000 (10:54 +0800)]
add .gbs.conf
Change-Id: If2a31097088c1a1e5b5e7caab76538a8848e53dd
Patrick McCarty [Tue, 25 Jun 2013 18:51:49 +0000 (11:51 -0700)]
Add changelog entry
Change-Id: Ibdfefb2b6fbf57674289c4956e336f3053df606c
Patrick McCarty [Tue, 14 May 2013 01:14:56 +0000 (18:14 -0700)]
Add packaging
Change-Id: I18636a57c5815ba0c899e241a91aa67db3bd7af2
Gregor Jasny [Sun, 5 Oct 2014 14:57:38 +0000 (16:57 +0200)]
Prepare for 1.6.0 release
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Sun, 5 Oct 2014 14:55:26 +0000 (16:55 +0200)]
qv4l2: Add keywords to desktop file
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Sun, 5 Oct 2014 14:51:01 +0000 (16:51 +0200)]
man: Use Unicode character for ellipsis and fall back to ...
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Sun, 5 Oct 2014 14:32:17 +0000 (16:32 +0200)]
man: place escape to correct position
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Sun, 5 Oct 2014 14:29:07 +0000 (16:29 +0200)]
man: Replace hyphen with minus sign
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Sun, 5 Oct 2014 14:09:08 +0000 (16:09 +0200)]
man: Fix typo in dvb-fe-tool man page
Gregor Jasny [Sun, 5 Oct 2014 13:50:21 +0000 (15:50 +0200)]
Prepare for 1.5.91 release
Mauro Carvalho Chehab [Sat, 4 Oct 2014 14:20:01 +0000 (11:20 -0300)]
user man pages: Add version to the man pages
Create the man pages dynamically, adding the package version
inside them.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Mauro Carvalho Chehab [Sat, 4 Oct 2014 13:52:12 +0000 (10:52 -0300)]
dvbv5-scan: add vdr format for the --help parameter
The vdr format is supported as one of the output formats. Add it.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Mauro Carvalho Chehab [Sat, 4 Oct 2014 13:47:50 +0000 (10:47 -0300)]
.gitignore: Ignore quilt patches/ dir
Quilt may be useful for some developers and this dir is unused
here. So, add it to gitignore.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Mauro Carvalho Chehab [Sat, 4 Oct 2014 13:25:56 +0000 (10:25 -0300)]
libdvbv5: Fix frequency table alloc size at desc_frequency_list
As reported by Coverity:
CID 1132791 (#1 of 1): Wrong sizeof argument (SIZEOF_MISMATCH)suspicious_sizeof:
Passing argument 8UL /* sizeof (d->frequency) */ to function calloc
and then casting the return value to uint32_t * is suspicious.
Did you intend to use sizeof (*d->frequency) instead of sizeof (d->frequency)?
Thankfully this will just waste more space on x86_64, but better
to fix.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Mauro Carvalho Chehab [Sat, 4 Oct 2014 13:17:44 +0000 (10:17 -0300)]
Revert "dvb-file: don't dereference a NULL pointer"
The check is not needed, as entry can never be null there.
Also, if the alloc fails, entry->next will be NULL and the
error code below will do the right thing.
This reverts commit
f784f800a08abba45fdd595bd23a694347c492e9.
This fixes a Coverity Scan report.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Mauro Carvalho Chehab [Sat, 4 Oct 2014 13:12:04 +0000 (10:12 -0300)]
user man pages: Change report bugs to linux media ML
The best is to report the bugs to the mailing list, and not
directly to me.
While here, update copyright and timestamp at ir-keytable.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Mauro Carvalho Chehab [Sat, 4 Oct 2014 13:02:36 +0000 (10:02 -0300)]
man: add a utils/dvb/dvbv5-zap.1 page and remove from doxygen
Using doxygen for utils page is not too easy and not needed,
as we can simply write it directly using groff markup language.
So, write it.
While here, fix a few bits at dvb-format-convert and dvbv5-scan
manpages that were noticed while writing the new manpage.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Mauro Carvalho Chehab [Sat, 4 Oct 2014 12:09:08 +0000 (09:09 -0300)]
man: move dvb-format-convert.1 out of Doxygen
Using doxygen to document an userspace man page doesn't make
it easier. Instead, it brings extra troubles, as it would create
all man pages under the very same section.
So, move the dvb-fe-tool man page out of doxygen,
adding it as a separate file.
Hopefully, that will make it easier to maintain.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Mauro Carvalho Chehab [Sat, 4 Oct 2014 11:55:21 +0000 (08:55 -0300)]
dvb-format-convert: Fix help message
There are two issues on its help message:
1) There's a cut-and-paste error for the output format help;
2) Output now supports the vdr format.
Fix them.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Mauro Carvalho Chehab [Sat, 4 Oct 2014 00:25:51 +0000 (21:25 -0300)]
man: move dvb-fe-tool.1 out of Doxygen
Using doxygen to document an userspace man page doesn't make
it easier. Instead, it brings extra troubles, as it would create
all man pages under the very same section.
So, move the dvb-fe-tool man page out of doxygen,
adding it as q separate file.
Hopefully, that will make it easier to maintain.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Mauro Carvalho Chehab [Fri, 3 Oct 2014 21:58:51 +0000 (18:58 -0300)]
man: move dvb-scan.1 out of Doxygen
Using doxygen to document an userspace man page doesn't make
it easier. Instead, it brings extra troubles, as it would create
all man pages under the very same section.
So, move the dvb-scan.1 man page out of doxygen, adding it as
a separate file.
Hopefully, that will make it easier to maintain.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Mauro Carvalho Chehab [Fri, 3 Oct 2014 18:54:12 +0000 (15:54 -0300)]
libdvbv5: replace @include by @example
@include causes the entire file to be added at manpage. So, let's
add those files as examples. That even make it looks better at the
html documentation, as they'll go to a separate tab.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Mauro Carvalho Chehab [Fri, 3 Oct 2014 16:53:00 +0000 (13:53 -0300)]
dvb-fe-tool: abort nicely on femon mode
Instead of just aborting, be nice when stopping at femon mode.
That allows testing that everything is being freed by the library
with valgrind, and makes it happy.
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Mauro Carvalho Chehab [Fri, 3 Oct 2014 16:28:50 +0000 (13:28 -0300)]
libdvbv5: fix a nasty to track double-free bug
When the entries from a channel file have a name on it, and
a new transponder is added, the code at dvb_scan_add_entry()
would be copying the channel names at the new entries,
and the dvb_file_free() would be trying to free the memory.
Also, the new entry would be polluted by the values that got
filled already from a previous entry.
So, create a fresh entry with just the tunning part of the
entry.
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Mauro Carvalho Chehab [Fri, 3 Oct 2014 16:18:54 +0000 (13:18 -0300)]
FIXUP
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Mauro Carvalho Chehab [Fri, 3 Oct 2014 15:58:32 +0000 (12:58 -0300)]
dvb-format-convert: make valgrind happy
Frees the dvb input file at the end, to make valgrind happy.
This is not really required, as memory will be freed anyway at
program exit, but this helps to check if the file functions are
properly freeing everything.
==15648==
==15648== HEAP SUMMARY:
==15648== in use at exit: 0 bytes in 0 blocks
==15648== total heap usage: 21 allocs, 21 frees, 44,913 bytes allocated
==15648==
==15648== All heap blocks were freed -- no leaks are possible
==15648==
==15648== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==15648== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Mauro Carvalho Chehab [Fri, 3 Oct 2014 14:35:25 +0000 (11:35 -0300)]
libdvbv5: check for alloc errors at desc_ca
If malloc() fails, it will try to defeference a NULL pointer.
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Mauro Carvalho Chehab [Fri, 3 Oct 2014 14:21:14 +0000 (11:21 -0300)]
dvb-file: don't dereference a NULL pointer
if entry is NULL, we can't use entry->next.
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Mauro Carvalho Chehab [Fri, 3 Oct 2014 14:18:57 +0000 (11:18 -0300)]
dvb-file: fix the memory deallocation on error
When something gets wrong while storing a channel, both channel
and vchannel needs to be freed.
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Mauro Carvalho Chehab [Fri, 3 Oct 2014 14:10:45 +0000 (11:10 -0300)]
dvb-file: Fix no-SDT channel name allocation
When the SDT table is not found, get_program_and_store()
creates an unique channel name for the service ID. However,
the way this is currently handled is not too nice, and might
cause some issues. So, change it.
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Mauro Carvalho Chehab [Fri, 3 Oct 2014 13:42:40 +0000 (10:42 -0300)]
libdvbv5: Fix ISDB-T TS info descriptor
There are a few bugs on this TS parser. Currently, it doesn't
do a bswap16(). So, it may not work with all endiannes.
Also, the argument for dvb_parse_string() should be the current
pointer, and not the buffer.
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Mauro Carvalho Chehab [Fri, 3 Oct 2014 13:18:32 +0000 (10:18 -0300)]
libdvbv5: add a parser for ISO-10646/UCS2 strings
This code was missing. Instead of printing an error message,
do a parsing of the 16-chars emphasis codes.
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Mauro Carvalho Chehab [Fri, 3 Oct 2014 12:16:00 +0000 (09:16 -0300)]
libdvbv5: print ISDB-T frequencies in MHz
This is just a cosmetic change: when displaying the frequency,
print it in MHz. That makes a little easier to read it.
This also makes more sense, since the frequency on this descriptor
is measured in 1/7 MHz steps. So, the value at the descriptor's
content is 7x the value printed.
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Mauro Carvalho Chehab [Fri, 3 Oct 2014 11:58:38 +0000 (08:58 -0300)]
libdvbv5: Fix the number of frequencies at ISDB-T delivery sys descriptor
The ISDB-T delsys descriptor contains 16 bits with some data,
plus a table of frequencies for other channels. Discount the first
16 bits when getting the number of frequencies that are inside the
descriptor. That removes some false frequencies that are being added
by the code.
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Mauro Carvalho Chehab [Fri, 3 Oct 2014 11:56:32 +0000 (08:56 -0300)]
libdvbv5/descriptors: Fix content hexdump
Instead of showing the descriptor's content, it is incrementing
it by two. The incremented is needed to bypass the descriptor's
type and size, however, a previous part of the code is already
doing that.
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Mauro Carvalho Chehab [Thu, 2 Oct 2014 18:55:46 +0000 (15:55 -0300)]
dvb-file: Fix channel name when SDT is not found
The frequency var was stored before reading it from the file
structure, causing it to be bad filled.
Change it do to the right thing. Also, as we already print all
stored channels, add a print for each stored program without
their corresponding SDT entry.
Now, when SDT is not found, it will print something like:
Scanning frequency #2
579000000
Lock (0x1f) Quality= Ok Signal= 100.00% C/N= 36.30dB UCB= 65980 postBER= 1.06x10^-3 PER= 834x10^-6
ERROR dvb_read_sections: no data read on section filter
ERROR error while reading the SDT table
WARNING: no SDT table - storing channel(s) without their names
Storing Service ID 49: '579.00MHz#49'
Storing Service ID 60: '579.00MHz#60'
Storing Service ID 72: '579.00MHz#72'
Storing Service ID 315: '579.00MHz#315'
Storing Service ID 316: '579.00MHz#316'
Storing Service ID 319: '579.00MHz#319'
Storing Service ID 321: '579.00MHz#321'
Storing Service ID 350: '579.00MHz#350'
Storing Service ID 34: '579.00MHz#34'
Storing Service ID 150: '579.00MHz#150'
Storing Service ID 71: '579.00MHz#71'
Storing Service ID 50: '579.00MHz#50'
Storing Service ID 33: '579.00MHz#33'
Storing Service ID 97: '579.00MHz#97'
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Mauro Carvalho Chehab [Thu, 2 Oct 2014 18:39:12 +0000 (15:39 -0300)]
dvb-file: Only print SDT warning if are there any channel to be stored
Sometimes, the PMT table may have some descriptors that don't
belong to any program. Those are already skipped, but a warning
message is printed even if no channel programs is actually there.
Change the logic to only print a warning if both the SDR is not
present and there are program channels on it.
That prevents to show those messages on DVB-C, where some transponders
could be used just for data.
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Mauro Carvalho Chehab [Thu, 2 Oct 2014 17:28:42 +0000 (14:28 -0300)]
dvb-file: Remove spaces at the beginning of channel name
Found one stream where the first char at the channel name is
a space:
Service +Globosat HD, provider (null): digital television
That adds an extra space at the written file, like:
[ +Globosat HD]
It doesn't make much sense of storing a channel with such blank
spaces, as it makes life harder for the users to select it via CLI.
Also, it would disalign its name at GUI for no good reason.
So remove the initial blank spaces of a channel name.
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Mauro Carvalho Chehab [Thu, 2 Oct 2014 15:46:31 +0000 (12:46 -0300)]
dvb-file: frees channel/vchannel if service id not found
Fix a warning reported by valgrind that only happens sometimes,
e. g. when PMT is not found for a given Service ID:
==16331== 5 bytes in 1 blocks are definitely lost in loss record 1 of 1
==16331== at 0x4C27BBD: malloc (vg_replace_malloc.c:296)
==16331== by 0x53E1B87: vasprintf (in /usr/lib64/libc-2.18.so)
==16331== by 0x53BED26: asprintf (in /usr/lib64/libc-2.18.so)
==16331== by 0x4E49236: dvb_store_channel (dvb-file.c:1260)
==16331== by 0x40162F: run_scan (dvbv5-scan.c:280)
==16331== by 0x40162F: main (dvbv5-scan.c:492)
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Mauro Carvalho Chehab [Thu, 2 Oct 2014 14:16:45 +0000 (11:16 -0300)]
dvb-file: Fix a memory leak
==12456== 120 bytes in 1 blocks are definitely lost in loss record 1 of 1
==12456== at 0x4C27BBD: malloc (vg_replace_malloc.c:296)
==12456== by 0x53D9E54: getdelim (in /usr/lib64/libc-2.18.so)
==12456== by 0x4E47FE0: getline (stdio.h:117)
==12456== by 0x4E47FE0: dvb_read_file (dvb-file.c:732)
==12456== by 0x401505: run_scan (dvbv5-scan.c:228)
==12456== by 0x401505: main (dvbv5-scan.c:492)
While here, be sure to check first if the buffer was allocated
by getline().
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Gregor Jasny [Wed, 1 Oct 2014 09:33:04 +0000 (11:33 +0200)]
libdvbv5: Fix typo in doxygen index file
Gregor Jasny [Wed, 1 Oct 2014 09:06:31 +0000 (11:06 +0200)]
libdvbv5: Remove left over include of desc_service_list.h
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Wed, 1 Oct 2014 08:22:22 +0000 (10:22 +0200)]
Start v4l-utils 1.5.91 development cycle
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Wed, 1 Oct 2014 08:03:40 +0000 (10:03 +0200)]
Prepare for 1.5.90 release
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Wed, 1 Oct 2014 08:16:47 +0000 (10:16 +0200)]
doxygen: distribute doc/libdvbv5-index.doc in tarball
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Tue, 30 Sep 2014 15:06:29 +0000 (17:06 +0200)]
libdvbv5: remove service_list descriptor
CC: Andre Roth <neolynx@gmail.com>
Acked-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Tue, 30 Sep 2014 14:55:44 +0000 (16:55 +0200)]
libdvbv5: remove service_location descriptor
CC: Andre Roth <neolynx@gmail.com>
Acked-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Tue, 30 Sep 2014 14:45:38 +0000 (16:45 +0200)]
libdvbv5: Add todo file
Acked-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Hans de Goede [Tue, 30 Sep 2014 14:05:01 +0000 (16:05 +0200)]
libv4l2: Move alignment of dest_fmt resolution to v4l2_set_src_and_dest_format
So that we always do the alignment, this is necessary because there are
several code paths where dest_fmt gets set to a fmt which has not been
passed through libv4lconvert_try_fmt, and thus is not aligned.
Also call v4lconvert_fixup_fmt when aligment has changed the height / width,
so that bytesperline and sizeimage get set correctly.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Hans de Goede [Tue, 30 Sep 2014 14:05:00 +0000 (16:05 +0200)]
libv4l2: Set convert_mmap_frame_size as soon as we've a dest_fmt
We need convert_mmap_frame_size well before we need the convert-mmap buffer
itself, and thus well before we call v4l2_ensure_convert_mmap_buf.
This fixes querybuf returning a length of 0 for fake buffers.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Hans de Goede [Tue, 30 Sep 2014 14:04:59 +0000 (16:04 +0200)]
libv4l2: Fix restoring of original dest-fmt after a VIDIOC_S_DV_TIMING
Read the original pixelformat from dest_fmt, before overwriting dest_fmt with
the new src_fmt.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Hans Verkuil [Tue, 30 Sep 2014 12:36:35 +0000 (14:36 +0200)]
qv4l2: fix typo: 576 instead of 575
The max height for a PAL frame is 576 lines, not 575.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Mauro Carvalho Chehab [Tue, 30 Sep 2014 03:27:00 +0000 (00:27 -0300)]
dvb-file: Fix a core dump issue
get_program_and_store() were actually expecting an empty string
when SDT table is not available, and not a NULL value.
This fixes a core dump issue.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Hans Verkuil [Fri, 26 Sep 2014 08:00:27 +0000 (10:00 +0200)]
v4l2-compliance: fix valgrind warnings
Several structs weren't initialized correctly.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>