| 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: bcmDccPriv.h $ |
|---|
| 11 | * $brcm_Revision: SanJose_MSTV_Devel/14 $ |
|---|
| 12 | * $brcm_Date: 11/14/02 11:16a $ |
|---|
| 13 | * |
|---|
| 14 | * Module Description: |
|---|
| 15 | * |
|---|
| 16 | * Revision History: |
|---|
| 17 | * |
|---|
| 18 | * $brcm_Log: /SetTop/applications/vbi/Common/bcmDccPriv.h $ |
|---|
| 19 | * |
|---|
| 20 | * SanJose_MSTV_Devel/14 11/14/02 11:16a erikg |
|---|
| 21 | * Minor Changes: 1. Made Packet and Service layers robust to a |
|---|
| 22 | * shortened packet in which there is an incomplete service block: a) |
|---|
| 23 | * packet layer stops on all packet boundaries, possibly returning |
|---|
| 24 | * dccWrnPause b) service layer does cbUpdatePeek before exitting to |
|---|
| 25 | * flush any incomplete service block 2. Improved the PAXEL logic in |
|---|
| 26 | * bcmDccGfx.c 3. Added support for 16-bit surfaces in bcmDccGfx.c (but |
|---|
| 27 | * left it in 32-bit mode). Merge from |
|---|
| 28 | * SanJose_MSTV_Devel_erikg_PAXEL_Support_2002_11_04_1640_02 12-Nov- |
|---|
| 29 | * 02.14:24:16 \SetTop\applications\vbi\Common\bcmDccPriv.h added |
|---|
| 30 | * PROFILE_DBG build option --- 13-Nov-02.11:16:34 |
|---|
| 31 | * \SetTop\applications\vbi\Common\bcmDccPriv.h removed PROFILE_DBG debug |
|---|
| 32 | * code --- 14-Nov-02.10:56:21 |
|---|
| 33 | * packet in which there is an incomplete service block: |
|---|
| 34 | * 1. packet layer stops on all packet boundaries, possibly returning |
|---|
| 35 | * dccWrnPause |
|---|
| 36 | * 2. service layer does cbUpdatePeek before exitting to flush any |
|---|
| 37 | * incomplete service block |
|---|
| 38 | * --- 14-Nov-02.10:56:27 |
|---|
| 39 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccPacket.c cleanup b4 |
|---|
| 40 | * release --- 12-Nov-02.14:24:23 |
|---|
| 41 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccIntGfx.c added |
|---|
| 42 | * PROFILE_DBG build option --- 13-Nov-02.11:16:43 |
|---|
| 43 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccIntGfx.c removed |
|---|
| 44 | * PROFILE_DBG debug code --- 12-Nov-02.14:24:27 |
|---|
| 45 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccCoding.c added |
|---|
| 46 | * PROFILE_DBG build option --- 13-Nov-02.11:16:47 |
|---|
| 47 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccCoding.c removed |
|---|
| 48 | * PROFILE_DBG debug code --- 12-Nov-02.15:12:36 |
|---|
| 49 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccService.c Made Packet |
|---|
| 50 | * packet in which there is an incomplete service block: |
|---|
| 51 | * 1. packet layer stops on all packet boundaries, possibly returning |
|---|
| 52 | * dccWrnPause |
|---|
| 53 | * 2. service layer does cbUpdatePeek before exitting to flush any |
|---|
| 54 | * incomplete service block |
|---|
| 55 | * --- 06-Nov-02.12:57:13 |
|---|
| 56 | * \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c cleaned |
|---|
| 57 | * up/fixed the paxel logic --- 07-Nov-02.09:26:49 |
|---|
| 58 | * \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c put #if's |
|---|
| 59 | * around WaitForPaxelDone --- 07-Nov-02.15:48:40 |
|---|
| 60 | * \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c surface |
|---|
| 61 | * format is 4444 --- 12-Nov-02.14:24:31 |
|---|
| 62 | * \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c added |
|---|
| 63 | * PROFILE_DBG build option --- 13-Nov-02.11:16:52 |
|---|
| 64 | * \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c removed |
|---|
| 65 | * PROFILE_DBG debug code --- 14-Nov-02.10:56:32 |
|---|
| 66 | * \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c cleanup b4 |
|---|
| 67 | * |
|---|
| 68 | * SanJose_MSTV_Devel/SanJose_MSTV_Devel_erikg_PAXEL_Support_2002_11_04_1640_02/2 11/13/02 11:16a erikg |
|---|
| 69 | * removed PROFILE_DBG debug code |
|---|
| 70 | * |
|---|
| 71 | * SanJose_MSTV_Devel/SanJose_MSTV_Devel_erikg_PAXEL_Support_2002_11_04_1640_02/1 11/12/02 2:24p erikg |
|---|
| 72 | * added PROFILE_DBG build option |
|---|
| 73 | * |
|---|
| 74 | * SanJose_MSTV_Devel/13 10/25/02 10:30a erikg |
|---|
| 75 | * Numerous Changes: 1. cbPostByte/Ptr fixed return val and Len logic 2. |
|---|
| 76 | * DccEngine_Reset: save/restore user overrides 3. |
|---|
| 77 | * DccEngine_Process708: finer grained pipe 4. ccgfx: fixed mem leak |
|---|
| 78 | * in which fonts are not unloaded 5. added pre/post line space in ccgfx |
|---|
| 79 | * and removed from 608 xcoder 6. 608 transcoder: implemented |
|---|
| 80 | * BackSpace, ExtendedChar set, TAB 7. improved user override logic 8. |
|---|
| 81 | * more selective mid-line re-render Merge from |
|---|
| 82 | * SanJose_MSTV_Devel_erikg_week_oct_14_2002_10_14_1204_17 25-Oct- |
|---|
| 83 | * 02.08:21:19 \SetTop\applications\vbi\public_inc\bcmDcc.h 1. finer |
|---|
| 84 | * grained pipe |
|---|
| 85 | * 2. more selective mid-line re-render --- 18-Oct-02.16:02:11 |
|---|
| 86 | * \SetTop\applications\vbi\Common\bcmDccPriv.h made a number of the |
|---|
| 87 | * config #defines actual globals |
|---|
| 88 | * to facilitate run-time configuration --- 17-Oct-02.08:58:37 |
|---|
| 89 | * \SetTop\applications\vbi\Common\bcmDccCBuf.c fixed return vals on |
|---|
| 90 | * cbPostByte and cbPostPtr --- 25-Oct-02.08:20:18 |
|---|
| 91 | * \SetTop\applications\vbi\Common\bcmDccCBuf.c fixed cbPostPtr Len logic |
|---|
| 92 | * error --- 18-Oct-02.16:02:17 |
|---|
| 93 | * \SetTop\applications\vbi\DTVCCLib\public_inc\bcmDccGfx.h made a number |
|---|
| 94 | * of the config #defines actual globals |
|---|
| 95 | * to facilitate run-time configuration --- 18-Oct-02.16:02:21 |
|---|
| 96 | * \SetTop\applications\vbi\DTVCCLib\public_inc\bcmDTVCC708.h made a |
|---|
| 97 | * number of the config #defines actual globals |
|---|
| 98 | * to facilitate run-time configuration --- 22-Oct-02.17:09:38 |
|---|
| 99 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccPacket.c moved printf - |
|---|
| 100 | * -- 17-Oct-02.09:01:01 |
|---|
| 101 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccInt.c improved user |
|---|
| 102 | * override handling |
|---|
| 103 | * DccEngine_Reset and ResetDownstream both preserve overrides --- 25-Oct- |
|---|
| 104 | * 02.08:21:22 \SetTop\applications\vbi\DTVCCLib\source\bcmDccIntGfx.c 1. |
|---|
| 105 | * finer grained pipe |
|---|
| 106 | * 2. more selective mid-line re-render --- 25-Oct-02.08:42:49 |
|---|
| 107 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccIntGfx.c misc changes - |
|---|
| 108 | * -- 25-Oct-02.08:21:26 |
|---|
| 109 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccIntPriv.h 1. finer |
|---|
| 110 | * grained pipe |
|---|
| 111 | * 2. more selective mid-line re-render --- 25-Oct-02.08:21:29 |
|---|
| 112 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccCoding.c 1. finer |
|---|
| 113 | * grained pipe |
|---|
| 114 | * 2. more selective mid-line re-render --- 14-Oct-02.16:03:55 |
|---|
| 115 | * \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c fixed MIPS |
|---|
| 116 | * exception -- FontLoad was not matched w/ FontUnload --- 17-Oct- |
|---|
| 117 | * 02.11:02:34 \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c |
|---|
| 118 | * surface clipping --- 18-Oct-02.14:03:07 |
|---|
| 119 | * \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c move leading |
|---|
| 120 | * and trailing space into ccgfx --- 18-Oct-02.16:02:24 |
|---|
| 121 | * \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c made a number |
|---|
| 122 | * of the config #defines actual globals |
|---|
| 123 | * to facilitate run-time configuration --- 25-Oct-02.08:42:57 |
|---|
| 124 | * \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c misc changes |
|---|
| 125 | * --- 25-Oct-02.10:16:25 |
|---|
| 126 | * \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c prep for |
|---|
| 127 | * release --- 17-Oct-02.09:01:06 |
|---|
| 128 | * \SetTop\applications\vbi\Common\bcmDccEngine.c improved user override |
|---|
| 129 | * handling |
|---|
| 130 | * DccEngine_Reset and ResetDownstream both preserve overrides --- 18-Oct- |
|---|
| 131 | * 02.16:02:29 \SetTop\applications\vbi\Common\bcmDccEngine.c made a |
|---|
| 132 | * number of the config #defines actual globals |
|---|
| 133 | * to facilitate run-time configuration --- 22-Oct-02.17:10:19 |
|---|
| 134 | * \SetTop\applications\vbi\Common\bcmDccEngine.c added printf --- 25- |
|---|
| 135 | * Oct-02.08:21:33 \SetTop\applications\vbi\Common\bcmDccEngine.c 1. |
|---|
| 136 | * finer grained pipe |
|---|
| 137 | * 2. more selective mid-line re-render --- 25-Oct-02.10:16:31 |
|---|
| 138 | * \SetTop\applications\vbi\Common\bcmDccEngine.c prep for release --- |
|---|
| 139 | * 18-Oct-02.14:03:15 |
|---|
| 140 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDcc608Transcoder.c move |
|---|
| 141 | * leading and trailing space into ccgfx --- 21-Oct-02.14:51:16 |
|---|
| 142 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDcc608Transcoder.c support |
|---|
| 143 | * for backspace and tab |
|---|
| 144 | * support for extended char sets --- |
|---|
| 145 | * |
|---|
| 146 | * SanJose_MSTV_Devel/SanJose_MSTV_Devel_erikg_week_oct_14_2002_10_14_1204_17/1 10/18/02 4:2p erikg |
|---|
| 147 | * made a number of the config #defines actual globals |
|---|
| 148 | * to facilitate run-time configuration |
|---|
| 149 | * |
|---|
| 150 | * SanJose_MSTV_Devel/12 10/4/02 11:40a erikg |
|---|
| 151 | * Merge from SanJose_MSTV_Devel_erikg_SarnoffTestingA_2002_09_23_1350_22 |
|---|
| 152 | * 04-Oct-02.11:31:25 \SetTop\applications\vbi\Docs Added file element |
|---|
| 153 | * "SarnoffTesting.xls". --- 01-Oct-02.11:06:57 |
|---|
| 154 | * \SetTop\applications\vbi\Common\bcmDccPriv.h various fixes during |
|---|
| 155 | * testing |
|---|
| 156 | * 1. window width |
|---|
| 157 | * 2. pensize and monospacing simulation |
|---|
| 158 | * 3. anchor logic in ccgfx --- 02-Oct-02.13:39:25 |
|---|
| 159 | * \SetTop\applications\vbi\Common\bcmDccPriv.h build config as a debug |
|---|
| 160 | * surface --- 02-Oct-02.15:41:35 |
|---|
| 161 | * \SetTop\applications\vbi\Common\bcmDccPriv.h removed these #defines |
|---|
| 162 | * and #if's |
|---|
| 163 | * RENDER_INCREMENTAL |
|---|
| 164 | * ANCHOR_LOGIC_IN_CCGFX |
|---|
| 165 | * CHECK_FOR_OVERLAPPED_SCROLLS |
|---|
| 166 | * ZEROBASED_RCCOUNT --- 01-Oct-02.11:07:04 |
|---|
| 167 | * \SetTop\applications\vbi\DTVCCLib\public_inc\bcmDccGfx.h various fixes |
|---|
| 168 | * during testing |
|---|
| 169 | * 1. window width |
|---|
| 170 | * 2. pensize and monospacing simulation |
|---|
| 171 | * 3. anchor logic in ccgfx --- 02-Oct-02.15:41:41 |
|---|
| 172 | * \SetTop\applications\vbi\DTVCCLib\public_inc\bcmDccGfx.h removed these |
|---|
| 173 | * #defines and #if's |
|---|
| 174 | * RENDER_INCREMENTAL |
|---|
| 175 | * ANCHOR_LOGIC_IN_CCGFX |
|---|
| 176 | * CHECK_FOR_OVERLAPPED_SCROLLS |
|---|
| 177 | * ZEROBASED_RCCOUNT --- 04-Oct-02.10:20:39 |
|---|
| 178 | * \SetTop\applications\vbi\DTVCCLib\public_inc\bcmDccCoding.h misc |
|---|
| 179 | * cleanup for release --- 02-Oct-02.15:41:45 |
|---|
| 180 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccCodingC1Handlers.c |
|---|
| 181 | * removed these #defines and #if's |
|---|
| 182 | * RENDER_INCREMENTAL |
|---|
| 183 | * ANCHOR_LOGIC_IN_CCGFX |
|---|
| 184 | * CHECK_FOR_OVERLAPPED_SCROLLS |
|---|
| 185 | * ZEROBASED_RCCOUNT --- 01-Oct-02.11:07:21 |
|---|
| 186 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccIntGfx.c various fixes |
|---|
| 187 | * during testing |
|---|
| 188 | * 1. window width |
|---|
| 189 | * 2. pensize and monospacing simulation |
|---|
| 190 | * 3. anchor logic in ccgfx --- 01-Oct-02.14:43:32 |
|---|
| 191 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccIntGfx.c flash working |
|---|
| 192 | * again --- 02-Oct-02.13:39:32 |
|---|
| 193 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccIntGfx.c build config |
|---|
| 194 | * as a debug surface --- 02-Oct-02.15:41:49 |
|---|
| 195 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccIntGfx.c removed these |
|---|
| 196 | * #defines and #if's |
|---|
| 197 | * RENDER_INCREMENTAL |
|---|
| 198 | * ANCHOR_LOGIC_IN_CCGFX |
|---|
| 199 | * CHECK_FOR_OVERLAPPED_SCROLLS |
|---|
| 200 | * ZEROBASED_RCCOUNT --- 04-Oct-02.10:20:44 |
|---|
| 201 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccIntGfx.c misc cleanup |
|---|
| 202 | * for release --- 01-Oct-02.11:07:26 |
|---|
| 203 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccCoding.c various fixes |
|---|
| 204 | * during testing |
|---|
| 205 | * 1. window width |
|---|
| 206 | * 2. pensize and monospacing simulation |
|---|
| 207 | * 3. anchor logic in ccgfx --- 04-Oct-02.10:20:48 |
|---|
| 208 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDccCoding.c misc cleanup |
|---|
| 209 | * for release --- 01-Oct-02.11:07:30 |
|---|
| 210 | * \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c various fixes |
|---|
| 211 | * during testing |
|---|
| 212 | * 1. window width |
|---|
| 213 | * 2. pensize and monospacing simulation |
|---|
| 214 | * 3. anchor logic in ccgfx --- 01-Oct-02.14:43:37 |
|---|
| 215 | * \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c flash working |
|---|
| 216 | * again --- 01-Oct-02.15:17:09 |
|---|
| 217 | * \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c use |
|---|
| 218 | * cxMonoSpacing instead of cxCell in places --- 02-Oct-02.13:39:36 |
|---|
| 219 | * \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c build config |
|---|
| 220 | * as a debug surface --- 02-Oct-02.15:41:52 |
|---|
| 221 | * \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c removed these |
|---|
| 222 | * #defines and #if's |
|---|
| 223 | * RENDER_INCREMENTAL |
|---|
| 224 | * ANCHOR_LOGIC_IN_CCGFX |
|---|
| 225 | * CHECK_FOR_OVERLAPPED_SCROLLS |
|---|
| 226 | * ZEROBASED_RCCOUNT --- 04-Oct-02.09:42:11 |
|---|
| 227 | * \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c turned on |
|---|
| 228 | * paxel |
|---|
| 229 | * --- 04-Oct-02.10:20:52 |
|---|
| 230 | * \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c misc cleanup |
|---|
| 231 | * for release --- 01-Oct-02.11:07:34 |
|---|
| 232 | * \SetTop\applications\vbi\Common\bcmDccEngine.h various fixes during |
|---|
| 233 | * testing |
|---|
| 234 | * 1. window width |
|---|
| 235 | * 2. pensize and monospacing simulation |
|---|
| 236 | * 3. anchor logic in ccgfx --- 01-Oct-02.11:07:38 |
|---|
| 237 | * \SetTop\applications\vbi\Common\bcmDccEngine.c various fixes during |
|---|
| 238 | * testing |
|---|
| 239 | * 1. window width |
|---|
| 240 | * 2. pensize and monospacing simulation |
|---|
| 241 | * 3. anchor logic in ccgfx --- 04-Oct-02.10:20:57 |
|---|
| 242 | * \SetTop\applications\vbi\Common\bcmDccEngine.c misc cleanup for |
|---|
| 243 | * release --- 02-Oct-02.15:41:57 |
|---|
| 244 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDcc608Transcoder.c removed |
|---|
| 245 | * these #defines and #if's |
|---|
| 246 | * RENDER_INCREMENTAL |
|---|
| 247 | * ANCHOR_LOGIC_IN_CCGFX |
|---|
| 248 | * CHECK_FOR_OVERLAPPED_SCROLLS |
|---|
| 249 | * ZEROBASED_RCCOUNT --- 04-Oct-02.11:31:19 |
|---|
| 250 | * \SetTop\applications\vbi\Docs@@\main\SanJose_MSTV_Devel\SanJose_MSTV_D |
|---|
| 251 | * evel_erikg_SarnoffTestingA_2002_09_23_1350_22\1\SarnoffTesting.xls new |
|---|
| 252 | * file --- |
|---|
| 253 | * |
|---|
| 254 | * SanJose_MSTV_Devel/SanJose_MSTV_Devel_erikg_SarnoffTestingA_2002_09_23_1350_22/3 10/2/02 3:41p erikg |
|---|
| 255 | * removed these #defines and #if's |
|---|
| 256 | * RENDER_INCREMENTAL |
|---|
| 257 | * ANCHOR_LOGIC_IN_CCGFX |
|---|
| 258 | * CHECK_FOR_OVERLAPPED_SCROLLS |
|---|
| 259 | * ZEROBASED_RCCOUNT |
|---|
| 260 | * |
|---|
| 261 | * SanJose_MSTV_Devel/SanJose_MSTV_Devel_erikg_SarnoffTestingA_2002_09_23_1350_22/2 10/2/02 1:39p erikg |
|---|
| 262 | * build config as a debug surface |
|---|
| 263 | * |
|---|
| 264 | * SanJose_MSTV_Devel/SanJose_MSTV_Devel_erikg_SarnoffTestingA_2002_09_23_1350_22/1 10/1/02 11:6a erikg |
|---|
| 265 | * various fixes during testing |
|---|
| 266 | * 1. window width |
|---|
| 267 | * 2. pensize and monospacing simulation |
|---|
| 268 | * 3. anchor logic in ccgfx |
|---|
| 269 | * |
|---|
| 270 | * SanJose_MSTV_Devel/11 9/20/02 3:42p erikg |
|---|
| 271 | * Major Changes: 1. reworked Engine API 2. removed need for include |
|---|
| 272 | * memory.h, changed memset to dcc_memset 3. fixed cbWritePtr error |
|---|
| 273 | * handling 4. cleanup of bcmDccPriv.h 5. cleanup of ccgfxInit and |
|---|
| 274 | * ccgfxFini 6. added support for reset cmd in bcmDccCoding.c 7. added |
|---|
| 275 | * more error codes in bcmDcc.h Merge from |
|---|
| 276 | * SanJose_MSTV_Devel_erikg_SarnoffDebug_2002_09_10_1035_19 18-Sep- |
|---|
| 277 | * 02.10:26:19 \SetTop\applications\vbi\public_inc\bcmDcc.h totally |
|---|
| 278 | * reworked Engine Interface --- 18-Sep-02.14:44:46 |
|---|
| 279 | * \SetTop\applications\vbi\public_inc\bcmDcc.h various fixes for build |
|---|
| 280 | * issues when adding new engine api --- 13-Sep-02.09:03:16 |
|---|
| 281 | * \SetTop\applications\vbi\Common\bcmDccPriv.h added g_DumpStreamFlags - |
|---|
| 282 | * -- 18-Sep-02.14:44:52 \SetTop\applications\vbi\Common\bcmDccPriv.h |
|---|
| 283 | * ccgfxFini calls srpInit --- 13-Sep-02.09:02:04 |
|---|
| 284 | * \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c scoot gfx --- |
|---|
| 285 | * 16-Sep-02.16:41:11 |
|---|
| 286 | * \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c merged out -- |
|---|
| 287 | * - 19-Sep-02.15:08:35 |
|---|
| 288 | * \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c cleaned up |
|---|
| 289 | * bcmDccPriv.h --- 20-Sep-02.15:36:05 |
|---|
| 290 | * \SetTop\applications\vbi\DTVCCLib\CCGfx\7030\bcmDccGfx.c prep for |
|---|
| 291 | * release --- 17-Sep-02.15:13:40 |
|---|
| 292 | * \SetTop\applications\vbi\Common\bcmDccEngine.h reworked engine in |
|---|
| 293 | * progress --- 18-Sep-02.10:26:16 |
|---|
| 294 | * \SetTop\applications\vbi\Common\bcmDccEngine.h totally reworked Engine |
|---|
| 295 | * --- 18-Sep-02.10:26:13 \SetTop\applications\vbi\Common\bcmDccEngine.c |
|---|
| 296 | * totally reworked Engine Interface --- 18-Sep-02.14:45:08 |
|---|
| 297 | * \SetTop\applications\vbi\Common\bcmDccEngine.c various fixes for build |
|---|
| 298 | * issues when adding new engine api --- 19-Sep-02.15:08:39 |
|---|
| 299 | * \SetTop\applications\vbi\Common\bcmDccEngine.c cleaned up bcmDccPriv.h |
|---|
| 300 | * --- 19-Sep-02.15:33:11 \SetTop\applications\vbi\Common\bcmDccEngine.c |
|---|
| 301 | * took out #ifdef'ed out code --- 10-Sep-02.14:08:44 |
|---|
| 302 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDcc608Transcoder.c added |
|---|
| 303 | * g_DumpStreamFlags --- 13-Sep-02.09:02:43 |
|---|
| 304 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDcc608Transcoder.c test |
|---|
| 305 | * for 15 --- 18-Sep-02.14:45:12 |
|---|
| 306 | * \SetTop\applications\vbi\DTVCCLib\source\bcmDcc608Transcoder.c various |
|---|
| 307 | * |
|---|
| 308 | * SanJose_MSTV_Devel/SanJose_MSTV_Devel_erikg_SarnoffDebug_2002_09_10_1035_19/4 9/19/02 3:8p erikg |
|---|
| 309 | * cleaned up bcmDccPriv.h |
|---|
| 310 | * |
|---|
| 311 | * SanJose_MSTV_Devel/SanJose_MSTV_Devel_erikg_SarnoffDebug_2002_09_10_1035_19/3 9/19/02 2:32p erikg |
|---|
| 312 | * cleaned up and removed support for windows/wince |
|---|
| 313 | * |
|---|
| 314 | * SanJose_MSTV_Devel/SanJose_MSTV_Devel_erikg_SarnoffDebug_2002_09_10_1035_19/2 9/18/02 2:44p erikg |
|---|
| 315 | * various fixes for build issues when adding new engine api |
|---|
| 316 | * |
|---|
| 317 | * |
|---|
| 318 | ***************************************************************************/ |
|---|
| 319 | |
|---|
| 320 | |
|---|
| 321 | #ifndef BCMDCCPRIV_H |
|---|
| 322 | #define BCMDCCPRIV_H |
|---|
| 323 | |
|---|
| 324 | #ifdef __cplusplus |
|---|
| 325 | extern "C" { |
|---|
| 326 | #endif |
|---|
| 327 | |
|---|
| 328 | |
|---|
| 329 | #include "projinc.h" |
|---|
| 330 | |
|---|
| 331 | |
|---|
| 332 | #define dcc_memset memset |
|---|
| 333 | |
|---|
| 334 | |
|---|
| 335 | |
|---|
| 336 | #define FLASH_BY_RERENDER 0 |
|---|
| 337 | #define FLASH_BY_2SURFACES 0 |
|---|
| 338 | |
|---|
| 339 | |
|---|
| 340 | #define CREATE_ONLY_VISIBLE_WINDOWS 0 |
|---|
| 341 | |
|---|
| 342 | #if 1 |
|---|
| 343 | #if 1 |
|---|
| 344 | #define DccPrintf(x) ((void)0) |
|---|
| 345 | #define DccPrintfEx(x) ((void)0) |
|---|
| 346 | #else |
|---|
| 347 | #define DccPrintf(x) BAPP_EIA708_CHECK() |
|---|
| 348 | #define DccPrintfEx(x) BAPP_EIA708_CHECK() |
|---|
| 349 | |
|---|
| 350 | #endif |
|---|
| 351 | |
|---|
| 352 | #else |
|---|
| 353 | #define DccPrintf(x) printf x |
|---|
| 354 | #define DccPrintfEx(x) printf x |
|---|
| 355 | #endif |
|---|
| 356 | |
|---|
| 357 | #define dsfUSERDATA 1 |
|---|
| 358 | #define dsfTRANSPORT 2 |
|---|
| 359 | #define dsf608TRANSCODER 4 |
|---|
| 360 | #define dsfCODING 8 |
|---|
| 361 | |
|---|
| 362 | |
|---|
| 363 | |
|---|
| 364 | |
|---|
| 365 | #ifndef NULL |
|---|
| 366 | #define NULL (0) |
|---|
| 367 | #endif |
|---|
| 368 | |
|---|
| 369 | #ifndef min |
|---|
| 370 | #define min(a,b) (((a)<(b)) ? (a) : (b)) |
|---|
| 371 | #endif |
|---|
| 372 | |
|---|
| 373 | #ifndef max |
|---|
| 374 | #define max(a,b) (((a)>(b)) ? (a) : (b)) |
|---|
| 375 | #endif |
|---|
| 376 | |
|---|
| 377 | |
|---|
| 378 | #ifndef DCCPRINTF_HERE |
|---|
| 379 | extern int g_DumpStreamFlags ; |
|---|
| 380 | extern void DccPrintfFunctionEx(int cond, const char *FmtStr, ...); |
|---|
| 381 | extern int SPACE_PRE ; |
|---|
| 382 | extern int SPACE_POST ; |
|---|
| 383 | extern int xSafeTitleOffset ; |
|---|
| 384 | extern int ySafeTitleOffset ; |
|---|
| 385 | extern int cxCell ; |
|---|
| 386 | extern int cyCell ; |
|---|
| 387 | extern int cx3242 ; |
|---|
| 388 | extern int cy15 ; |
|---|
| 389 | extern int cxGrid160210 ; |
|---|
| 390 | extern int cyGrid75 ; |
|---|
| 391 | #else |
|---|
| 392 | int g_DumpStreamFlags = 0 ; |
|---|
| 393 | |
|---|
| 394 | int SPACE_PRE = 12 ; |
|---|
| 395 | int SPACE_POST = 12 ; |
|---|
| 396 | int xSafeTitleOffset = 40 ; |
|---|
| 397 | int ySafeTitleOffset = 30 ; |
|---|
| 398 | int cxCell = 15 ; |
|---|
| 399 | int cyCell = 25 ; |
|---|
| 400 | int cx3242 = 32 ; |
|---|
| 401 | int cy15 = 15 ; |
|---|
| 402 | int cxGrid160210 = 160 ; |
|---|
| 403 | int cyGrid75 = 75 ; |
|---|
| 404 | |
|---|
| 405 | // #include "bcmdevice.h" |
|---|
| 406 | extern void DccPrintfFunctionEx(int cond, const char *FmtStr, ...); |
|---|
| 407 | |
|---|
| 408 | #endif |
|---|
| 409 | |
|---|
| 410 | |
|---|
| 411 | |
|---|
| 412 | |
|---|
| 413 | |
|---|
| 414 | |
|---|
| 415 | |
|---|
| 416 | |
|---|
| 417 | #ifdef __cplusplus |
|---|
| 418 | } |
|---|
| 419 | #endif |
|---|
| 420 | |
|---|
| 421 | #endif /* BCMDCCPRIV_H */ |
|---|
| 422 | |
|---|
| 423 | |
|---|