source: svn/newcon3bcm2_21bu/magnum/portinginterface/xpt/7552/bxpt_directv_playback.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: 5.2 KB
Line 
1/***************************************************************************
2 *     Copyright (c) 2003-2010, 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: bxpt_directv_playback.h $
11 * $brcm_Revision: Hydra_Software_Devel/1 $
12 * $brcm_Date: 10/25/10 2:09p $
13 *
14 * Porting interface code for the DirecTV PVR playback sections of the
15 * data transport core.
16 *
17 * Revision History:
18 *
19 * $brcm_Log: /magnum/portinginterface/xpt/base2/bxpt_directv_playback.h $
20 *
21 * Hydra_Software_Devel/1   10/25/10 2:09p gmullen
22 * SW7425-15: Moved srcs to base2 folder
23 *
24 * Hydra_Software_Devel/1   10/8/10 2:57p gmullen
25 * SW7425-15: Added header files
26 *
27 * Hydra_Software_Devel/2   9/21/05 2:17p gmullen
28 * PR15309: Added support for AAC HE and AC3+ audio, fixed bug in playback
29 * PI, modified RAVE PI to support channel change and reset.
30 *
31 * Hydra_Software_Devel/1   5/13/05 1:26p gmullen
32 * PR15309: First draft of XPT PI.
33 *
34 *
35 *
36 ***************************************************************************/
37
38/*= Module Overview *********************************************************
39This module implements support for the DirecTV specific portions of the PVR
40playback logic.
41***************************************************************************/
42
43#ifndef BXPT_DIRECTV_PLAYBACK_H__
44#define BXPT_DIRECTV_PLAYBACK_H__
45
46#include "bxpt.h"
47#include "bxpt_playback.h"
48#include "bxpt_directv.h"
49
50#ifdef __cplusplus
51extern "C" {
52#endif
53
54/***************************************************************************
55Summary:
56Defines for the DirecTV packet sync types that are supported. These
57are used as values passed to BXPT_Playback_ChannelSettings.SyncMode ( used
58when the channel is opened or BXPT_Playback_SetChannelSettings() is called ).
59
60The caller should also set BXPT_Playback_ChannelSettings.PacketLength
61appropriately. 
62****************************************************************************/
63#define BXPT_PB_SYNC_DIRECTV            ( 0x1 )
64#define BXPT_PB_SYNC_DIRECTV_BLIND      ( 0x6 )
65
66/***************************************************************************
67Summary:
68Set the MPEG or DirectTV mode in a given parser band.
69
70Description:
71Changes a parser band between MPEG and DirecTV mode. Also sets the packet
72length as appropriate.
73
74Returns:
75    BERR_SUCCESS                - Change was successful.
76    BERR_INVALID_PARAMETER      - Bad input parameter
77***************************************************************************/
78BERR_Code BXPT_DirecTvPlayback_SetParserBandMode( 
79        BXPT_Playback_Handle PlaybackHandle,    /* [in] Handle for the playback channel */
80        BXPT_ParserMode Mode                                    /* [in] Which mode (packet format) is being used. */
81        );
82
83/***************************************************************************
84Summary:
85Get the SyncIn and SyncOut thresholds for the playback sync extractor.
86
87Description:
88Retrieve the sync extractor thresholds for a given playback channel. There
89are two thresholds, the SyncInCount and the SyncOutCount. The SyncInCount
90is the mininum number of valid consecutive packet syncs that must be seen
91before the extraction engine declares itself synchronised to the DirecTv
92stream. The SyncOutCount is the number of invalid or missing syncs that must
93be seen before the extraction engine declares sync is lost.
94
95Returns:
96    BERR_SUCCESS                - Success.
97    BERR_INVALID_PARAMETER      - Bad input parameter
98 
99See Also:
100BXPT_DirecTvPlayback_SetSyncThresholds
101****************************************************************************/
102BERR_Code BXPT_DirecTvPlayback_GetSyncThresholds( 
103        BXPT_Playback_Handle PlaybackHandle,    /* [in] Handle for the playback channel */
104        unsigned int *SyncInCount,                      /* [out] In-sync threshold. */
105        unsigned int *SyncOutCount                      /* [out] Out-of-sync threshold. */
106        );
107
108/***************************************************************************
109Summary:
110Set the SyncIn and SyncOut thresholds for the playback sync extractor.
111
112Description:
113Set the sync extractor thresholds for a given playback channel. There
114are two thresholds, the SyncInCount and the SyncOutCount. The SyncInCount
115is the mininum number of valid consecutive packet syncs that must be seen
116before the extraction engine declares itself synchronised to the DirecTv
117stream. The SyncOutCount is the number of invalid or missing syncs that must
118be seen before the extraction engine declares sync is lost.
119
120Returns:
121    BERR_SUCCESS                - Thresholds have been set.
122    BERR_INVALID_PARAMETER      - Bad input parameter
123 
124See Also:
125BXPT_DirecTvPlayback_GetSyncThresholds
126****************************************************************************/
127BERR_Code BXPT_DirecTvPlayback_SetSyncThresholds( 
128        BXPT_Playback_Handle PlaybackHandle,    /* [in] Handle for the playback channel */
129        unsigned int SyncInCount,                       /* [in] In-sync threshold. */
130        unsigned int SyncOutCount                       /* [in] Out-of-sync threshold. */
131        );
132
133#ifdef __cplusplus
134}
135#endif
136
137#endif /* #ifndef BXPT_DIRECTV_PLAYBACK_H__ */
138
139/* end of file */
140
141
Note: See TracBrowser for help on using the repository browser.