Browse Source

The code is under MIT license.

Georgi Chorbadzhiyski 12 years ago
parent
commit
62d01280fa
29 changed files with 216 additions and 0 deletions
  1. 20
    0
      LICENSE-MIT.txt
  2. 7
    0
      cat.c
  3. 7
    0
      crc.c
  4. 7
    0
      descs.c
  5. 7
    0
      eit.c
  6. 7
    0
      eit_desc.c
  7. 7
    0
      log.c
  8. 7
    0
      log.h
  9. 7
    0
      misc.c
  10. 7
    0
      nit.c
  11. 7
    0
      nit_desc.c
  12. 7
    0
      pat.c
  13. 7
    0
      pat_desc.c
  14. 7
    0
      pes.c
  15. 7
    0
      pes_data.c
  16. 7
    0
      pes_es.c
  17. 7
    0
      pmt.c
  18. 7
    0
      privsec.c
  19. 7
    0
      sdt.c
  20. 7
    0
      sdt_desc.c
  21. 7
    0
      secdata.c
  22. 7
    0
      sections.c
  23. 7
    0
      tdt.c
  24. 7
    0
      tdt_desc.c
  25. 7
    0
      time.c
  26. 7
    0
      tsdata.h
  27. 7
    0
      tsfuncs.c
  28. 7
    0
      tsfuncs.h
  29. 7
    0
      tstest.c

+ 20
- 0
LICENSE-MIT.txt View File

@@ -0,0 +1,20 @@
1
+Copyright (c) 2009-2011 Unix Solutions Ltd.
2
+
3
+Permission is hereby granted, free of charge, to any person obtaining
4
+a copy of this software and associated documentation files (the
5
+"Software"), to deal in the Software without restriction, including
6
+without limitation the rights to use, copy, modify, merge, publish,
7
+distribute, sublicense, and/or sell copies of the Software, and to
8
+permit persons to whom the Software is furnished to do so, subject
9
+to the following conditions:
10
+
11
+The above copyright notice and this permission notice shall be
12
+included in all copies or substantial portions of the Software.
13
+
14
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
18
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
19
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
20
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

+ 7
- 0
cat.c View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * CAT table parser and generator
3
+ * Copyright (C) 2010-2011 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #include <stdio.h>
2 9
 #include <unistd.h>
3 10
 #include <netdb.h>

+ 7
- 0
crc.c View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * CRC functions for mpeg PSI tables
3
+ * Copyright (C) 2010-2011 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #include <netdb.h>
2 9
 
3 10
 #include "tsfuncs.h"

+ 7
- 0
descs.c View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * MPEG/DVB descriptor parsing
3
+ * Copyright (C) 2010-2011 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #include <stdio.h>
2 9
 #include <unistd.h>
3 10
 #include <netdb.h>

+ 7
- 0
eit.c View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * EIT table parser and generator
3
+ * Copyright (C) 2010-2011 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #include <stdio.h>
2 9
 #include <unistd.h>
3 10
 #include <netdb.h>

+ 7
- 0
eit_desc.c View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * EIT descriptor generator
3
+ * Copyright (C) 2010-2011 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #include <stdio.h>
2 9
 #include <unistd.h>
3 10
 #include <netdb.h>

+ 7
- 0
log.c View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * Logger function
3
+ * Copyright (C) 2010-2011 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #include <stdio.h>
2 9
 #include <stdarg.h>
3 10
 

+ 7
- 0
log.h View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * Logger function header file
3
+ * Copyright (C) 2010-2011 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #ifndef LIBTS_LOG_H
2 9
 #define LIBTS_LOG_H
3 10
 

+ 7
- 0
misc.c View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * Misc functions
3
+ * Copyright (C) 2010-2011 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #include <stdio.h>
2 9
 #include <unistd.h>
3 10
 #include <netdb.h>

+ 7
- 0
nit.c View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * NIT table parser and generator
3
+ * Copyright (C) 2010-2011 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #include <stdio.h>
2 9
 #include <unistd.h>
3 10
 #include <netdb.h>

