source: svn/newcon3bcm2_21bu/BSEAV/lib/scte65/ea/si_ea.h @ 26

Last change on this file since 26 was 26, checked in by phkim, 11 years ago
  1. phkim
  2. 서경방소에서 kctv 로고 변경
  • Property svn:executable set to *
File size: 2.1 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_ea.h
12** Description: defines for the EA table parse function.
13**
14** Created: 03/08/2001
15**
16** REVISION:
17**
18** $Log: $
19**
20**
21****************************************************************/
22#ifndef SI_EA_H
23#define SI_EA_H
24
25#define EA_TABLE_ID_BYTE_INDX    0
26#define EA_TABLE_ID_BYTE_NUM    1
27#define EA_TABLE_ID_SHIFT    0
28#define EA_TABLE_ID_MASK    0xff
29
30#define EA_SECTION_LENGTH_BYTE_INDX    1
31#define EA_SECTION_LENGTH_BYTE_NUM    2
32#define EA_SECTION_LENGTH_SHIFT    0
33#define EA_SECTION_LENGTH_MASK    0x0fff
34
35#define EA_TABLE_ID_EXTENSION_BYTE_INDX    3
36#define EA_TABLE_ID_EXTENSION_BYTE_NUM    2
37#define EA_TABLE_ID_EXTENSION_SHIFT    0
38#define EA_TABLE_ID_EXTENSION_MASK    0xffff
39
40#define EA_SEQUENCE_NUMBER_BYTE_INDX    5
41#define EA_SEQUENCE_NUMBER_BYTE_NUM    1
42#define EA_SEQUENCE_NUMBER_SHIFT    1
43#define EA_SEQUENCE_NUMBER_MASK    0x1f
44
45#define EA_PROTOCOL_VERSION_BYTE_INDX    8
46#define EA_PROTOCOL_VERSION_BYTE_NUM    1
47#define EA_PROTOCOL_VERSION_SHIFT    0
48#define EA_PROTOCOL_VERSION_MASK    0xff
49
50#define EA_EAS_EVENT_ID_BYTE_INDX    9
51#define EA_EAS_EVENT_ID_BYTE_NUM    2
52#define EA_EAS_EVENT_ID_SHIFT    0
53#define EA_EAS_EVENT_ID_MASK    0xffff
54
55#define EA_EAS_ORIGINATOR_CODE_BYTE_INDX                11
56
57#define EA_EAS_EVENT_CODE_LENGTH_BYTE_INDX    14
58#define EA_EAS_EVENT_CODE_LENGTH_BYTE_NUM    1
59#define EA_EAS_EVENT_CODE_LENGTH_SHIFT    0
60#define EA_EAS_EVENT_CODE_LENGTH_MASK    0xff
61
62#define EA_EAS_EVENT_CODE_BYTE_INDX    15
63
64#ifdef __cplusplus
65extern "C" {
66#endif
67
68/*
69 * Public function prototypes
70 */
71void SI_EA_Init (void);
72void SI_EA_GetEventTime (unsigned long *p_ea_start_time, unsigned short *p_ea_duration);
73void SI_EA_EventExpirationCb (void);
74SI_RET_CODE SI_EA_Parse (unsigned char * ea_table);
75
76#ifdef __cplusplus
77}
78#endif
79
80
81
82#endif
Note: See TracBrowser for help on using the repository browser.