Wasabi ExpressPlay SDK for Embedded Systems
1.10
Main Page
Modules
Data Structures
Files
File List
Globals
Client
ThirdParty
Ts2
Source
Ts2Parser.h
Go to the documentation of this file.
1
/*****************************************************************
2
|
3
| MPEG2 Transport Stream - Parser
4
|
5
| $Id: Ts2Parser.h 296 2014-06-25 11:20:09Z jebaseelir $
6
| Original author: Julien Boeuf
7
|
8
| This software is provided to you pursuant to your agreement
9
| with Intertrust Technologies Corporation ("Intertrust").
10
| This software may be used only in accordance with the terms
11
| of the agreement.
12
|
13
| Copyright (c) 2005-2014 by Intertrust. All rights reserved.
14
|
15
****************************************************************/
16
17
#ifndef _TS2_PARSER_H_
18
#define _TS2_PARSER_H_
19
20
/*----------------------------------------------------------------------
21
| includes
22
+---------------------------------------------------------------------*/
23
#include "Atomix.h"
24
#include "
Ts2Tables.h
"
25
#include "
Ts2ElementaryStream.h
"
26
27
/*----------------------------------------------------------------------
28
| types
29
+---------------------------------------------------------------------*/
30
typedef
struct
TS2_Parser
TS2_Parser
;
31
32
/*----------------------------------------------------------------------
33
| methods
34
+---------------------------------------------------------------------*/
35
36
#ifdef __cplusplus
37
extern
"C"
{
38
#endif
39
40
ATX_Result
TS2_Parser_FromInputStream
(ATX_InputStream* stream,
41
TS2_Parser
** parser);
42
const
TS2_PMT
*
TS2_Parser_GetPMT
(
const
TS2_Parser
*
self
);
43
const
TS2_PacketPump
*
TS2_Parser_GetPump
(
const
TS2_Parser
*
self
);
44
45
ATX_Result
TS2_Parser_PumpPES
(
TS2_Parser
*
self
);
46
void
TS2_Parser_Destroy
(
TS2_Parser
*
self
);
47
48
#ifdef __cplusplus
49
}
50
#endif
51
52
#endif
/* _TS2_PARSER_H_ */