@@ -3,11 +3,11 @@ v4l-utils
Linux V4L2 and DVB API utilities and v4l libraries (libv4l).
You can always find the latest development v4l-utils in the git repo:
-http://git.linuxtv.org/v4l-utils.git
+http://git.linuxtv.org/v4l-utils.git
-v4l libraries (libv4l)
-----------------------
+v4l libraries (libv4l, libdvbv5)
+--------------------------------
See README.libv4l for more information on libv4l, libv4l is released
under the GNU Lesser General Public License.
@@ -59,6 +59,18 @@ hardware can _really_ do it should use ENUM_FMT, not randomly try a bunch of
S_FMT's). For more details on the v4l2_ functions see libv4l2.h .
+libdvbv5
+--------
+
+This library provides the DVBv5 API to userspace programs. It can be used to
+open DVB adapters, tune transponders and read PES and other data streams.
+There are as well several parsers for DVB, ATSC, ISBT formats.
+
+The API is currently EXPERIMENTAL and likely to change.
+Run configure with --enable-libdvbv5 in order to build a shared lib and
+install the header files.
+
+
wrappers
--------
similarity index 97%
rename from lib/include/descriptors/atsc_eit.h
rename to lib/include/libdvbv5/atsc_eit.h
@@ -25,8 +25,8 @@
#include <unistd.h> /* ssize_t */
#include <time.h>
-#include "descriptors/atsc_header.h"
-#include "descriptors.h"
+#include <libdvbv5/atsc_header.h>
+#include <libdvbv5/descriptors.h>
#define ATSC_TABLE_EIT 0xCB
similarity index 100%
rename from lib/include/descriptors/atsc_header.h
rename to lib/include/libdvbv5/atsc_header.h
similarity index 100%
rename from lib/include/descriptors/desc_atsc_service_location.h
rename to lib/include/libdvbv5/desc_atsc_service_location.h
similarity index 100%
rename from lib/include/descriptors/desc_cable_delivery.h
rename to lib/include/libdvbv5/desc_cable_delivery.h
similarity index 100%
rename from lib/include/descriptors/desc_event_extended.h
rename to lib/include/libdvbv5/desc_event_extended.h
similarity index 100%
rename from lib/include/descriptors/desc_event_short.h
rename to lib/include/libdvbv5/desc_event_short.h
similarity index 100%
rename from lib/include/descriptors/desc_extension.h
rename to lib/include/libdvbv5/desc_extension.h
similarity index 100%
rename from lib/include/descriptors/desc_frequency_list.h
rename to lib/include/libdvbv5/desc_frequency_list.h
similarity index 100%
rename from lib/include/descriptors/desc_hierarchy.h
rename to lib/include/libdvbv5/desc_hierarchy.h
similarity index 100%
rename from lib/include/descriptors/desc_isdbt_delivery.h
rename to lib/include/libdvbv5/desc_isdbt_delivery.h
similarity index 100%
rename from lib/include/descriptors/desc_language.h
rename to lib/include/libdvbv5/desc_language.h
similarity index 100%
rename from lib/include/descriptors/desc_logical_channel.h
rename to lib/include/libdvbv5/desc_logical_channel.h
similarity index 100%
rename from lib/include/descriptors/desc_network_name.h
rename to lib/include/libdvbv5/desc_network_name.h
similarity index 100%
rename from lib/include/descriptors/desc_partial_reception.h
rename to lib/include/libdvbv5/desc_partial_reception.h
similarity index 100%
rename from lib/include/descriptors/desc_sat.h
rename to lib/include/libdvbv5/desc_sat.h
similarity index 100%
rename from lib/include/descriptors/desc_service.h
rename to lib/include/libdvbv5/desc_service.h
similarity index 100%
rename from lib/include/descriptors/desc_service_list.h
rename to lib/include/libdvbv5/desc_service_list.h
similarity index 100%
rename from lib/include/descriptors/desc_service_location.h
rename to lib/include/libdvbv5/desc_service_location.h
similarity index 100%
rename from lib/include/descriptors/desc_t2_delivery.h
rename to lib/include/libdvbv5/desc_t2_delivery.h
similarity index 100%
rename from lib/include/descriptors/desc_terrestrial_delivery.h
rename to lib/include/libdvbv5/desc_terrestrial_delivery.h
similarity index 100%
rename from lib/include/descriptors/desc_ts_info.h
rename to lib/include/libdvbv5/desc_ts_info.h
similarity index 100%
rename from lib/include/descriptors.h
rename to lib/include/libdvbv5/descriptors.h
similarity index 100%
rename from lib/include/dvb-demux.h
rename to lib/include/libdvbv5/dvb-demux.h
similarity index 100%
rename from lib/include/dvb-fe.h
rename to lib/include/libdvbv5/dvb-fe.h
similarity index 100%
rename from lib/include/dvb-file.h
rename to lib/include/libdvbv5/dvb-file.h
similarity index 100%
rename from lib/include/dvb-frontend.h
rename to lib/include/libdvbv5/dvb-frontend.h
similarity index 100%
rename from lib/include/dvb-log.h
rename to lib/include/libdvbv5/dvb-log.h
similarity index 100%
rename from lib/include/dvb-sat.h
rename to lib/include/libdvbv5/dvb-sat.h
similarity index 98%
rename from lib/include/dvb-scan.h
rename to lib/include/libdvbv5/dvb-scan.h
@@ -22,9 +22,9 @@
#include <stdint.h>
#include <linux/dvb/dmx.h>
-#include "descriptors.h"
+#include <libdvbv5/descriptors.h>
-#include "dvb-sat.h"
+#include <libdvbv5/dvb-sat.h>
/* According with ISO/IEC 13818-1:2007 */
similarity index 100%
rename from lib/include/dvb-v5-std.h
rename to lib/include/libdvbv5/dvb-v5-std.h
similarity index 97%
rename from lib/include/descriptors/eit.h
rename to lib/include/libdvbv5/eit.h
@@ -26,8 +26,8 @@
#include <unistd.h> /* ssize_t */
#include <time.h>
-#include "descriptors/header.h"
-#include "descriptors.h"
+#include <libdvbv5/header.h>
+#include <libdvbv5/descriptors.h>
#define DVB_TABLE_EIT 0x4E
#define DVB_TABLE_EIT_OTHER 0x4F
similarity index 100%
rename from lib/include/descriptors/header.h
rename to lib/include/libdvbv5/header.h
similarity index 96%
rename from lib/include/descriptors/mgt.h
rename to lib/include/libdvbv5/mgt.h
@@ -24,8 +24,8 @@
#include <stdint.h>
#include <unistd.h> /* ssize_t */
-#include "descriptors/atsc_header.h"
-#include "descriptors.h"
+#include <libdvbv5/atsc_header.h>
+#include <libdvbv5/descriptors.h>
#define ATSC_TABLE_MGT 0xC7
similarity index 100%
rename from lib/include/descriptors/mpeg_es.h
rename to lib/include/libdvbv5/mpeg_es.h
similarity index 100%
rename from lib/include/descriptors/mpeg_pes.h
rename to lib/include/libdvbv5/mpeg_pes.h
similarity index 100%
rename from lib/include/descriptors/mpeg_ts.h
rename to lib/include/libdvbv5/mpeg_ts.h
similarity index 97%
rename from lib/include/descriptors/nit.h
rename to lib/include/libdvbv5/nit.h
@@ -25,8 +25,8 @@
#include <stdint.h>
#include <unistd.h> /* ssize_t */
-#include "descriptors/header.h"
-#include "descriptors.h"
+#include <libdvbv5/header.h>
+#include <libdvbv5/descriptors.h>
#define DVB_TABLE_NIT 0x40
#define DVB_TABLE_NIT2 0x41
similarity index 98%
rename from lib/include/descriptors/pat.h
rename to lib/include/libdvbv5/pat.h
@@ -25,7 +25,7 @@
#include <stdint.h>
#include <unistd.h> /* ssize_t */
-#include "descriptors/header.h"
+#include <libdvbv5/header.h>
#define DVB_TABLE_PAT 0
#define DVB_TABLE_PAT_PID 0
similarity index 99%
rename from lib/include/descriptors/pmt.h
rename to lib/include/libdvbv5/pmt.h
@@ -25,7 +25,7 @@
#include <stdint.h>
#include <unistd.h> /* ssize_t */
-#include "descriptors/header.h"
+#include <libdvbv5/header.h>
#define DVB_TABLE_PMT 2
similarity index 97%
rename from lib/include/descriptors/sdt.h
rename to lib/include/libdvbv5/sdt.h
@@ -25,8 +25,8 @@
#include <stdint.h>
#include <unistd.h> /* ssize_t */
-#include "descriptors/header.h"
-#include "descriptors.h"
+#include <libdvbv5/header.h>
+#include <libdvbv5/descriptors.h>
#define DVB_TABLE_SDT 0x42
#define DVB_TABLE_SDT2 0x46
similarity index 97%
rename from lib/include/descriptors/vct.h
rename to lib/include/libdvbv5/vct.h
@@ -25,8 +25,8 @@
#include <stdint.h>
#include <unistd.h> /* ssize_t */
-#include "descriptors/atsc_header.h"
-#include "descriptors.h"
+#include <libdvbv5/atsc_header.h>
+#include <libdvbv5/descriptors.h>
#define ATSC_TABLE_TVCT 0xc8
#define ATSC_TABLE_CVCT 0xc9
@@ -1,8 +1,50 @@
if WITH_LIBDVBV5
lib_LTLIBRARIES = libdvbv5.la
-include_HEADERS = ../include/dvb-demux.h ../include/dvb-v5-std.h \
- ../include/dvb-file.h ../include/dvb-frontend.h ../include/dvb-fe.h \
- ../include/dvb-sat.h ../include/dvb-scan.h
+
+otherincludedir = $(includedir)/libdvbv5
+otherinclude_HEADERS = \
+ ../include/libdvbv5/dvb-demux.h \
+ ../include/libdvbv5/dvb-v5-std.h \
+ ../include/libdvbv5/dvb-file.h \
+ ../include/libdvbv5/dvb-frontend.h \
+ ../include/libdvbv5/dvb-fe.h \
+ ../include/libdvbv5/dvb-sat.h \
+ ../include/libdvbv5/dvb-scan.h \
+ ../include/libdvbv5/dvb-log.h \
+ ../include/libdvbv5/descriptors.h \
+ ../include/libdvbv5/header.h \
+ ../include/libdvbv5/pat.h \
+ ../include/libdvbv5/pmt.h \
+ ../include/libdvbv5/desc_language.h \
+ ../include/libdvbv5/desc_network_name.h \
+ ../include/libdvbv5/desc_cable_delivery.h \
+ ../include/libdvbv5/desc_sat.h \
+ ../include/libdvbv5/desc_terrestrial_delivery.h \
+ ../include/libdvbv5/desc_t2_delivery.h \
+ ../include/libdvbv5/desc_service.h \
+ ../include/libdvbv5/desc_frequency_list.h \
+ ../include/libdvbv5/desc_service_list.h \
+ ../include/libdvbv5/desc_event_short.h \
+ ../include/libdvbv5/desc_event_extended.h \
+ ../include/libdvbv5/desc_atsc_service_location.h \
+ ../include/libdvbv5/desc_hierarchy.h \
+ ../include/libdvbv5/desc_extension.h \
+ ../include/libdvbv5/desc_isdbt_delivery.h \
+ ../include/libdvbv5/desc_logical_channel.h \
+ ../include/libdvbv5/desc_ts_info.h \
+ ../include/libdvbv5/desc_partial_reception.h \
+ ../include/libdvbv5/nit.h \
+ ../include/libdvbv5/sdt.h \
+ ../include/libdvbv5/vct.h \
+ ../include/libdvbv5/atsc_header.h \
+ ../include/libdvbv5/mgt.h \
+ ../include/libdvbv5/eit.h \
+ ../include/libdvbv5/atsc_eit.h \
+ ../include/libdvbv5/desc_service_location.h \
+ ../include/libdvbv5/mpeg_ts.h \
+ ../include/libdvbv5/mpeg_pes.h \
+ ../include/libdvbv5/mpeg_es.h
+
pkgconfig_DATA = libdvbv5.pc
LIBDVBV5_VERSION = -version-info 0
else
@@ -10,50 +52,54 @@ noinst_LTLIBRARIES = libdvbv5.la
endif
libdvbv5_la_SOURCES = \
- dvb-demux.c ../include/dvb-demux.h \
- dvb-fe.c ../include/dvb-fe.h \
- dvb-log.c ../include/dvb-log.h \
- dvb-file.c ../include/dvb-file.h \
- ../include/dvb-frontend.h \
- dvb-v5.h dvb-v5.c \
- ../include/dvb-v5-std.h dvb-v5-std.c \
- dvb-legacy-channel-format.c \
- dvb-zap-format.c \
- dvb-sat.c ../include/dvb-sat.h \
- dvb-scan.c ../include/dvb-scan.h \
- parse_string.c parse_string.h \
- crc32.c crc32.h \
- descriptors.c ../include/descriptors.h \
- descriptors/header.c ../include/descriptors/header.h \
- descriptors/pat.c ../include/descriptors/pat.h \
- descriptors/pmt.c ../include/descriptors/pmt.h \
- descriptors/desc_language.c ../include/descriptors/desc_language.h \
- descriptors/desc_network_name.c ../include/descriptors/desc_network_name.h \
- descriptors/desc_cable_delivery.c ../include/descriptors/desc_cable_delivery.h \
- descriptors/desc_sat.c ../include/descriptors/desc_sat.h \
- descriptors/desc_terrestrial_delivery.c ../include/descriptors/desc_terrestrial_delivery.h \
- descriptors/desc_t2_delivery.c ../include/descriptors/desc_t2_delivery.h \
- descriptors/desc_service.c ../include/descriptors/desc_service.h \
- descriptors/desc_frequency_list.c ../include/descriptors/desc_frequency_list.h \
- descriptors/desc_service_list.c ../include/descriptors/desc_service_list.h \
- descriptors/desc_event_short.c ../include/descriptors/desc_event_short.h \
- descriptors/desc_event_extended.c ../include/descriptors/desc_event_extended.h \
- descriptors/desc_atsc_service_location.c ../include/descriptors/desc_atsc_service_location.h \
- descriptors/desc_hierarchy.c ../include/descriptors/desc_hierarchy.h \
- descriptors/desc_extension.c ../include/descriptors/desc_extension.h \
- descriptors/desc_isdbt_delivery.c ../include/descriptors/desc_isdbt_delivery.h \
- descriptors/desc_logical_channel.c ../include/descriptors/desc_logical_channel.h \
- descriptors/desc_ts_info.c ../include/descriptors/desc_ts_info.h \
- descriptors/desc_partial_reception.c ../include/descriptors/desc_partial_reception.h \
- descriptors/nit.c ../include/descriptors/nit.h \
- descriptors/sdt.c ../include/descriptors/sdt.h \
- descriptors/vct.c ../include/descriptors/vct.h \
- descriptors/atsc_header.c ../include/descriptors/atsc_header.h \
- descriptors/mgt.c ../include/descriptors/mgt.h \
- descriptors/eit.c ../include/descriptors/eit.h \
- descriptors/atsc_eit.c ../include/descriptors/atsc_eit.h
+ crc32.c crc32.h \
+ ../include/dvb-frontend.h \
+ dvb-legacy-channel-format.c \
+ dvb-zap-format.c \
+ dvb-v5.c dvb-v5.h \
+ parse_string.c parse_string.h \
+ dvb-demux.c ../include/dvb-demux.h \
+ dvb-fe.c ../include/dvb-fe.h \
+ dvb-log.c ../include/dvb-log.h \
+ dvb-file.c ../include/dvb-file.h \
+ dvb-v5-std.c ../include/dvb-v5-std.h \
+ dvb-sat.c ../include/dvb-sat.h \
+ dvb-scan.c ../include/dvb-scan.h \
+ descriptors.c ../include/descriptors.h \
+ descriptors/header.c ../include/libdvbv5/header.h \
+ descriptors/atsc_header.c ../include/libdvbv5/atsc_header.h \
+ descriptors/pat.c ../include/libdvbv5/pat.h \
+ descriptors/pmt.c ../include/libdvbv5/pmt.h \
+ descriptors/nit.c ../include/libdvbv5/nit.h \
+ descriptors/sdt.c ../include/libdvbv5/sdt.h \
+ descriptors/vct.c ../include/libdvbv5/vct.h \
+ descriptors/mgt.c ../include/libdvbv5/mgt.h \
+ descriptors/eit.c ../include/libdvbv5/eit.h \
+ descriptors/atsc_eit.c ../include/libdvbv5/atsc_eit.h \
+ descriptors/desc_language.c ../include/libdvbv5/desc_language.h \
+ descriptors/desc_network_name.c ../include/libdvbv5/desc_network_name.h \
+ descriptors/desc_cable_delivery.c ../include/libdvbv5/desc_cable_delivery.h \
+ descriptors/desc_sat.c ../include/libdvbv5/desc_sat.h \
+ descriptors/desc_terrestrial_delivery.c ../include/libdvbv5/desc_terrestrial_delivery.h \
+ descriptors/desc_t2_delivery.c ../include/libdvbv5/desc_t2_delivery.h \
+ descriptors/desc_service.c ../include/libdvbv5/desc_service.h \
+ descriptors/desc_frequency_list.c ../include/libdvbv5/desc_frequency_list.h \
+ descriptors/desc_service_list.c ../include/libdvbv5/desc_service_list.h \
+ descriptors/desc_event_short.c ../include/libdvbv5/desc_event_short.h \
+ descriptors/desc_event_extended.c ../include/libdvbv5/desc_event_extended.h \
+ descriptors/desc_atsc_service_location.c ../include/libdvbv5/desc_atsc_service_location.h \
+ descriptors/desc_hierarchy.c ../include/libdvbv5/desc_hierarchy.h \
+ descriptors/desc_extension.c ../include/libdvbv5/desc_extension.h \
+ descriptors/desc_isdbt_delivery.c ../include/libdvbv5/desc_isdbt_delivery.h \
+ descriptors/desc_logical_channel.c ../include/libdvbv5/desc_logical_channel.h \
+ descriptors/desc_ts_info.c ../include/libdvbv5/desc_ts_info.h \
+ descriptors/desc_partial_reception.c ../include/libdvbv5/desc_partial_reception.h \
+ descriptors/desc_service_location.c ../include/libdvbv5/desc_service_location.h \
+ descriptors/mpeg_ts.c ../include/libdvbv5/mpeg_ts.h \
+ descriptors/mpeg_pes.c ../include/libdvbv5/mpeg_pes.h \
+ descriptors/mpeg_es.c ../include/libdvbv5/mpeg_es.h
-libdvbv5_la_CPPFLAGS = $(ENFORCE_LIBDVBV5_STATIC)
+libdvbv5_la_CPPFLAGS = -I../.. $(ENFORCE_LIBDVBV5_STATIC)
libdvbv5_la_LDFLAGS = $(LIBDVBV5_VERSION) $(ENFORCE_LIBDVBV5_STATIC) -lm
libdvbv5_la_LIBADD = $(LTLIBICONV)
@@ -22,39 +22,39 @@
#include <stdlib.h>
#include <stdio.h>
-#include "descriptors.h"
-#include "dvb-fe.h"
-#include "dvb-scan.h"
+#include <libdvbv5/descriptors.h>
+#include <libdvbv5/dvb-fe.h>
+#include <libdvbv5/dvb-scan.h>
#include "parse_string.h"
-#include "dvb-frontend.h"
-#include "dvb-v5-std.h"
-#include "dvb-log.h"
+#include <libdvbv5/dvb-frontend.h>
+#include <libdvbv5/dvb-v5-std.h>
+#include <libdvbv5/dvb-log.h>
-#include "descriptors/pat.h"
-#include "descriptors/pmt.h"
-#include "descriptors/nit.h"
-#include "descriptors/sdt.h"
-#include "descriptors/eit.h"
-#include "descriptors/vct.h"
-#include "descriptors/mgt.h"
-#include "descriptors/atsc_eit.h"
-#include "descriptors/desc_language.h"
-#include "descriptors/desc_network_name.h"
-#include "descriptors/desc_cable_delivery.h"
-#include "descriptors/desc_sat.h"
-#include "descriptors/desc_terrestrial_delivery.h"
-#include "descriptors/desc_isdbt_delivery.h"
-#include "descriptors/desc_service.h"
-#include "descriptors/desc_service_list.h"
-#include "descriptors/desc_frequency_list.h"
-#include "descriptors/desc_event_short.h"
-#include "descriptors/desc_event_extended.h"
-#include "descriptors/desc_atsc_service_location.h"
-#include "descriptors/desc_hierarchy.h"
-#include "descriptors/desc_ts_info.h"
-#include "descriptors/desc_logical_channel.h"
-#include "descriptors/desc_partial_reception.h"
-#include "descriptors/desc_extension.h"
+#include <libdvbv5/pat.h>
+#include <libdvbv5/pmt.h>
+#include <libdvbv5/nit.h>
+#include <libdvbv5/sdt.h>
+#include <libdvbv5/eit.h>
+#include <libdvbv5/vct.h>
+#include <libdvbv5/mgt.h>
+#include <libdvbv5/atsc_eit.h>
+#include <libdvbv5/desc_language.h>
+#include <libdvbv5/desc_network_name.h>
+#include <libdvbv5/desc_cable_delivery.h>
+#include <libdvbv5/desc_sat.h>
+#include <libdvbv5/desc_terrestrial_delivery.h>
+#include <libdvbv5/desc_isdbt_delivery.h>
+#include <libdvbv5/desc_service.h>
+#include <libdvbv5/desc_service_list.h>
+#include <libdvbv5/desc_frequency_list.h>
+#include <libdvbv5/desc_event_short.h>
+#include <libdvbv5/desc_event_extended.h>
+#include <libdvbv5/desc_atsc_service_location.h>
+#include <libdvbv5/desc_hierarchy.h>
+#include <libdvbv5/desc_ts_info.h>
+#include <libdvbv5/desc_logical_channel.h>
+#include <libdvbv5/desc_partial_reception.h>
+#include <libdvbv5/desc_extension.h>
ssize_t dvb_desc_init(const uint8_t *buf, struct dvb_desc *desc)
{
@@ -18,8 +18,8 @@
*
*/
-#include "descriptors/atsc_eit.h"
-#include "dvb-fe.h"
+#include <libdvbv5/atsc_eit.h>
+#include <libdvbv5/dvb-fe.h>
void atsc_table_eit_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf, ssize_t buflen, uint8_t *table, ssize_t *table_length)
{
@@ -18,9 +18,9 @@
*
*/
-#include "descriptors/atsc_header.h"
-#include "descriptors.h"
-#include "dvb-fe.h"
+#include <libdvbv5/atsc_header.h>
+#include <libdvbv5/descriptors.h>
+#include <libdvbv5/dvb-fe.h>
int atsc_table_header_init(struct atsc_table_header *t)
{
@@ -18,9 +18,9 @@
*
*/
-#include "descriptors.h"
-#include "descriptors/desc_atsc_service_location.h"
-#include "dvb-fe.h"
+#include <libdvbv5/descriptors.h>
+#include <libdvbv5/desc_atsc_service_location.h>
+#include <libdvbv5/dvb-fe.h>
void atsc_desc_service_location_init(struct dvb_v5_fe_parms *parms,
const uint8_t *buf, struct dvb_desc *desc)
@@ -84,4 +84,4 @@ void atsc_desc_service_location_free(struct dvb_desc *desc)
if (s_loc->elementary)
free(s_loc->elementary);
-}
\ No newline at end of file
+}
@@ -20,9 +20,9 @@
* Described at ETSI EN 300 468 V1.11.1 (2010-04)
*/
-#include "descriptors/desc_cable_delivery.h"
-#include "descriptors.h"
-#include "dvb-fe.h"
+#include <libdvbv5/desc_cable_delivery.h>
+#include <libdvbv5/descriptors.h>
+#include <libdvbv5/dvb-fe.h>
void dvb_desc_cable_delivery_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf, struct dvb_desc *desc)
{
@@ -19,10 +19,10 @@
*
*/
-#include "descriptors/desc_event_extended.h"
-#include "descriptors.h"
-#include "dvb-fe.h"
-#include "parse_string.h"
+#include <libdvbv5/desc_event_extended.h>
+#include <libdvbv5/descriptors.h>
+#include <libdvbv5/dvb-fe.h>
+#include <parse_string.h>
void dvb_desc_event_extended_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf, struct dvb_desc *desc)
{
@@ -19,10 +19,10 @@
*
*/
-#include "descriptors/desc_event_short.h"
-#include "descriptors.h"
-#include "dvb-fe.h"
-#include "parse_string.h"
+#include <libdvbv5/desc_event_short.h>
+#include <libdvbv5/descriptors.h>
+#include <libdvbv5/dvb-fe.h>
+#include <parse_string.h>
void dvb_desc_event_short_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf, struct dvb_desc *desc)
{
@@ -18,10 +18,10 @@
*
*/
-#include "descriptors.h"
-#include "descriptors/desc_extension.h"
-#include "descriptors/desc_t2_delivery.h"
-#include "dvb-fe.h"
+#include <libdvbv5/descriptors.h>
+#include <libdvbv5/desc_extension.h>
+#include <libdvbv5/desc_t2_delivery.h>
+#include <libdvbv5/dvb-fe.h>
const struct dvb_ext_descriptor dvb_ext_descriptors[] = {
[0 ...255 ] = {
@@ -19,9 +19,9 @@
*
*/
-#include "descriptors/desc_frequency_list.h"
-#include "descriptors.h"
-#include "dvb-fe.h"
+#include <libdvbv5/desc_frequency_list.h>
+#include <libdvbv5/descriptors.h>
+#include <libdvbv5/dvb-fe.h>
void dvb_desc_frequency_list_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf, struct dvb_desc *desc)
{
@@ -19,9 +19,9 @@
*
*/
-#include "descriptors/desc_hierarchy.h"
-#include "descriptors.h"
-#include "dvb-fe.h"
+#include <libdvbv5/desc_hierarchy.h>
+#include <libdvbv5/descriptors.h>
+#include <libdvbv5/dvb-fe.h>
void dvb_desc_hierarchy_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf, struct dvb_desc *desc)
{
@@ -18,9 +18,9 @@
*
*/
-#include "descriptors.h"
-#include "descriptors/desc_isdbt_delivery.h"
-#include "dvb-fe.h"
+#include <libdvbv5/descriptors.h>
+#include <libdvbv5/desc_isdbt_delivery.h>
+#include <libdvbv5/dvb-fe.h>
void isdbt_desc_delivery_init(struct dvb_v5_fe_parms *parms,
const uint8_t *buf, struct dvb_desc *desc)
@@ -100,4 +100,4 @@ void isdbt_desc_delivery_free(struct dvb_desc *desc)
const struct isdbt_desc_terrestrial_delivery_system *d = (const void *) desc;
free(d->frequency);
-}
\ No newline at end of file
+}
@@ -19,9 +19,9 @@
*
*/
-#include "descriptors/desc_language.h"
-#include "descriptors.h"
-#include "dvb-fe.h"
+#include <libdvbv5/desc_language.h>
+#include <libdvbv5/descriptors.h>
+#include <libdvbv5/dvb-fe.h>
void dvb_desc_language_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf, struct dvb_desc *desc)
{
@@ -22,10 +22,10 @@
* http://tdt.telecom.pt/recursos/apresentacoes/Signalling Specifications for DTT deployment in Portugal.pdf
*/
-#include "descriptors.h"
-#include "descriptors/desc_logical_channel.h"
-#include "dvb-fe.h"
-#include "parse_string.h"
+#include <libdvbv5/descriptors.h>
+#include <libdvbv5/desc_logical_channel.h>
+#include <libdvbv5/dvb-fe.h>
+#include <parse_string.h>
void dvb_desc_logical_channel_init(struct dvb_v5_fe_parms *parms,
const uint8_t *buf, struct dvb_desc *desc)
@@ -19,9 +19,9 @@
*
*/
-#include "descriptors/desc_network_name.h"
-#include "descriptors.h"
-#include "dvb-fe.h"
+#include <libdvbv5/desc_network_name.h>
+#include <libdvbv5/descriptors.h>
+#include <libdvbv5/dvb-fe.h>
#include "parse_string.h"
void dvb_desc_network_name_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf, struct dvb_desc *desc)
@@ -19,10 +19,10 @@
* Described on ARIB STD-B10 as Partial reception descriptor
*/
-#include "descriptors.h"
-#include "descriptors/desc_partial_reception.h"
-#include "dvb-fe.h"
-#include "parse_string.h"
+#include <libdvbv5/descriptors.h>
+#include <libdvbv5/desc_partial_reception.h>
+#include <libdvbv5/dvb-fe.h>
+#include <parse_string.h>
void isdb_desc_partial_reception_init(struct dvb_v5_fe_parms *parms,
const uint8_t *buf, struct dvb_desc *desc)
@@ -19,9 +19,9 @@
*
*/
-#include "descriptors/desc_sat.h"
-#include "descriptors.h"
-#include "dvb-fe.h"
+#include <libdvbv5/desc_sat.h>
+#include <libdvbv5/descriptors.h>
+#include <libdvbv5/dvb-fe.h>
void dvb_desc_sat_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf, struct dvb_desc *desc)
{
@@ -19,10 +19,10 @@
*
*/
-#include "descriptors/desc_service.h"
-#include "descriptors.h"
-#include "dvb-fe.h"
-#include "parse_string.h"
+#include <libdvbv5/desc_service.h>
+#include <libdvbv5/descriptors.h>
+#include <libdvbv5/dvb-fe.h>
+#include <parse_string.h>
void dvb_desc_service_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf, struct dvb_desc *desc)
{
@@ -19,9 +19,9 @@
*
*/
-#include "descriptors/desc_service_list.h"
-#include "descriptors.h"
-#include "dvb-fe.h"
+#include <libdvbv5/desc_service_list.h>
+#include <libdvbv5/descriptors.h>
+#include <libdvbv5/dvb-fe.h>
void dvb_desc_service_list_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf, struct dvb_desc *desc)
{
@@ -18,19 +18,20 @@
*
*/
-#include "descriptors/desc_service_location.h"
-#include "dvb-fe.h"
+#include <libdvbv5/desc_service_location.h>
+#include <libdvbv5/descriptors.h>
+#include <libdvbv5/dvb-fe.h>
void dvb_desc_service_location_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf, struct dvb_desc *desc)
{
struct dvb_desc_service_location *service_location = (struct dvb_desc_service_location *) desc;
- uint8_t *endbuf = buf + desc->length;
+ const uint8_t *endbuf = buf + desc->length;
ssize_t size = sizeof(struct dvb_desc_service_location) - sizeof(struct dvb_desc);
struct dvb_desc_service_location_element *element;
int i;
if (buf + size > endbuf) {
- dvb_logerr("%s: short read %d/%zd bytes", __FUNCTION__, endbuf - buf, size);
+ dvb_logerr("%s: short read %zd/%zd bytes", __FUNCTION__, endbuf - buf, size);
return;
}
@@ -43,7 +44,7 @@ void dvb_desc_service_location_init(struct dvb_v5_fe_parms *parms, const uint8_t
size = service_location->elements * sizeof(struct dvb_desc_service_location_element);
if (buf + size > endbuf) {
- dvb_logerr("%s: short read %d/%zd bytes", __FUNCTION__, endbuf - buf, size);
+ dvb_logerr("%s: short read %zd/%zd bytes", __FUNCTION__, endbuf - buf, size);
return;
}
service_location->element = malloc(size);
@@ -19,10 +19,10 @@
* Based on ETSI EN 300 468 V1.11.1 (2010-04)
*/
-#include "descriptors.h"
-#include "descriptors/desc_extension.h"
-#include "descriptors/desc_t2_delivery.h"
-#include "dvb-fe.h"
+#include <libdvbv5/descriptors.h>
+#include <libdvbv5/desc_extension.h>
+#include <libdvbv5/desc_t2_delivery.h>
+#include <libdvbv5/dvb-fe.h>
void dvb_desc_t2_delivery_init(struct dvb_v5_fe_parms *parms,
const uint8_t *buf,
@@ -21,9 +21,9 @@
*
*/
-#include "descriptors/desc_terrestrial_delivery.h"
-#include "descriptors.h"
-#include "dvb-fe.h"
+#include <libdvbv5/desc_terrestrial_delivery.h>
+#include <libdvbv5/descriptors.h>
+#include <libdvbv5/dvb-fe.h>
void dvb_desc_terrestrial_delivery_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf, struct dvb_desc *desc)
{
@@ -19,10 +19,10 @@
* Described on ARIB STD-B10 as TS information descriptor
*/
-#include "descriptors.h"
-#include "descriptors/desc_ts_info.h"
-#include "dvb-fe.h"
-#include "parse_string.h"
+#include <libdvbv5/descriptors.h>
+#include <libdvbv5/desc_ts_info.h>
+#include <libdvbv5/dvb-fe.h>
+#include <parse_string.h>
void dvb_desc_ts_info_init(struct dvb_v5_fe_parms *parms,
const uint8_t *buf, struct dvb_desc *desc)
@@ -19,8 +19,8 @@
*
*/
-#include "descriptors/eit.h"
-#include "dvb-fe.h"
+#include <libdvbv5/eit.h>
+#include <libdvbv5/dvb-fe.h>
void dvb_table_eit_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf, ssize_t buflen, uint8_t *table, ssize_t *table_length)
{
@@ -19,9 +19,9 @@
*
*/
-#include "descriptors/header.h"
-#include "descriptors.h"
-#include "dvb-fe.h"
+#include <libdvbv5/header.h>
+#include <libdvbv5/descriptors.h>
+#include <libdvbv5/dvb-fe.h>
int dvb_table_header_init(struct dvb_table_header *t)
{
@@ -18,8 +18,8 @@
*
*/
-#include "descriptors/mgt.h"
-#include "dvb-fe.h"
+#include <libdvbv5/mgt.h>
+#include <libdvbv5/dvb-fe.h>
void atsc_table_mgt_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf, ssize_t buflen, uint8_t *table, ssize_t *table_length)
{
@@ -18,9 +18,9 @@
*
*/
-#include "descriptors/mpeg_es.h"
-#include "descriptors.h"
-#include "dvb-fe.h"
+#include <libdvbv5/mpeg_es.h>
+#include <libdvbv5/descriptors.h>
+#include <libdvbv5/dvb-fe.h>
int dvb_mpeg_es_seq_start_init(const uint8_t *buf, ssize_t buflen, struct dvb_mpeg_es_seq_start *seq_start)
{
@@ -18,9 +18,9 @@
*
*/
-#include "descriptors/mpeg_pes.h"
-#include "descriptors.h"
-#include "dvb-fe.h"
+#include <libdvbv5/mpeg_pes.h>
+#include <libdvbv5/descriptors.h>
+#include <libdvbv5/dvb-fe.h>
ssize_t dvb_mpeg_pes_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf, ssize_t buflen, uint8_t *table)
{
@@ -18,9 +18,9 @@
*
*/
-#include "descriptors/mpeg_ts.h"
-#include "descriptors.h"
-#include "dvb-fe.h"
+#include <libdvbv5/mpeg_ts.h>
+#include <libdvbv5/descriptors.h>
+#include <libdvbv5/dvb-fe.h>
ssize_t dvb_mpeg_ts_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf, ssize_t buflen, uint8_t *table, ssize_t *table_length)
{
@@ -19,8 +19,8 @@
*
*/
-#include "descriptors/nit.h"
-#include "dvb-fe.h"
+#include <libdvbv5/nit.h>
+#include <libdvbv5/dvb-fe.h>
void dvb_table_nit_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf,
ssize_t buflen, uint8_t *table, ssize_t *table_length)
@@ -19,9 +19,9 @@
*
*/
-#include "descriptors/pat.h"
-#include "descriptors.h"
-#include "dvb-fe.h"
+#include <libdvbv5/pat.h>
+#include <libdvbv5/descriptors.h>
+#include <libdvbv5/dvb-fe.h>
void dvb_table_pat_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf,
ssize_t buflen, uint8_t *table, ssize_t *table_length)
@@ -19,9 +19,9 @@
*
*/
-#include "descriptors/pmt.h"
-#include "descriptors.h"
-#include "dvb-fe.h"
+#include <libdvbv5/pmt.h>
+#include <libdvbv5/descriptors.h>
+#include <libdvbv5/dvb-fe.h>
#include <string.h> /* memcpy */
@@ -19,8 +19,8 @@
*
*/
-#include "descriptors/sdt.h"
-#include "dvb-fe.h"
+#include <libdvbv5/sdt.h>
+#include <libdvbv5/dvb-fe.h>
void dvb_table_sdt_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf,
ssize_t buflen, uint8_t *table, ssize_t *table_length)
@@ -19,9 +19,9 @@
*
*/
-#include "descriptors/vct.h"
-#include "dvb-fe.h"
-#include "parse_string.h"
+#include <libdvbv5/vct.h>
+#include <libdvbv5/dvb-fe.h>
+#include <parse_string.h>
void atsc_table_vct_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf,
ssize_t buflen, uint8_t *table, ssize_t *table_length)
@@ -38,7 +38,7 @@
#include <fcntl.h>
#include <stdlib.h> /* free */
-#include "dvb-demux.h"
+#include <libdvbv5/dvb-demux.h>
int dvb_dmx_open(int adapter, int demux)
{
@@ -19,8 +19,8 @@
#include <sys/types.h>
#include "dvb-v5.h"
-#include "dvb-v5-std.h"
-#include "dvb-fe.h"
+#include <libdvbv5/dvb-v5-std.h>
+#include <libdvbv5/dvb-fe.h>
#include <inttypes.h>
#include <math.h>
@@ -24,30 +24,30 @@
#include <strings.h> /* strcasecmp */
#include <unistd.h>
-#include "dvb-file.h"
-#include "dvb-v5-std.h"
-#include "dvb-scan.h"
-#include "dvb-log.h"
-#include "descriptors.h"
-#include "descriptors/nit.h"
-#include "descriptors/sdt.h"
-#include "descriptors/pat.h"
-#include "descriptors/pmt.h"
-#include "descriptors/vct.h"
-#include "descriptors/desc_ts_info.h"
-#include "descriptors/desc_logical_channel.h"
-#include "descriptors/desc_language.h"
-#include "descriptors/desc_network_name.h"
-#include "descriptors/desc_cable_delivery.h"
-#include "descriptors/desc_sat.h"
-#include "descriptors/desc_terrestrial_delivery.h"
-#include "descriptors/desc_service.h"
-#include "descriptors/desc_service_list.h"
-#include "descriptors/desc_frequency_list.h"
-#include "descriptors/desc_event_short.h"
-#include "descriptors/desc_event_extended.h"
-#include "descriptors/desc_atsc_service_location.h"
-#include "descriptors/desc_hierarchy.h"
+#include <libdvbv5/dvb-file.h>
+#include <libdvbv5/dvb-v5-std.h>
+#include <libdvbv5/dvb-scan.h>
+#include <libdvbv5/dvb-log.h>
+#include <libdvbv5/descriptors.h>
+#include <libdvbv5/nit.h>
+#include <libdvbv5/sdt.h>
+#include <libdvbv5/pat.h>
+#include <libdvbv5/pmt.h>
+#include <libdvbv5/vct.h>
+#include <libdvbv5/desc_ts_info.h>
+#include <libdvbv5/desc_logical_channel.h>
+#include <libdvbv5/desc_language.h>
+#include <libdvbv5/desc_network_name.h>
+#include <libdvbv5/desc_cable_delivery.h>
+#include <libdvbv5/desc_sat.h>
+#include <libdvbv5/desc_terrestrial_delivery.h>
+#include <libdvbv5/desc_service.h>
+#include <libdvbv5/desc_service_list.h>
+#include <libdvbv5/desc_frequency_list.h>
+#include <libdvbv5/desc_event_short.h>
+#include <libdvbv5/desc_event_extended.h>
+#include <libdvbv5/desc_atsc_service_location.h>
+#include <libdvbv5/desc_hierarchy.h>
int store_entry_prop(struct dvb_entry *entry,
uint32_t cmd, uint32_t value)
@@ -21,8 +21,8 @@
#include <stdlib.h>
#include <string.h>
-#include "dvb-file.h"
-#include "dvb-v5-std.h"
+#include <libdvbv5/dvb-file.h>
+#include <libdvbv5/dvb-v5-std.h>
/*
* Standard channel.conf format for DVB-T, DVB-C, DVB-S and ATSC
@@ -19,7 +19,7 @@
*
*/
-#include "dvb-log.h"
+#include <libdvbv5/dvb-log.h>
#include <stdio.h>
#include <unistd.h>
@@ -23,8 +23,8 @@
#include <unistd.h>
#include <strings.h> /* strcasecmp */
-#include "dvb-fe.h"
-#include "dvb-v5-std.h"
+#include <libdvbv5/dvb-fe.h>
+#include <libdvbv5/dvb-v5-std.h>
static const struct dvb_sat_lnb lnb[] = {
{
@@ -38,30 +38,30 @@
#include <stdlib.h>
#include <sys/time.h>
-#include "dvb-scan.h"
-#include "dvb-frontend.h"
-#include "descriptors.h"
+#include <libdvbv5/dvb-scan.h>
+#include <libdvbv5/dvb-frontend.h>
+#include <libdvbv5/descriptors.h>
#include "parse_string.h"
#include "crc32.h"
-#include "dvb-fe.h"
-#include "dvb-file.h"
-#include "dvb-scan.h"
-#include "dvb-log.h"
-#include "dvb-demux.h"
-#include "descriptors.h"
-#include "descriptors/header.h"
-#include "descriptors/pat.h"
-#include "descriptors/pmt.h"
-#include "descriptors/nit.h"
-#include "descriptors/sdt.h"
-#include "descriptors/vct.h"
-#include "descriptors/desc_extension.h"
-#include "descriptors/desc_cable_delivery.h"
-#include "descriptors/desc_isdbt_delivery.h"
-#include "descriptors/desc_partial_reception.h"
-#include "descriptors/desc_terrestrial_delivery.h"
-#include "descriptors/desc_t2_delivery.h"
-#include "descriptors/desc_sat.h"
+#include <libdvbv5/dvb-fe.h>
+#include <libdvbv5/dvb-file.h>
+#include <libdvbv5/dvb-scan.h>
+#include <libdvbv5/dvb-log.h>
+#include <libdvbv5/dvb-demux.h>
+#include <libdvbv5/descriptors.h>
+#include <libdvbv5/header.h>
+#include <libdvbv5/pat.h>
+#include <libdvbv5/pmt.h>
+#include <libdvbv5/nit.h>
+#include <libdvbv5/sdt.h>
+#include <libdvbv5/vct.h>
+#include <libdvbv5/desc_extension.h>
+#include <libdvbv5/desc_cable_delivery.h>
+#include <libdvbv5/desc_isdbt_delivery.h>
+#include <libdvbv5/desc_partial_reception.h>
+#include <libdvbv5/desc_terrestrial_delivery.h>
+#include <libdvbv5/desc_t2_delivery.h>
+#include <libdvbv5/desc_sat.h>
static int poll(struct dvb_v5_fe_parms *parms, int fd, unsigned int seconds)
{
@@ -21,7 +21,7 @@
*/
#include <stddef.h>
-#include "dvb-v5-std.h"
+#include <libdvbv5/dvb-v5-std.h>
#include "dvb-v5.h"
const unsigned int sys_dvbt_props[] = {
@@ -3,7 +3,7 @@
*/
#ifndef _DVB_V5_CONSTS_H
#define _DVB_V5_CONSTS_H
-#include "../include/dvb-frontend.h"
+#include <libdvbv5/dvb-frontend.h>
struct fe_caps_name {
unsigned idx;
char *name;
@@ -22,8 +22,8 @@
#include <stdlib.h>
#include <string.h>
-#include "dvb-file.h"
-#include "dvb-v5-std.h"
+#include <libdvbv5/dvb-file.h>
+#include <libdvbv5/dvb-v5-std.h>
/*
* Standard channel.conf format for DVB-T, DVB-C, DVB-S and ATSC
@@ -481,7 +481,7 @@ print OUT <<EOF;
*/
#ifndef _DVB_V5_CONSTS_H
#define _DVB_V5_CONSTS_H
-#include "../include/dvb-frontend.h"
+#include <libdvbv5/dvb-frontend.h>
EOF
output_arrays ("fe_caps_name", \%fe_caps, "unsigned", 1, 1);
output_arrays ("fe_status_name", \%fe_status, "unsigned", 1, 1);
@@ -510,7 +510,7 @@ print OUT <<EOF;
*/
#include <stddef.h>
-#include "dvb-v5.h"
+#include <libdvbv5/dvb-v5.h>
EOF
output_arrays ("fe_caps_name", \%fe_caps, "unsigned", 1, 0);
@@ -30,8 +30,8 @@
#include <strings.h> /* strcasecmp */
#include "parse_string.h"
-#include "dvb-log.h"
-#include "dvb-fe.h"
+#include <libdvbv5/dvb-log.h>
+#include <libdvbv5/dvb-fe.h>
#define CS_OPTIONS "//TRANSLIT"
@@ -18,7 +18,7 @@
*
*/
-#include "dvb-file.h"
+#include "libdvbv5/dvb-file.h"
#include <config.h>
#include <argp.h>
#include <stdlib.h>
@@ -31,9 +31,9 @@
#include <config.h>
-#include "dvb-file.h"
-#include "dvb-demux.h"
-#include "dvb-scan.h"
+#include "libdvbv5/dvb-file.h"
+#include "libdvbv5/dvb-demux.h"
+#include "libdvbv5/dvb-scan.h"
#define PROGRAM_NAME "dvb-format-convert"
@@ -33,10 +33,10 @@
#include <config.h>
#include <linux/dvb/dmx.h>
-#include "dvb-file.h"
-#include "dvb-demux.h"
-#include "dvb-v5-std.h"
-#include "dvb-scan.h"
+#include "libdvbv5/dvb-file.h"
+#include "libdvbv5/dvb-demux.h"
+#include "libdvbv5/dvb-v5-std.h"
+#include "libdvbv5/dvb-scan.h"
#define PROGRAM_NAME "dvbv5-scan"
#define DEFAULT_OUTPUT "dvb_channel.conf"
@@ -37,10 +37,10 @@
#include <config.h>
#include <linux/dvb/dmx.h>
-#include "dvb-file.h"
-#include "dvb-demux.h"
-#include "dvb-scan.h"
-#include "descriptors/header.h"
+#include "libdvbv5/dvb-file.h"
+#include "libdvbv5/dvb-demux.h"
+#include "libdvbv5/dvb-scan.h"
+#include "libdvbv5/header.h"
#define CHANNEL_FILE "channels.conf"
#define PROGRAM_NAME "dvbv5-zap"
- move headers to subdirectory for correct install location - fix includes in dvb table and descriptor parsers - fix compile warnings Signed-off-by: André Roth <neolynx@gmail.com> --- README | 6 +- README.libv4l | 12 ++ lib/include/{descriptors => libdvbv5}/atsc_eit.h | 4 +- .../{descriptors => libdvbv5}/atsc_header.h | 0 .../desc_atsc_service_location.h | 0 .../desc_cable_delivery.h | 0 .../desc_event_extended.h | 0 .../{descriptors => libdvbv5}/desc_event_short.h | 0 .../{descriptors => libdvbv5}/desc_extension.h | 0 .../desc_frequency_list.h | 0 .../{descriptors => libdvbv5}/desc_hierarchy.h | 0 .../desc_isdbt_delivery.h | 0 .../{descriptors => libdvbv5}/desc_language.h | 0 .../desc_logical_channel.h | 0 .../{descriptors => libdvbv5}/desc_network_name.h | 0 .../desc_partial_reception.h | 0 lib/include/{descriptors => libdvbv5}/desc_sat.h | 0 .../{descriptors => libdvbv5}/desc_service.h | 0 .../{descriptors => libdvbv5}/desc_service_list.h | 0 .../desc_service_location.h | 0 .../{descriptors => libdvbv5}/desc_t2_delivery.h | 0 .../desc_terrestrial_delivery.h | 0 .../{descriptors => libdvbv5}/desc_ts_info.h | 0 lib/include/{ => libdvbv5}/descriptors.h | 0 lib/include/{ => libdvbv5}/dvb-demux.h | 0 lib/include/{ => libdvbv5}/dvb-fe.h | 0 lib/include/{ => libdvbv5}/dvb-file.h | 0 lib/include/{ => libdvbv5}/dvb-frontend.h | 0 lib/include/{ => libdvbv5}/dvb-log.h | 0 lib/include/{ => libdvbv5}/dvb-sat.h | 0 lib/include/{ => libdvbv5}/dvb-scan.h | 4 +- lib/include/{ => libdvbv5}/dvb-v5-std.h | 0 lib/include/{descriptors => libdvbv5}/eit.h | 4 +- lib/include/{descriptors => libdvbv5}/header.h | 0 lib/include/{descriptors => libdvbv5}/mgt.h | 4 +- lib/include/{descriptors => libdvbv5}/mpeg_es.h | 0 lib/include/{descriptors => libdvbv5}/mpeg_pes.h | 0 lib/include/{descriptors => libdvbv5}/mpeg_ts.h | 0 lib/include/{descriptors => libdvbv5}/nit.h | 4 +- lib/include/{descriptors => libdvbv5}/pat.h | 2 +- lib/include/{descriptors => libdvbv5}/pmt.h | 2 +- lib/include/{descriptors => libdvbv5}/sdt.h | 4 +- lib/include/{descriptors => libdvbv5}/vct.h | 4 +- lib/libdvbv5/Makefile.am | 138 ++++++++++++++------- lib/libdvbv5/descriptors.c | 62 ++++----- lib/libdvbv5/descriptors/atsc_eit.c | 4 +- lib/libdvbv5/descriptors/atsc_header.c | 6 +- .../descriptors/desc_atsc_service_location.c | 8 +- lib/libdvbv5/descriptors/desc_cable_delivery.c | 6 +- lib/libdvbv5/descriptors/desc_event_extended.c | 8 +- lib/libdvbv5/descriptors/desc_event_short.c | 8 +- lib/libdvbv5/descriptors/desc_extension.c | 8 +- lib/libdvbv5/descriptors/desc_frequency_list.c | 6 +- lib/libdvbv5/descriptors/desc_hierarchy.c | 6 +- lib/libdvbv5/descriptors/desc_isdbt_delivery.c | 8 +- lib/libdvbv5/descriptors/desc_language.c | 6 +- lib/libdvbv5/descriptors/desc_logical_channel.c | 8 +- lib/libdvbv5/descriptors/desc_network_name.c | 6 +- lib/libdvbv5/descriptors/desc_partial_reception.c | 8 +- lib/libdvbv5/descriptors/desc_sat.c | 6 +- lib/libdvbv5/descriptors/desc_service.c | 8 +- lib/libdvbv5/descriptors/desc_service_list.c | 6 +- lib/libdvbv5/descriptors/desc_service_location.c | 11 +- lib/libdvbv5/descriptors/desc_t2_delivery.c | 8 +- .../descriptors/desc_terrestrial_delivery.c | 6 +- lib/libdvbv5/descriptors/desc_ts_info.c | 8 +- lib/libdvbv5/descriptors/eit.c | 4 +- lib/libdvbv5/descriptors/header.c | 6 +- lib/libdvbv5/descriptors/mgt.c | 4 +- lib/libdvbv5/descriptors/mpeg_es.c | 6 +- lib/libdvbv5/descriptors/mpeg_pes.c | 6 +- lib/libdvbv5/descriptors/mpeg_ts.c | 6 +- lib/libdvbv5/descriptors/nit.c | 4 +- lib/libdvbv5/descriptors/pat.c | 6 +- lib/libdvbv5/descriptors/pmt.c | 6 +- lib/libdvbv5/descriptors/sdt.c | 4 +- lib/libdvbv5/descriptors/vct.c | 6 +- lib/libdvbv5/dvb-demux.c | 2 +- lib/libdvbv5/dvb-fe.c | 4 +- lib/libdvbv5/dvb-file.c | 48 +++---- lib/libdvbv5/dvb-legacy-channel-format.c | 4 +- lib/libdvbv5/dvb-log.c | 2 +- lib/libdvbv5/dvb-sat.c | 4 +- lib/libdvbv5/dvb-scan.c | 44 +++---- lib/libdvbv5/dvb-v5-std.c | 2 +- lib/libdvbv5/dvb-v5.h | 2 +- lib/libdvbv5/dvb-zap-format.c | 4 +- lib/libdvbv5/gen_dvb_structs.pl | 4 +- lib/libdvbv5/parse_string.c | 4 +- utils/dvb/dvb-fe-tool.c | 2 +- utils/dvb/dvb-format-convert.c | 6 +- utils/dvb/dvbv5-scan.c | 8 +- utils/dvb/dvbv5-zap.c | 8 +- 93 files changed, 332 insertions(+), 273 deletions(-) rename lib/include/{descriptors => libdvbv5}/atsc_eit.h (97%) rename lib/include/{descriptors => libdvbv5}/atsc_header.h (100%) rename lib/include/{descriptors => libdvbv5}/desc_atsc_service_location.h (100%) rename lib/include/{descriptors => libdvbv5}/desc_cable_delivery.h (100%) rename lib/include/{descriptors => libdvbv5}/desc_event_extended.h (100%) rename lib/include/{descriptors => libdvbv5}/desc_event_short.h (100%) rename lib/include/{descriptors => libdvbv5}/desc_extension.h (100%) rename lib/include/{descriptors => libdvbv5}/desc_frequency_list.h (100%) rename lib/include/{descriptors => libdvbv5}/desc_hierarchy.h (100%) rename lib/include/{descriptors => libdvbv5}/desc_isdbt_delivery.h (100%) rename lib/include/{descriptors => libdvbv5}/desc_language.h (100%) rename lib/include/{descriptors => libdvbv5}/desc_logical_channel.h (100%) rename lib/include/{descriptors => libdvbv5}/desc_network_name.h (100%) rename lib/include/{descriptors => libdvbv5}/desc_partial_reception.h (100%) rename lib/include/{descriptors => libdvbv5}/desc_sat.h (100%) rename lib/include/{descriptors => libdvbv5}/desc_service.h (100%) rename lib/include/{descriptors => libdvbv5}/desc_service_list.h (100%) rename lib/include/{descriptors => libdvbv5}/desc_service_location.h (100%) rename lib/include/{descriptors => libdvbv5}/desc_t2_delivery.h (100%) rename lib/include/{descriptors => libdvbv5}/desc_terrestrial_delivery.h (100%) rename lib/include/{descriptors => libdvbv5}/desc_ts_info.h (100%) rename lib/include/{ => libdvbv5}/descriptors.h (100%) rename lib/include/{ => libdvbv5}/dvb-demux.h (100%) rename lib/include/{ => libdvbv5}/dvb-fe.h (100%) rename lib/include/{ => libdvbv5}/dvb-file.h (100%) rename lib/include/{ => libdvbv5}/dvb-frontend.h (100%) rename lib/include/{ => libdvbv5}/dvb-log.h (100%) rename lib/include/{ => libdvbv5}/dvb-sat.h (100%) rename lib/include/{ => libdvbv5}/dvb-scan.h (98%) rename lib/include/{ => libdvbv5}/dvb-v5-std.h (100%) rename lib/include/{descriptors => libdvbv5}/eit.h (97%) rename lib/include/{descriptors => libdvbv5}/header.h (100%) rename lib/include/{descriptors => libdvbv5}/mgt.h (96%) rename lib/include/{descriptors => libdvbv5}/mpeg_es.h (100%) rename lib/include/{descriptors => libdvbv5}/mpeg_pes.h (100%) rename lib/include/{descriptors => libdvbv5}/mpeg_ts.h (100%) rename lib/include/{descriptors => libdvbv5}/nit.h (97%) rename lib/include/{descriptors => libdvbv5}/pat.h (98%) rename lib/include/{descriptors => libdvbv5}/pmt.h (99%) rename lib/include/{descriptors => libdvbv5}/sdt.h (97%) rename lib/include/{descriptors => libdvbv5}/vct.h (97%)