Georgi Chorbadzhiyski
2792fb92de
dvb/si: Add support for DIT (Discontinuity Information Table).
13 years ago
Georgi Chorbadzhiyski
7cf1a88262
dvb/si: Add support for ST (Stuffing table).
13 years ago
Georgi Chorbadzhiyski
b3b732489d
dvb/si: Add support for RST (Running Status Table).
13 years ago
Georgi Chorbadzhiyski
f74006e6c1
dvb/si: Add support for BAT (Bouquet Association Table).
13 years ago
Georgi Chorbadzhiyski
a7c6988e38
dvb/si: Complete support for TOT (Time offset table).
13 years ago
Georgi Chorbadzhiyski
86401f89f2
dvb/si: Complete support for TDT (Time and Date Table).
Add support for tdt_print() and examples/dvb_print_si support.
13 years ago
Georgi Chorbadzhiyski
8672abdc19
dvb/si: Complete support for EIT (Event Information Table).
13 years ago
Georgi Chorbadzhiyski
799d034b97
dvb/si/datetime: Add more helper functions.
13 years ago
Georgi Chorbadzhiyski
853d0789a5
dvb/si: Show text type for descriptor 0x46 (VBI teletext descriptor).
Use definitions from table 100 of EN 300 468.
13 years ago
Georgi Chorbadzhiyski
caf1010c3f
dvb/si: Fix descriptor 0x46 (VBI teletext descriptor).
Setting of teletext_type and teletext_magazine was 1 bit off, instead
of bits 5/3, bits 6/2 were used.
13 years ago
Georgi Chorbadzhiyski
ab92287b48
dvb/si: Complete support for descriptor 0x5f (Private data specifier).
Add missing desc5f_set_specifier() function and also print the specifier
as hex.
13 years ago
Georgi Chorbadzhiyski
f7c66da1c0
dvb/si: Complete support for descriptor 0x5a (Terrestrial delivery).
Add missing init and set functions and also fix printing.
13 years ago
Georgi Chorbadzhiyski
e0f4129b03
dvb/si: Complete support for descriptor 0x48 (Service descriptor).
Add desc48_set_length() function.
13 years ago
Georgi Chorbadzhiyski
f2a1a8b8a4
dvb/si: Complete support for descriptor 0x44 (Cable delivery).
Add missing init and set functions.
13 years ago
Georgi Chorbadzhiyski
5eb30016ff
dvb/si: Complete support for descriptor 0x43 (Satellite delivery).
Add missing init and set functions and also fix return type of
desc43_get_modulation() function.
13 years ago
Georgi Chorbadzhiyski
40a17bb139
dvb/si: Complete support for descriptor 0x41 (Service list).
Add missing init and set functions. Also print service_type as
hex number.
13 years ago
Georgi Chorbadzhiyski
f40306d560
dvb/si/sdt_print: Make text output of SDT services similar to XML output.
13 years ago
Georgi Chorbadzhiyski
f36e82c0fb
dvb/si/tdt: Fix tdt_get_utc() function.
Due to missing casts the function is not returning correctly the top
8 bits (32-40) of UTC_time field.
13 years ago
Georgi Chorbadzhiyski
d8d98f0f40
dvb/sim.h: Add missing includes.
13 years ago
Christophe Massiot
325354bf56
dvb/si: Move descriptor printing to mpeg/psi/descs_print.h
13 years ago
Christophe Massiot
38e4695638
dvb/si: Move each descriptor to dvb/si/desc_XX.h and add dvb/psi/desc_list.h
13 years ago
Christophe Massiot
0455a6562d
dvb/si: Move RST functions to dvb/si/rst.h
13 years ago
Christophe Massiot
fa4ac0feac
dvb/si: Move TOT functions to dvb/si/tot.h
13 years ago
Christophe Massiot
348052b717
dvb/si: Move TDT functions to dvb/si/tdt.h
13 years ago
Christophe Massiot
0c5fc4f268
dvb/si: Move EIT functions to dvb/si/eit{_print}.h
13 years ago
Christophe Massiot
79ed944887
dvb/si: Move SDT functions to dvb/si/sdt{_print}.h
13 years ago
Christophe Massiot
b02260c9f2
dvb/si: Move NIT functions to dvb/si/nit{_print}.h
13 years ago
Christophe Massiot
1d417a2eaf
dvb/si: Move strings functions to dvb/si/strings.h
13 years ago
Christophe Massiot
c9df08d7c9
dvb/si: Move date and time functions to dvb/si/datetime.h
13 years ago
Georgi Chorbadzhiyski
a59f13b3bd
dvb/si: Move bcd functions to dvb/si/numbers.h
13 years ago
Georgi Chorbadzhiyski
f35e98e4d5
Remove unused variables.
13 years ago
Georgi Chorbadzhiyski
a041a344b9
Fix compiler warnings.
The fixed warnings are:
bitstream/dvb/sim.h: In function "tlv_find_data":
bitstream/dvb/sim.h:216:5: warning: return discards qualifiers from pointer target type
bitstream/dvb/sim.h: In function "ecmg_validate":
bitstream/dvb/sim.h:389:5: warning: excess elements in scalar initializer
bitstream/dvb/sim.h:389:5: warning: (near initialization for "p_param")
bitstream/dvb/sim.h:389:5: warning: excess elements in scalar initializer
bitstream/dvb/sim.h:389:5: warning: (near initialization for "p_param")
bitstream/dvb/si.h: In function "dvb_string_set":
bitstream/dvb/si.h:174:9: warning: pointer targets in passing argument 1 of "strlen" differ in signedness
/usr/include/string.h:399:15: note: expected "const char *" but argument is of type "const uint8_t *"
bitstream/dvb/si.h:174:9: warning: pointer targets in passing argument 1 of "__strdup" differ in signedness
/usr/include/bits/string2.h:1303:14: note: expected "const char *" but argument is of type "const uint8_t *"
bitstream/dvb/si.h:174:9: warning: pointer targets in return differ in signedness
bitstream/dvb/si.h: In function "dvb_string_get":
bitstream/dvb/si.h:219:25: warning: passing argument 3 of "pf_iconv" discards qualifiers from pointer target type
bitstream/dvb/si.h:219:25: note: expected "char *" but argument is of type "const uint8_t *"
bitstream/dvb/si.h: In function "desc48_get_service":
bitstream/dvb/si.h:742:5: warning: return discards qualifiers from pointer target type
13 years ago
Georgi Chorbadzhiyski
c73bef1583
Change biTStream license to MIT license.
Replace WTFPL with MIT license.
Acked-By: Christophe Massiot <massiot@via.ecp.fr>
Acked-By: Georgi Chorbadzhiyski <gf@unixsol.org>
Acked-By: Jean-Paul Saman <jpsaman@videolan.org>
Acked-By: Rémi Duraffort <ivoire@videolan.org>
13 years ago
Christophe Massiot
7ad38a696f
Rework the descriptors API
This is to avoid the hack with the CAT table, which doesn't have a descs
"header". So there are new functions descl_* to handle descriptor lists
without length. This change is backwards compatible for all tables except
CAT.
13 years ago
Christophe Massiot
6ef82dec8d
* dvb/si.h: Teletext page is usually printed as hex.
13 years ago
Christophe Massiot
612e3dea81
* dvb/sim.h: Fix compilation warnings. * examples/dvb_ecmg.c: Fix segfault.
14 years ago
Christophe Massiot
a0c759a987
* dvb/si.h: Add handling of service list, linkage and private data specifier descriptors, as well as EICTA's LCN and HD_SIMULCAST_LCN. * dvb/si_print.h: Store the last private data specifier and use it to call the private print functions.
14 years ago
Christophe Massiot
f37b611ca1
* dvb/si.h: Fix missing XML bracket.
14 years ago
Christophe Massiot
8ecb338999
* dvb/si.h: Fix missing quotes in XML format.
14 years ago
Christophe Massiot
f6f5de83a8
* dvb/si.h: Properly escape string from XML special chars. * Makefile: Just bail out when called with no argument.
14 years ago
Christophe Massiot
a9ce23771d
* ALL: Change the API to allow for different types of print (esp. XML).
14 years ago
Christophe Massiot
2bfc7f9844
* dvb/sim.h: Simplify the API; allow nested TLVs. * examples: Change examples accordingly.
14 years ago
Christophe Massiot
a0b7103fe4
* dvb/si.h: Fix segfault with malformed text fields.
14 years ago
Christophe Massiot
28fd54b380
* dvb/sim.h, examples/dvb_ecmg.c, examples/dvb_ecmg_test.c: Implement a DVB Simulcrypt ECMG server.
14 years ago
Christophe Massiot
9313f054f3
* mpeg/psi_print.h: Move DVB-specific functions to dvb/si_print.h. * examples/dvb_print_si.c: Fix a number of end-of-lines.
14 years ago
Christophe Massiot
2b64da5e1b
* mpeg/psi.h: Fix a segfault when the number of sections changes. * mpeg/psi.h, dvb/si.h: Add functions to validate if there is enough space for a new substructure. * dvb/si.h: Add support for DVB MJD format. * dvb/si.h: Correctly initialize a byte in SDT sub-structure. * dvb/si.h: Fully implement descriptor 0x48 (service descriptor).
14 years ago
Christophe Massiot
65dd37c33e
* dvb/si.h: Improve validation of SDT.
14 years ago
Christophe Massiot
0b8f86699f
* mpeg/psi.h, dvb/si.h: Add descXX_validate() functions. * mpeg/psi_print.h: Validate descriptors before accessing them. * mpeg/psi.h: Avoid duplicate copies of the CRC32 table. * ALL: Make sure we return booleans. * dvb/si.h: Add support for DVB character sets. * dvb/si.h: Add content delivery descriptors 0x43, 0x44 and 0x5a. * dvb/si.h: Add VBI teletext descriptor 0x46. * examples/dvb_print_si.c: Add support for charset conversion via iconv.
14 years ago
Christophe Massiot
0403c639f3
* mpeg/psi.h: Fix a bug with descriptor 0x05. * mpeg/psi.h, dvb/si.h: Cosmetic changes in print functions. * examples/dvb_print_si.c: New example file to print DVB tables in a TS stream.
14 years ago
Christophe Massiot
8154e00f62
* ALL: New *_print() set of functions. * ALL (tables): Check CRC only when needed; also check tables coherence. * ALL (descriptors): Add a lot of missing _get_ functions. * ALL (descriptors): Fix off-by-one overflow of structure array. * mpeg/psi.h: Fix off-by-one overflow of PAT program array.
14 years ago