+ 7
- 0
nit_desc.c View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * NIT descriptor generator
3
+ * Copyright (C) 2010-2011 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #include <stdio.h>
2 9
 #include <unistd.h>
3 10
 #include <netdb.h>

+ 7
- 0
pat.c View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * PAT table parser and generator
3
+ * Copyright (C) 2010-2011 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #include <stdio.h>
2 9
 #include <unistd.h>
3 10
 #include <netdb.h>

+ 7
- 0
pat_desc.c View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * PAT descriptor generator
3
+ * Copyright (C) 2010-2011 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #include <stdio.h>
2 9
 #include <unistd.h>
3 10
 #include <netdb.h>

+ 7
- 0
pes.c View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * MPEGTS PES functions
3
+ * Copyright (C) 2010-2011 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #include <stdio.h>
2 9
 #include <unistd.h>
3 10
 #include <netdb.h>

+ 7
- 0
pes_data.c View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * Working with PES entries
3
+ * Copyright (C) 2010-2011 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #include <stdlib.h>
2 9
 #include <string.h>
3 10
 

+ 7
- 0
pes_es.c View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * PES elementary stream functions
3
+ * Copyright (C) 2010-2011 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #include <netdb.h>
2 9
 #include <string.h>
3 10
 

+ 7
- 0
pmt.c View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * PMT table parser and generator
3
+ * Copyright (C) 2010-2011 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #include <stdio.h>
2 9
 #include <unistd.h>
3 10
 #include <netdb.h>

+ 7
- 0
privsec.c View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * Private sections parser
3
+ * Copyright (C) 2010-2011 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #include <stdio.h>
2 9
 #include <unistd.h>
3 10
 #include <netdb.h>

+ 7
- 0
sdt.c View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * SDT table parser and generator
3
+ * Copyright (C) 2010-2011 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #include <stdio.h>
2 9
 #include <unistd.h>
3 10
 #include <netdb.h>

+ 7
- 0
sdt_desc.c View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * SDT descriptors generator
3
+ * Copyright (C) 2010-2011 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #include <stdio.h>
2 9
 #include <unistd.h>
3 10
 #include <netdb.h>

+ 7
- 0
secdata.c View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * Section data functions
3
+ * Copyright (C) 2010-2011 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #include <stdio.h>
2 9
 #include <unistd.h>
3 10
 #include <netdb.h>

+ 7
- 0
sections.c View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * PSI Section functions
3
+ * Copyright (C) 2010-2011 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #include <stdio.h>
2 9
 #include <unistd.h>
3 10
 #include <netdb.h>

+ 7
- 0
tdt.c View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * TDT/TOT table parser and generator
3
+ * Copyright (C) 2010-2011 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #include <stdio.h>
2 9
 #include <unistd.h>
3 10
 #include <netdb.h>

+ 7
- 0
tdt_desc.c View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * TDT/TOT descriptors generator
3
+ * Copyright (C) 2010-2011 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #include <stdio.h>
2 9
 #include <unistd.h>
3 10
 #include <netdb.h>

+ 7
- 0
time.c View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * DVB time functions
3
+ * Copyright (C) 2010-2011 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #include <stdio.h>
2 9
 #include <unistd.h>
3 10
 #include <netdb.h>

+ 7
- 0
tsdata.h View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * Data defintions
3
+ * Copyright (C) 2010-2011 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #ifndef LIBTS_TSDATA_H
2 9
 #define LIBTS_TSDATA_H
3 10
 

+ 7
- 0
tsfuncs.c View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * MPEGTS functions
3
+ * Copyright (C) 2010-2011 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #include <stdio.h>
2 9
 #include <unistd.h>
3 10
 #include <netdb.h>

+ 7
- 0
tsfuncs.h View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * Main header file
3
+ * Copyright (C) 2010-2011 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #ifndef LIBTS_TSFUNCS_H
2 9
 #define LIBTS_TSFUNCS_H
3 10
 

+ 7
- 0
tstest.c View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * libtsfuncs test program
3
+ * Copyright (C) 2010-2011 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #include "tsfuncs.h"
2 9
 
3 10
 #define NOW 1234567890

Loading…
Cancel
Save