source: svn/newcon3bcm2_21bu/BSEAV/lib/mpeg2_ts_parse/psip_dcct.h

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

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

  • Property svn:executable set to *
File size: 2.4 KB
Line 
1/***************************************************************************
2 *     Copyright (c) 2003, Broadcom Corporation
3 *     All Rights Reserved
4 *     Confidential Property of Broadcom Corporation
5 *
6 *  THIS SOFTWARE MAY ONLY BE USED SUBJECT TO AN EXECUTED SOFTWARE LICENSE
7 *  AGREEMENT  BETWEEN THE USER AND BROADCOM.  YOU HAVE NO RIGHT TO USE OR
8 *  EXPLOIT THIS MATERIAL EXCEPT SUBJECT TO THE TERMS OF SUCH AN AGREEMENT.
9 *
10 * $brcm_Workfile: psip_dcct.h $
11 * $brcm_Revision: 1 $
12 * $brcm_Date: 2/7/05 11:24p $
13 *
14 * [File Description:]
15 *
16 * Revision History:
17 *
18 * $brcm_Log: /BSEAV/lib/mpeg2_ts_parse/psip_dcct.h $
19 *
20 * 1   2/7/05 11:24p dlwin
21 * Merge down for release 2005_REFSW_MERGETOMAIN:
22 *
23 * Irvine_BSEAVSW_Devel/1   8/29/03 5:03p marcusk
24 * Initial Version.
25 *
26 ***************************************************************************/
27#ifndef PSIP_DCCT_H__
28#define PSIP_DCCT_H__
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
34typedef struct
35{
36        uint8_t         dcc_subtype;
37        uint8_t         dcc_id;
38        uint8_t         dcc_test_count;
39} PSIP_DCCT_header;
40
41typedef enum
42{
43        PSIP_DCCT_temporary_retune,
44        PSIP_DCCT_channel_redirect
45} PSIP_DCCT_context;
46
47typedef struct
48{
49        PSIP_DCCT_context       dcc_context;
50        uint16_t                        dcc_from_major_channel_number;
51        uint16_t                        dcc_from_minor_channel_number;
52        uint16_t                        dcc_to_major_channel_number;
53        uint16_t                        dcc_to_minor_channel_number;
54        uint32_t                        dcc_start_time;
55        uint32_t                        dcc_end_time;
56        uint32_t                        dcc_term_count;
57} PSIP_DCCT_test;
58
59typedef enum
60{
61        PSIP_DCCT_all,
62        PSIP_DCCT_north_west,
63        PSIP_DCCT_north_central,
64        PSIP_DCCT_north_east,
65        PSIP_DCCT_west_central,
66        PSIP_DCCT_central,
67        PSIP_DCCT_east_central,
68        PSIP_DCCT_south_west,
69        PSIP_DCCT_south_central,
70        PSIP_DCCT_south_east
71} PSIP_DCCT_county_subdivision;
72
73typedef struct
74{
75        uint8_t         dcc_selection_type;
76        uint64_t        dcc_selection_id;
77} PSIP_DCCT_term;
78
79void PSIP_DCCT_getHeader( const uint8_t *buf, PSIP_DCCT_header *p_header );
80TS_PSI_descriptor PSIP_DCCT_getAdditionalDescriptor( const uint8_t *buf, int descriptorNum );
81
82BERR_Code PSIP_DCCT_getTest( const uint8_t *buf, int testNum, PSIP_DCCT_test *p_test );
83TS_PSI_descriptor PSIP_DCCT_getTestDescriptor( const uint8_t *buf, int testNum, int descriptorNum );
84
85BERR_Code PSIP_DCCT_getTerm( const uint8_t *buf, int testNum, int termNum, PSIP_DCCT_term *p_term );
86TS_PSI_descriptor PSIP_DCCT_getTermDescriptor( const uint8_t *buf, int testNum, int termNum, int descriptorNum );
87
88#ifdef __cplusplus
89}
90#endif
91#endif
92/* End of File */
Note: See TracBrowser for help on using the repository browser.