source: svn/trunk/newcon3bcm2_21bu/BSEAV/lib/mpeg2_ts_parse/psip_vct.h

Last change on this file was 2, checked in by phkim, 11 years ago

1.phkim

  1. revision copy newcon3sk r27
  • Property svn:executable set to *
File size: 2.2 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_vct.h $
11 * $brcm_Revision: 1 $
12 * $brcm_Date: 2/7/05 11:28p $
13 *
14 * [File Description:]
15 *
16 * Revision History:
17 *
18 * $brcm_Log: /BSEAV/lib/mpeg2_ts_parse/psip_vct.h $
19 *
20 * 1   2/7/05 11:28p dlwin
21 * Merge down for release 2005_REFSW_MERGETOMAIN:
22 *
23 * Irvine_BSEAVSW_Devel/1   8/29/03 5:04p marcusk
24 * Initial Version.
25 *
26 ***************************************************************************/
27#ifndef PSIP_VCT_H__
28#define PSIP_VCT_H__
29
30#include "psip_common.h"
31
32#ifdef __cplusplus
33extern "C" {
34#endif
35
36typedef enum
37{
38        PSIP_VCT_analog,
39        PSIP_VCT_SCTE_mode_1,
40        PSIP_VCT_SCTE_mode_2,
41        PSIP_VCT_ATSC_8,
42        PSIP_VCT_ATSC_16
43} PSIP_VCT_modulation_mode;
44
45typedef enum
46{
47        PSIP_VCT_analog_television = 1,
48        PSIP_VCT_ATSC_digital_television,
49        PSIP_VCT_ATSC_audio,
50        PSIP_VCT_ATSC_data_only_service
51} PSIP_VCT_service_type;
52
53typedef struct
54{
55        uint16_t                                        short_name[7];
56        uint16_t                                        major_channel_number;
57        uint16_t                                        minor_channel_number;
58        PSIP_VCT_modulation_mode        modulation_mode;
59        uint32_t                                        carrier_frequency;
60        uint16_t                                        channel_TSID;
61        uint16_t                                        program_number;
62        PSIP_ETM_location                       ETM_location;
63        uint16_t                                        access_controlled;
64        bool                                            hidden;
65        bool                                            path_select;    /* valid for cable VCT only */
66        bool                                            out_of_band;    /* valid for cable VCT only */
67        bool                                            hide_guide;
68        PSIP_VCT_service_type           service_type;
69        uint16_t                                        source_id;
70} PSIP_VCT_channel;
71
72uint8_t PSIP_VCT_getNumChannels( const uint8_t *buf );
73TS_PSI_descriptor PSIP_VCT_getAdditionalDescriptor( const uint8_t *buf, int descriptorNum );
74
75BERR_Code PSIP_VCT_getChannel( const uint8_t *buf, int channelNum, PSIP_VCT_channel *p_channel );
76TS_PSI_descriptor PSIP_VCT_getChannelDescriptor( const uint8_t *buf, int channelNum, int descriptorNum );
77
78#ifdef __cplusplus
79}
80#endif
81#endif
82/* End of File */
Note: See TracBrowser for help on using the repository browser.