MHEG  17.9.0
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Pages
stmr_common.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3  * Copyright © 2010 Ocean Blue Software Ltd
4  *
5  * This file is part of a DTVKit Software Component
6  * You are permitted to copy, modify or distribute this file subject to the terms
7  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
8  *
9  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
10  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
11  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
12  *
13  * If you or your organisation is not a member of DTVKit then you have access
14  * to this source code outside of the terms of the licence agreement
15  * and you are expected to delete this and any associated files immediately.
16  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
17  *******************************************************************************/
25 #ifndef _STMR_COMMON_H_
26 #define _STMR_COMMON_H_
27 
28 /*---includes for this file--------------------------------------------------*/
29 
30 #include "techtype.h"
31 #include "glue_queue.h"
32 
33 /*---Constant and macro definitions for public use---------------------------*/
34 
35 #define STMR_TS_PACKET_SIZE (188)
36 #define STMR_MAX_PSI_SECTION (1024)
37 #define STMR_TO_UNITS(x) ((x) / STMR_TS_PACKET_SIZE)
38 #define STMR_TO_BYTES(x) ((x) * STMR_TS_PACKET_SIZE)
39 
40 /*---Enumerations for public use---------------------------------------------*/
41 
42 /*---Global type defs for public use-----------------------------------------*/
43 
44 /*---Global variable declarations for public use-----------------------------*/
45 
46 /*---Global Function prototypes for public use-------------------------------*/
47 
54 void MHEG5StreamerHandle(MHEG5StreamerEventParams_t *params);
55 
56 
57 #endif /*_STMR_COMMON_H*/
MHEG5 queue.
System Wide Global Technical Data Type Definitions.
void MHEG5StreamerHandle(MHEG5StreamerEventParams_t *params)
Process an MHEG5StreamerEvent message The event is passed onto the streamer module for processing...