| 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_remux.h $ |
|---|
| 11 | * $brcm_Revision: Hydra_Software_Devel/1 $ |
|---|
| 12 | * $brcm_Date: 10/25/10 2:09p $ |
|---|
| 13 | * |
|---|
| 14 | * Porting interface code for the DirecTV portions of the packet remultiplexor. |
|---|
| 15 | * |
|---|
| 16 | * Revision History: |
|---|
| 17 | * |
|---|
| 18 | * $brcm_Log: /magnum/portinginterface/xpt/base2/bxpt_directv_remux.h $ |
|---|
| 19 | * |
|---|
| 20 | * Hydra_Software_Devel/1 10/25/10 2:09p gmullen |
|---|
| 21 | * SW7425-15: Moved srcs to base2 folder |
|---|
| 22 | * |
|---|
| 23 | * Hydra_Software_Devel/1 10/8/10 2:57p gmullen |
|---|
| 24 | * SW7425-15: Added header files |
|---|
| 25 | * |
|---|
| 26 | * Hydra_Software_Devel/7 8/11/09 10:39a piyushg |
|---|
| 27 | * PR55216: Added initial 7340 XPT support. |
|---|
| 28 | * |
|---|
| 29 | * Hydra_Software_Devel/6 8/5/09 4:52p piyushg |
|---|
| 30 | * PR55545: Add 7125 XPT PI support |
|---|
| 31 | * Added file element "bxpt_rave_ihex.c". |
|---|
| 32 | * Added file element "bxpt_rave_ihex.h". |
|---|
| 33 | * |
|---|
| 34 | * Hydra_Software_Devel/PR55545/1 7/24/09 10:47a mward |
|---|
| 35 | * PR55548: Adapted for 7125 based on 7342, 7340. |
|---|
| 36 | * |
|---|
| 37 | * Hydra_Software_Devel/5 7/14/09 10:21a piyushg |
|---|
| 38 | * PR56771: Add XPT PI code for 7342. |
|---|
| 39 | * |
|---|
| 40 | * Hydra_Software_Devel/4 1/27/09 1:09p gmullen |
|---|
| 41 | * PR51625: Added 7336 support |
|---|
| 42 | * |
|---|
| 43 | * Hydra_Software_Devel/3 3/26/08 11:23a gmullen |
|---|
| 44 | * PR38954: Added 3548 support to XPT PI. |
|---|
| 45 | * |
|---|
| 46 | * Hydra_Software_Devel/2 10/30/07 3:11p gmullen |
|---|
| 47 | * PR35018: Added support for 7325 |
|---|
| 48 | * |
|---|
| 49 | * Hydra_Software_Devel/1 5/13/05 1:27p gmullen |
|---|
| 50 | * PR15309: First draft of XPT PI. |
|---|
| 51 | * |
|---|
| 52 | * Hydra_Software_Devel/5 10/3/03 5:07p gmullen |
|---|
| 53 | * Replaced stubs with real code. |
|---|
| 54 | * |
|---|
| 55 | * Hydra_Software_Devel/4 9/8/03 9:20a gmullen |
|---|
| 56 | * Updated for channel-based API. |
|---|
| 57 | * |
|---|
| 58 | * Hydra_Software_Devel/3 8/15/03 3:04p gmullen |
|---|
| 59 | * Replaced Get/Set calls. |
|---|
| 60 | * |
|---|
| 61 | * Hydra_Software_Devel/2 7/31/03 10:54a gmullen |
|---|
| 62 | * Changed 'Description' fields in enum and structure comments to |
|---|
| 63 | * 'Summary' so they'll show up in auto-generated docs. |
|---|
| 64 | * |
|---|
| 65 | * Hydra_Software_Devel/1 7/30/03 12:02p gmullen |
|---|
| 66 | * Initial release for 7038. |
|---|
| 67 | * |
|---|
| 68 | ***************************************************************************/ |
|---|
| 69 | |
|---|
| 70 | /*= Module Overview ********************************************************* |
|---|
| 71 | This module supports the DirecTV portions of the packet remux block. The |
|---|
| 72 | function calls allow the user to get or set the DirecTV fields in the |
|---|
| 73 | remux. The calls are otherwise identical to the MPEG remux API. |
|---|
| 74 | ***************************************************************************/ |
|---|
| 75 | |
|---|
| 76 | #ifndef BXPT_DIRECTV_REMUX_H__ |
|---|
| 77 | #define BXPT_DIRECTV_REMUX_H__ |
|---|
| 78 | |
|---|
| 79 | #include "bxpt.h" |
|---|
| 80 | #include "bxpt_remux.h" |
|---|
| 81 | |
|---|
| 82 | /*************************************************************************** |
|---|
| 83 | Summary: |
|---|
| 84 | Defines the types of packets that the remux supports. |
|---|
| 85 | ****************************************************************************/ |
|---|
| 86 | typedef enum BXPT_RemuxMode |
|---|
| 87 | { |
|---|
| 88 | BXPT_RemuxMode_eDirecTv, |
|---|
| 89 | BXPT_RemuxMode_eMpeg |
|---|
| 90 | } |
|---|
| 91 | BXPT_RemuxMode; |
|---|
| 92 | |
|---|
| 93 | #ifdef __cplusplus |
|---|
| 94 | extern "C" { |
|---|
| 95 | #endif |
|---|
| 96 | |
|---|
| 97 | /*************************************************************************** |
|---|
| 98 | Summary: |
|---|
| 99 | Enable or disable DirecTV mode operation in the remux channel. |
|---|
| 100 | |
|---|
| 101 | Description: |
|---|
| 102 | This call should be used to put a remux channel into DirecTV mode, or to |
|---|
| 103 | restore MPEG mode after entering DirecTV mode. |
|---|
| 104 | |
|---|
| 105 | Returns: |
|---|
| 106 | BERR_SUCCESS - Call completed successfully. |
|---|
| 107 | BERR_INVALID_PARAMETER - Bad input parameter |
|---|
| 108 | ****************************************************************************/ |
|---|
| 109 | BERR_Code BXPT_DirecTvRemux_SetMode( |
|---|
| 110 | BXPT_Remux_Handle hRmx, /* [in] Handle for the remux channel */ |
|---|
| 111 | BXPT_RemuxMode Mode /* [in] Selects the mode. */ |
|---|
| 112 | ); |
|---|
| 113 | |
|---|
| 114 | #ifdef __cplusplus |
|---|
| 115 | } |
|---|
| 116 | #endif |
|---|
| 117 | |
|---|
| 118 | #endif /* #ifndef BXPT_DIRECTV_REMUX_H__ */ |
|---|
| 119 | |
|---|
| 120 | /* end of file */ |
|---|
| 121 | |
|---|
| 122 | |
|---|