source: svn/trunk/newcon3bcm2_21bu/BSEAV/lib/scte65/si.h @ 7

Last change on this file since 7 was 2, checked in by jglee, 11 years ago

first commit

  • Property svn:executable set to *
File size: 1.7 KB
Line 
1/***************************************************************
2**
3** Broadcom Corp. Confidential
4** Copyright 2003-2008 Broadcom Corp. All Rights Reserved.
5**
6** THIS SOFTWARE MAY ONLY BE USED SUBJECT TO AN EXECUTED
7** SOFTWARE LICENSE AGREEMENT BETWEEN THE USER AND BROADCOM.
8** YOU HAVE NO RIGHT TO USE OR EXPLOIT THIS MATERIAL EXCEPT
9** SUBJECT TO THE TERMS OF SUCH AN AGREEMENT.
10**
11** File:                si.h
12** Description: defines for SI tables.
13**
14** Created: 03/08/2001
15**
16** REVISION:
17**
18** $Log: $
19**
20**
21****************************************************************/
22#ifndef SI_H
23#define SI_H
24
25#define SI_NIT_TABLE_ID 0xc2
26#define SI_NTT_TABLE_ID 0xc3
27#define SI_SVCT_TABLE_ID 0xc4
28#define SI_STT_TABLE_ID 0xc5
29#define SI_MGT_TABLE_ID 0xc7
30#define SI_LVCT_TABLE_ID 0xc9
31#define SI_RRT_TABLE_ID 0xca
32#define SI_AEIT_TABLE_ID        0xd6
33#define SI_AETT_TABLE_ID        0xd7
34#define SI_EA_TABLE_ID  0xd8
35
36#define SI_CURRENT_PROTOCOL_VERSION 0x00
37#define SI_CURRENT_AEIT_SUBTYPE  0x00
38#define SI_CURRENT_AETT_SUBTYPE  0x00
39
40#define SI_NORMAL_SECTION_LENGTH        1024    /* 1024  */
41#define SI_LONG_SECTION_LENGTH  4096    /* 4096 */
42
43#define SI_CRC_LENGTH           4
44
45/* AEIT0-1/AETT0-1, AEIT2-3/AETT2-3, AEIT4-255/AETT4-255. */ 
46#define SI_MAX_AEIT_AETT_NUM_PID        3
47
48#define MAX_PAST_AEXT_N         8    /* keep 24hr of history. */
49
50typedef enum
51{
52        SI_SUCCESS,
53        SI_WARNING, 
54        SI_TABLE_ID_ERROR,
55        SI_PROTOCOL_VER_ERROR,
56        SI_SECTION_LENGTH_ERROR,
57        SI_SECTION_NUMBER_ERROR,
58        SI_CURRENT_NEXT_INDICATOR_ERROR,
59        SI_DESCRIPTOR_ERROR,
60        SI_CRC_ERROR,
61        SI_APP_ERROR,
62        SI_NO_MEMORY,
63        SI_NULL_POINTER,
64        SI_AEIT_LIST_ERROR,
65        SI_AETT_LIST_ERROR,
66        SI_AEIT_LIST_NOT_READY,
67        SI_AETT_LIST_NOT_READY,
68        SI_OTHER_ERROR,
69}SI_RET_CODE;
70
71
72
73
74#endif
Note: See TracBrowser for help on using the repository browser.