| [2] | 1 | /*************************************************************************** |
|---|
| 2 | * Copyright (c) 2002, 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: bcmDccIntPriv.h $ |
|---|
| 11 | * $brcm_Revision: SanJose_MSTV_Devel/3 $ |
|---|
| 12 | * $brcm_Date: 10/25/02 10:30a $ |
|---|
| 13 | * |
|---|
| 14 | * Module Description: |
|---|
| 15 | * |
|---|
| 16 | * Revision History: |
|---|
| 17 | * |
|---|
| 18 | * $brcm_Log: /SetTop/applications/vbi/DTVCCLib/source/bcmDccIntPriv.h $ |
|---|
| 19 | * |
|---|
| 20 | * SanJose_MSTV_Devel/3 10/25/02 10:30a erikg |
|---|
| 21 | * Numerous Changes: 1. cbPostByte/Ptr fixed return val and Len logic 2. |
|---|
| 22 | * DccEngine_Reset: save/restore user overrides 3. |
|---|
| 23 | * DccEngine_Process708: finer grained pipe 4. ccgfx: fixed mem leak |
|---|
| 24 | * in which fonts are not unloaded 5. added pre/post line space in ccgfx |
|---|
| 25 | * and removed from 608 xcoder 6. 608 transcoder: implemented |
|---|
| 26 | * BackSpace, ExtendedChar set, TAB 7. improved user override logic 8. |
|---|
| 27 | * more selective mid-line re-render Merge from |
|---|
| 28 | * SanJose_MSTV_Devel_erikg_week_oct_14_2002_10_14_1204_17 25-Oct- |
|---|
| 29 | * 02.08:21:19 \SetTop\applications\vbi\public_inc\bcmDcc.h 1. finer |
|---|
| 30 | * grained pipe |
|---|
| 31 | * 2. more selective mid-line re-render --- 18-Oct-02.16:02:11 |
|---|
| 32 | * \SetTop\applications\vbi\Common\bcmDccPriv.h made a number of the |
|---|
| 33 | * config #defines actual globals |
|---|
| 34 | * to facilitate run-time configuration --- 17-Oct-02.08:58:37 |
|---|
| 35 | * \SetTop\applications\vbi\Common\bcmDccCBuf.c fixed return vals on |
|---|
| 36 | * cbPostByte and cbPostPtr --- 25-Oct-02.08:20:18 |
|---|
| 37 | * \SetTop\applications\vbi\Common\bcmDccCBuf.c fixed cbPostPtr Len logic |
|---|
| 38 | * error --- 18-Oct-02.16:02:17 |
|---|
| 39 | * \SetTop\applications\vbi\DTVCCLib\public_inc\bcmDccGfx.h made a number |
|---|
| 40 | * of the config #defines actual globals |
|---|
| 41 | * to facilitate run-time configuration --- 18-Oct-02.16:02:21 |
|---|
| 42 | * \SetTop\applications\vbi\DTVCCLib\public_inc\bcmDTVCC708.h made a |
|---|
| 43 | * number of the config #defines actual globals |
|---|
| 44 | * to facilitate run-time configuration --- 22-Oct-02.17:09:38 |
|---|
| 45 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccPacket.c moved printf - |
|---|
| 46 | * -- 17-Oct-02.09:01:01 |
|---|
| 47 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccInt.c improved user |
|---|
| 48 | * override handling |
|---|
| 49 | * DccEngine_Reset and ResetDownstream both preserve overrides --- 25-Oct- |
|---|
| 50 | * 02.08:21:22 \SetTop\applications\vbi\DTVCCLib\source\bcmDccIntGfx.c 1. |
|---|
| 51 | * finer grained pipe |
|---|
| 52 | * 2. more selective mid-line re-render --- 25-Oct-02.08:42:49 |
|---|
| 53 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccIntGfx.c misc changes - |
|---|
| 54 | * -- 25-Oct-02.08:21:26 |
|---|
| 55 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccIntPriv.h 1. finer |
|---|
| 56 | * grained pipe |
|---|
| 57 | * 2. more selective mid-line re-render --- 25-Oct-02.08:21:29 |
|---|
| 58 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccCoding.c 1. finer |
|---|
| 59 | * grained pipe |
|---|
| 60 | * 2. more selective mid-line re-render --- 14-Oct-02.16:03:55 |
|---|
| 61 | * \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c fixed MIPS |
|---|
| 62 | * exception -- FontLoad was not matched w/ FontUnload --- 17-Oct- |
|---|
| 63 | * 02.11:02:34 \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c |
|---|
| 64 | * surface clipping --- 18-Oct-02.14:03:07 |
|---|
| 65 | * \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c move leading |
|---|
| 66 | * and trailing space into ccgfx --- 18-Oct-02.16:02:24 |
|---|
| 67 | * \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c made a number |
|---|
| 68 | * of the config #defines actual globals |
|---|
| 69 | * to facilitate run-time configuration --- 25-Oct-02.08:42:57 |
|---|
| 70 | * \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c misc changes |
|---|
| 71 | * --- 25-Oct-02.10:16:25 |
|---|
| 72 | * \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c prep for |
|---|
| 73 | * release --- 17-Oct-02.09:01:06 |
|---|
| 74 | * \SetTop\applications\vbi\Common\bcmDccEngine.c improved user override |
|---|
| 75 | * handling |
|---|
| 76 | * DccEngine_Reset and ResetDownstream both preserve overrides --- 18-Oct- |
|---|
| 77 | * 02.16:02:29 \SetTop\applications\vbi\Common\bcmDccEngine.c made a |
|---|
| 78 | * number of the config #defines actual globals |
|---|
| 79 | * to facilitate run-time configuration --- 22-Oct-02.17:10:19 |
|---|
| 80 | * \SetTop\applications\vbi\Common\bcmDccEngine.c added printf --- 25- |
|---|
| 81 | * Oct-02.08:21:33 \SetTop\applications\vbi\Common\bcmDccEngine.c 1. |
|---|
| 82 | * finer grained pipe |
|---|
| 83 | * 2. more selective mid-line re-render --- 25-Oct-02.10:16:31 |
|---|
| 84 | * \SetTop\applications\vbi\Common\bcmDccEngine.c prep for release --- |
|---|
| 85 | * 18-Oct-02.14:03:15 |
|---|
| 86 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDcc608Transcoder.c move |
|---|
| 87 | * leading and trailing space into ccgfx --- 21-Oct-02.14:51:16 |
|---|
| 88 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDcc608Transcoder.c support |
|---|
| 89 | * for backspace and tab |
|---|
| 90 | * support for extended char sets --- |
|---|
| 91 | * |
|---|
| 92 | * SanJose_MSTV_Devel/SanJose_MSTV_Devel_erikg_week_oct_14_2002_10_14_1204_17/1 10/25/02 8:21a erikg |
|---|
| 93 | * 1. finer grained pipe |
|---|
| 94 | * 2. more selective mid-line re-render |
|---|
| 95 | * |
|---|
| 96 | * SanJose_MSTV_Devel\2 6/1/02 1:0p erikg |
|---|
| 97 | * Merge from SanJose_MSTV_Devel_erikg_Justify_2002_05_29_0843_40 31-May- |
|---|
| 98 | * 02.15:58:04 \SetTop\applications\vbi\DTVCCLib\public_inc\bcmDccGfx.h |
|---|
| 99 | * Major rework on how rendering is done. New way is: |
|---|
| 100 | * DrawChar into temporary surface, returns accumulated |
|---|
| 101 | * extents. Sometime later CopyRendering is called to copy |
|---|
| 102 | * the temporary surface to the window. --- 01-Jun-02.11:49:38 |
|---|
| 103 | * \SetTop\applications\vbi\DTVCCLib\public_inc\bcmDccGfx.h 1. fixed |
|---|
| 104 | * scrolling and fill |
|---|
| 105 | * 2. fleshed out user override support |
|---|
| 106 | * 3. added HCR and FF --- 01-Jun-02.12:40:13 |
|---|
| 107 | * \SetTop\applications\vbi\DTVCCLib\public_inc\bcmDccGfx.h Added new |
|---|
| 108 | * functions to CCGFX: gfxccDrawChar, gfxccCopyRendering, gfxccFill --- |
|---|
| 109 | * 31-May-02.15:58:02 |
|---|
| 110 | * \SetTop\applications\vbi\DTVCCLib\public_inc\bcmDccCoding.h Major |
|---|
| 111 | * rework on how rendering is done. New way is: |
|---|
| 112 | * DrawChar into temporary surface, returns accumulated |
|---|
| 113 | * extents. Sometime later CopyRendering is called to copy |
|---|
| 114 | * the temporary surface to the window. --- 01-Jun-02.11:49:35 |
|---|
| 115 | * \SetTop\applications\vbi\DTVCCLib\public_inc\bcmDccCoding.h 1. fixed |
|---|
| 116 | * scrolling and fill |
|---|
| 117 | * 2. fleshed out user override support |
|---|
| 118 | * 3. added HCR and FF --- 01-Jun-02.11:49:42 |
|---|
| 119 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccCodingC1Handlers.c 1. |
|---|
| 120 | * fixed scrolling and fill |
|---|
| 121 | * 2. fleshed out user override support |
|---|
| 122 | * 3. added HCR and FF --- 30-May-02.15:03:43 |
|---|
| 123 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccInt.c handle: |
|---|
| 124 | * 1. clear window on new pdir sdir just |
|---|
| 125 | * 2. spl(0,0) on clear window --- 01-Jun-02.11:49:45 |
|---|
| 126 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccInt.c 1. fixed |
|---|
| 127 | * scrolling and fill |
|---|
| 128 | * 2. fleshed out user override support |
|---|
| 129 | * 3. added HCR and FF --- 01-Jun-02.11:49:47 |
|---|
| 130 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccInt.h 1. fixed |
|---|
| 131 | * scrolling and fill |
|---|
| 132 | * 2. fleshed out user override support |
|---|
| 133 | * 3. added HCR and FF --- 31-May-02.15:58:07 |
|---|
| 134 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccIntGfx.c Major rework |
|---|
| 135 | * on how rendering is done. New way is: |
|---|
| 136 | * DrawChar into temporary surface, returns accumulated |
|---|
| 137 | * extents. Sometime later CopyRendering is called to copy |
|---|
| 138 | * the temporary surface to the window. --- 01-Jun-02.11:49:49 |
|---|
| 139 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccIntGfx.c 1. fixed |
|---|
| 140 | * scrolling and fill |
|---|
| 141 | * 2. fleshed out user override support |
|---|
| 142 | * 3. added HCR and FF --- 01-Jun-02.11:49:52 |
|---|
| 143 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccIntGfx.h 1. fixed |
|---|
| 144 | * scrolling and fill |
|---|
| 145 | * 2. fleshed out user override support |
|---|
| 146 | * 3. added HCR and FF --- 01-Jun-02.11:49:54 |
|---|
| 147 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccIntPriv.h 1. fixed |
|---|
| 148 | * scrolling and fill |
|---|
| 149 | * 2. fleshed out user override support |
|---|
| 150 | * 3. added HCR and FF --- 31-May-02.13:52:04 |
|---|
| 151 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccCoding.c 1. SPC and |
|---|
| 152 | * SPA don't imply ETX |
|---|
| 153 | * 2. Stop SIB processing on DLY when already delaying --- 01-Jun- |
|---|
| 154 | * 02.11:49:40 \SetTop\applications\vbi\DTVCCLib\source\bcmDccCoding.c 1. |
|---|
| 155 | * fixed scrolling and fill |
|---|
| 156 | * 2. fleshed out user override support |
|---|
| 157 | * 3. added HCR and FF --- 01-Jun-02.12:40:10 |
|---|
| 158 | * \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c Added new |
|---|
| 159 | * functions to CCGFX: gfxccDrawChar, gfxccCopyRendering, gfxccFill --- |
|---|
| 160 | * |
|---|
| 161 | * SanJose_MSTV_Devel\SanJose_MSTV_Devel_erikg_Justify_2002_05_29_0843_40\1 6/1/02 11:49a erikg |
|---|
| 162 | * 1. fixed scrolling and fill |
|---|
| 163 | * 2. fleshed out user override support |
|---|
| 164 | * 3. added HCR and FF |
|---|
| 165 | * |
|---|
| 166 | * SanJose_MSTV_Devel\1 5/13/02 1:13p erikg |
|---|
| 167 | * snapshot of dtvcc code Merge from |
|---|
| 168 | * SanJose_MSTV_Devel_erikg_DTVCC_Int_2002_05_02_1128_00 13-May- |
|---|
| 169 | * 02.11:55:52 \SetTop\applications\vbi Added directory element |
|---|
| 170 | * "DTVCCLib". --- 13-May-02.13:08:38 \SetTop\applications\vbi\Common |
|---|
| 171 | * First version of the Dcc 708 Rendering Libraries --- 13-May- |
|---|
| 172 | * 02.13:08:10 \SetTop\applications\vbi\Common\bcmDccBits.h Added ifdef |
|---|
| 173 | * to ensure included only once. |
|---|
| 174 | * Added extern "C" for __cplusplus --- 13-May-02.13:07:04 |
|---|
| 175 | * \SetTop\applications\vbi\MPEGCCTransportLib\source\bcmDccTransportPars |
|---|
| 176 | * e.c NextStartCode() now specifically scans for start codes until it |
|---|
| 177 | * finds |
|---|
| 178 | * 00 00 01 B2. --- 13-May-02.13:08:40 |
|---|
| 179 | * \SetTop\applications\vbi\Common@@\main\SanJose_MSTV_Devel\SanJose_MSTV |
|---|
| 180 | * _Devel_erikg_DTVCC_Int_2002_05_02_1128_00\1\bcmDccCBuf.c First version |
|---|
| 181 | * of the Dcc 708 Rendering Libraries --- 13-May-02.13:08:43 |
|---|
| 182 | * \SetTop\applications\vbi\Common@@\main\SanJose_MSTV_Devel\SanJose_MSTV |
|---|
| 183 | * _Devel_erikg_DTVCC_Int_2002_05_02_1128_00\1\bcmDccCBuf.h First version |
|---|
| 184 | * of the Dcc 708 Rendering Libraries --- 13-May-02.11:55:59 |
|---|
| 185 | * \SetTop\applications\vbi@@\main\SanJose_MSTV_Devel\SanJose_MSTV_Devel_ |
|---|
| 186 | * erikg_DTVCC_Int_2002_05_02_1128_00\1\DTVCCLib Added directory element |
|---|
| 187 | * "source". Added directory element "public_inc". --- |
|---|
| 188 | * |
|---|
| 189 | * SanJose_MSTV_Devel_erikg_DTVCC_Int_2002_05_02_1128_00\1 5/13/02 1:9p erikg |
|---|
| 190 | * First version of the Dcc 708 Rendering Libraries |
|---|
| 191 | * |
|---|
| 192 | ***************************************************************************/ |
|---|
| 193 | |
|---|
| 194 | |
|---|
| 195 | #ifndef BCMDCCINTPRIV_H |
|---|
| 196 | #define BCMDCCINTPRIV_H |
|---|
| 197 | |
|---|
| 198 | #ifdef __cplusplus |
|---|
| 199 | extern "C" { |
|---|
| 200 | #endif |
|---|
| 201 | |
|---|
| 202 | #include "bcmDccCoding.h" |
|---|
| 203 | |
|---|
| 204 | |
|---|
| 205 | #define DCC_INT_CMD_03_ETX 0x03 |
|---|
| 206 | |
|---|
| 207 | |
|---|
| 208 | |
|---|
| 209 | typedef enum |
|---|
| 210 | { |
|---|
| 211 | pdConsumeContinue, |
|---|
| 212 | pdConsumeDone, |
|---|
| 213 | pdDone, |
|---|
| 214 | pdConsumePause |
|---|
| 215 | } DCC_INT_PROCESS_DISPOSITION ; |
|---|
| 216 | |
|---|
| 217 | |
|---|
| 218 | |
|---|
| 219 | |
|---|
| 220 | |
|---|
| 221 | |
|---|
| 222 | |
|---|
| 223 | |
|---|
| 224 | |
|---|
| 225 | #ifdef __cplusplus |
|---|
| 226 | } |
|---|
| 227 | #endif |
|---|
| 228 | |
|---|
| 229 | #endif /* BCMDCCINTPRIV_H */ |
|---|
| 230 | |
|---|
| 231 | |
|---|