source: svn/newcon3bcm2_21bu/BSEAV/lib/scte65/si_descriptors.h @ 76

Last change on this file since 76 was 76, checked in by megakiss, 10 years ago

1W 대기전력을 만족시키기 위하여 POWEROFF시 튜너를 Standby 상태로 함

  • Property svn:executable set to *
File size: 5.3 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_descriptors.h
12** Description: defines for SI descriptors.
13**
14** Created: 03/08/2001
15**
16** REVISION:
17**
18** $Log: $
19**
20**
21****************************************************************/
22#ifndef SI_DESCRIPTORS_H
23#define SI_DESCRIPTORS_H
24
25/* defines for all descriptor tags. */
26/* For the following, refer to table 6.1 of ANSI/SCTE65 2002 (DVS234) */
27#define SI_DESC_STUFFING                0x80
28#define SI_DESC_AC3_AUDIO               0x81
29#define SI_DESC_CAPTION_SERVICE         0x86
30#define SI_DESC_CONTENT_ADVISORY        0x87
31#define SI_DESC_REVISION_DETECTION      0x93
32#define SI_DESC_TWO_PART_CHANNEL_NO     0x94
33#define SI_DESC_CHANNEL_PROPERTIES      0x95
34#define SI_DESC_DAYLIGHT_SAVINGS_TIME   0x96
35#define SI_DESC_EXTENDED_CHANNEL_NAME   0xa0
36#define SI_DESC_TIME_SHIFTED_SERVICE    0xa2
37#define SI_DESC_COMPONENT_NAME          0xa3
38#define SI_DESC_USER_PRIVATE            0xc0
39
40#define SI_DESC_REGISTRATION            0x05
41#define SI_DESC_SERVICE_INFORMATION     0xc1
42
43/* Daylight Savings Time descriptor. */
44/* For the following, refer to table 6.10 of ANSI/SCTE65 2002 (DVS234) */
45#define DESC_DST_DS_STATUS_LEN                  2
46
47#define DESC_DST_DS_STATUS_BYTE_INDEX    2
48#define DESC_DST_DS_STATUS_BYTE_NUM    1
49#define DESC_DST_DS_STATUS_SHIFT    15
50#define DESC_DST_DS_STATUS_MASK    0x01
51
52#define DESC_DST_DS_DAY_BYTE_INDEX    2
53#define DESC_DST_DS_DAY_BYTE_NUM    1
54#define DESC_DST_DS_DAY_SHIFT    15
55#define DESC_DST_DS_DAY_MASK    0x01
56
57#define DESC_DST_DS_HOUR_BYTE_INDEX    3
58#define DESC_DST_DS_HOUR_BYTE_NUM    1
59#define DESC_DST_DS_HOUR_SHIFT    0
60#define DESC_DST_DS_HOUR_MASK    0xff
61
62/* revision dectection descriptor. */
63/* For the following, refer to table 6.4 of ANSI/SCTE65 2002 (DVS234) */
64#define DESC_REV_DECTECT_LEN                    3
65
66#define DESC_REV_DECTECT_VER_NUM_BYTE_INDEX             0
67#define DESC_REV_DECTECT_VER_NUM_BYTE_NUM               1
68#define DESC_REV_DECTECT_VER_NUM_SHIFT          0
69#define DESC_REV_DECTECT_VER_NUM_MASK           0x1f
70
71#define DESC_REV_DECTECT_SEC_NUM_BYTE_INDEX             1
72#define DESC_REV_DECTECT_SEC_NUM_BYTE_NUM               1
73#define DESC_REV_DECTECT_SEC_NUM_SHIFT          0
74#define DESC_REV_DECTECT_SEC_NUM_MASK           0xff
75
76#define DESC_REV_DECTECT_LAST_SEC_NUM_BYTE_INDEX                2
77#define DESC_REV_DECTECT_LAST_SEC_NUM_BYTE_NUM          1
78#define DESC_REV_DECTECT_LAST_SEC_NUM_SHIFT             0
79#define DESC_REV_DECTECT_LAST_SEC_NUM_MASK              0xff
80
81/* time shifted service descriptor. */
82/* For the following, refer to table 6.8 of ANSI/SCTE65 2002 (DVS234) */
83#define DESC_TSS_NUM_OF_SERV_BYTE_INDEX         0
84#define DESC_TSS_NUM_OF_SERV_BYTE_NUM           1
85#define DESC_TSS_NUM_OF_SERV_SHIFT              0
86#define DESC_TSS_NUM_OF_SERV_MASK               0x1f
87
88/* in service loop. relative offset. */
89#define DESC_TSS_TIME_SHIFT_BYTE_INDEX          0
90#define DESC_TSS_TIME_SHIFT_BYTE_NUM            2
91#define DESC_TSS_TIME_SHIFT_SHIFT               0
92#define DESC_TSS_TIME_SHIFT_MASK                0x3ff
93
94#define DESC_TSS_MAJOR_NUM_BYTE_INDEX           2
95#define DESC_TSS_MAJOR_NUM_BYTE_NUM             2
96#define DESC_TSS_MAJOR_NUM_SHIFT                2
97#define DESC_TSS_MAJOR_NUM_MASK         0x3ff
98
99#define DESC_TSS_MINOR_NUM_BYTE_INDEX           3
100#define DESC_TSS_MINOR_NUM_BYTE_NUM             2
101#define DESC_TSS_MINOR_NUM_SHIFT                0
102#define DESC_TSS_MINOR_NUM_MASK         0x3ff
103
104
105/* two part channel number descriptor. */
106/* For the following, refer to table 6.5 of ANSI/SCTE65 2002 (DVS234) */
107#define DESC_TPCND_MAJOR_NUMBER_BYTE_INDEX              0
108#define DESC_TPCND_MAJOR_NUMBER_BYTE_NUM                2
109#define DESC_TPCND_MAJOR_NUMBER_SHIFT           0
110#define DESC_TPCND_MAJOR_NUMBER_MASK            0x3ff
111
112#define DESC_TPCND_MINOR_NUMBER_BYTE_INDEX              2
113#define DESC_TPCND_MINOR_NUMBER_BYTE_NUM                2
114#define DESC_TPCND_MINOR_NUMBER_SHIFT           0
115#define DESC_TPCND_MINOR_NUMBER_MASK            0x3ff
116
117
118/* channel properties descriptor. */
119/* For the following, refer to table 6.6 of ANSI/SCTE65 2002 (DVS234) */
120#define DESC_CPD_CHANNEL_TSID_BYTE_INDEX                0
121#define DESC_CPD_CHANNEL_TSID_BYTE_NUM          2
122#define DESC_CPD_CHANNEL_TSID_SHIFT             0
123#define DESC_CPD_CHANNEL_TSID_MASK              0xffff
124
125#define DESC_CPD_CHANNEL_BITS_BYTE_INDEX        2
126#define DESC_CPD_CHANNEL_BITS_BYTE_NUM          2
127#define DESC_CPD_CHANNEL_BITS_SHIFT             7
128#define DESC_CPD_CHANNEL_BITS_MASK              0x7
129
130#define DESC_CPD_SERVICE_TYPE_BYTE_INDEX        3
131#define DESC_CPD_SERVICE_TYPE_BYTE_NUM          1
132#define DESC_CPD_SERVICE_TYPE_SHIFT             0
133#define DESC_CPD_SERVICE_TYPE_MASK              0x3f
134
135/* user private descriptor: service information descriptor */
136/* For the following, refer to Annex A on Comcast-SP-HDuDTA-DIG-D02 */
137#define DESC_SID_REVISION_BYTE_INDEX        0
138#define DESC_SID_REVISION_BYTE_NUM          1
139#define DESC_SID_REVISION_BYTE_SHIFT        0
140#define DESC_SID_REVISION_BYTE_MASK         0xFF
141#define DESC_SID_VIDEO_CONTENT_BYTE_INDEX   2
142#define DESC_SID_VIDEO_CONTENT_BYTE_NUM     1
143#define DESC_SID_VIDEO_CONTENT_SHIFT        0
144#define DESC_SID_VIDEO_CONTENT_MASK         0x07
145#define DESC_SID_VIDEO_DELIVERY_BYTE_INDEX  4
146#define DESC_SID_VIDEO_DELIVERY_BYTE_NUM    1
147#define DESC_SID_VIDEO_DELIVERY_SHIFT       0
148#define DESC_SID_VIDEO_DELIVERY_MASK        0x01
149
150#define DESC_REGISTRATION_BYTE_INDEX        0
151#define DESC_REGISTRATION_BYTE_NUM          4
152#define DESC_REGISTRATION_BYTE_SHIFT        0
153#define DESC_REGISTRATION_BYTE_MASK         0xFFFFFFFF
154#define DTA_REGISTRATION_FORMAT_ID          0x47574b53
155
156#endif
157
Note: See TracBrowser for help on using the repository browser.