source: svn/trunk/newcon3bcm2_21bu/dta/src/settop_api/bsettop_p_stream.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.0 KB
Line 
1/***************************************************************************
2 *     Copyright (c) 2003-2005, 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: $
11 * $brcm_Revision:  $
12 * $brcm_Date: $
13 *
14 * Module Description:
15 *
16 * Revision History:
17 *
18 * $brcm_Log:  $
19 ***************************************************************************/
20#ifndef BSETTOP_P_STREAM_H__
21#define BSETTOP_P_STREAM_H__
22
23#include "bsettop_stream.h"
24#include "bxpt_rave.h"
25#include "bxpt_pcr.h"
26#include "bxpt_pcr_offset.h"
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
32/*
33Summary:
34        Private stream data structure to associate rave and context info with the stream.
35 */
36struct bstream
37{
38        bool                in_use;             /* flag indicating the context is in use */
39        int                 pid_ch;             /* Main pid channel index */
40        int                 pcr_pid_ch; /* PCR pid channel index */
41        bband_t             band;               /* Band with possibly playback flag */
42        bstream_mpeg        mpeg;               /* mpeg program pids */
43        BXPT_RaveCx_Handle  hRaveCx;    /* Rave context associated with the stream */
44        BXPT_PcrOffset_Handle hPcrOffset;       /* PCR Offset handle */
45};
46
47void bstream_pcroffset_config_context(bstream_t stream);
48BERR_Code bstream_p_rave_enable(bstream_t stream, bool enable);
49BERR_Code bstream_p_attach_rave(bstream_t stream, bool attach);
50BERR_Code bstream_p_rave_flush(bstream_t stream);
51BERR_Code bstream_p_get_rave_context_map(bstream_t stream,BAVC_XptContextMap *p_Map);
52void bstream_p_pcroffset_update(bstream_t stream);
53BERR_Code bstream_p_config_xpt_pid_ch(int pid_ch, unsigned short pid, bband_t Band);
54void bstream_p_pcr_config(BXPT_Handle hXpt, bstream_t stream);
55void bstream_p_pcroffset_pid_ch_config(bstream_t stream,int pid_ch);
56
57#ifdef __cplusplus
58}
59#endif
60
61#endif /* BSETTOP_P_STREAM_H__ */
62
63
Note: See TracBrowser for help on using the repository browser.