RDK Documentation (Open Sourced RDK Components)
SubtecConnector.h
Go to the documentation of this file.
1 /*
2  * If not stated otherwise in this file or this component's license file the
3  * following copyright and licenses apply:
4  *
5  * Copyright 2018 RDK Management
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18 */
19 
20 /**
21  * @file SubtecConnector.h
22  *
23  * @brief Interface header for libsubtec_connector
24  *
25  */
26 
27 #ifndef __SUBTEC_CONNECTOR_H__
28 #define __SUBTEC_CONNECTOR_H__
29 
30 
31 /* Closed Captioning Color definition */
32 
33 #define GSW_CC_EMBEDDED_COLOR (0xff000000)
34 #define GSW_CC_COLOR(r,g,b) ( (((r) & 0xFF) << 16) | (((g) & 0xFF) << 8) | ((b) & 0xFF) )
35 
36 #define GSW_MAX_CC_COLOR_NAME_LENGTH 32
37 
38 /**
39  * @struct gsw_CcColor
40  * @brief Structure to hold color information for CC
41  */
42 
43 typedef struct gsw_CcColor {
44  int rgb;
45  char name[GSW_MAX_CC_COLOR_NAME_LENGTH];
46 } gsw_CcColor;
47 // Maximum number of CC color capability values
48 #define GSW_CC_COLOR_MAX 32
49 
50 
51 /**
52  * @enum gsw_CcType
53  * @brief Closed Captioning type
54  */
55 typedef enum gsw_CcType {
56  GSW_CC_TYPE_ANALOG,
57  GSW_CC_TYPE_DIGITAL,
58  GSW_CC_TYPE_MAX
59 } gsw_CcType;
60 
61 
62 /**
63  * @enum gsw_CcOpacity
64  * @brief Closed Captioning Opacity
65  */
66 typedef enum gsw_CcOpacity {
67  GSW_CC_OPACITY_EMBEDDED = -1,
68  GSW_CC_OPACITY_SOLID,
69  GSW_CC_OPACITY_FLASHING,
70  GSW_CC_OPACITY_TRANSLUCENT,
71  GSW_CC_OPACITY_TRANSPARENT,
72  GSW_CC_OPACITY_MAX
74 
75 /**
76  * @enum gsw_CcFontSize
77  * @brief Closed caption Fontsize
78  */
79 typedef enum gsw_CcFontSize {
80  GSW_CC_FONT_SIZE_EMBEDDED = -1,
81  GSW_CC_FONT_SIZE_SMALL,
82  GSW_CC_FONT_SIZE_STANDARD,
83  GSW_CC_FONT_SIZE_LARGE,
84  GSW_CC_FONT_SIZE_EXTRALARGE,
85  GSW_CC_FONT_SIZE_MAX
87 
88 
89 static const char *CCSupportedColors_strings[] = {
90  "BLACK", /**< CCColor_BLACK, */
91  "WHITE", /**< CCColor_WHITE, */
92  "RED", /**< CCColor_RED, */
93  "GREEN", /**< CCColor_GREEN, */
94  "BLUE", /**< CCColor_BLUE, */
95  "YELLOW", /**< CCColor_YELLOW, */
96  "MAGENTA", /**< CCColor_MAGENTA, */
97  "CYAN", /**< CCColor_CYAN, */
98  "AUTO", /**< CCColor_AUTO, */
99 };
100 
101 static unsigned long CCSupportedColors[] = {
102  0x00000000, /**< CCColor_BLACK, */
103  0x00ffffff, /**< CCColor_WHITE, */
104  0x00FF0000, /**< CCColor_RED, */
105  0x0000FF00, /**< CCColor_GREEN, */
106  0x000000FF, /**< CCColor_BLUE, */
107  0x00FFFF00, /**< CCColor_YELLOW, */
108  0x00FF00FF, /**< CCColor_MAGENTA, */
109  0x0000FFFF, /**< CCColor_CYAN, */
110  0xFF000000, /**< CCColor_AUTO, */
111 };
112 
113 
114 /* Closed Captioning Font Style */
115 #define GSW_CC_MAX_FONT_NAME_LENGTH 128
116 //#define GSW_CC_FONT_STYLE_EMBEDDED "EMBEDDED"
117 typedef char gsw_CcFontStyle[GSW_CC_MAX_FONT_NAME_LENGTH];
118 
119 #define GSW_CC_FONT_STYLE_EMBEDDED "embedded" //"EMBEDDED"
120 #define GSW_CC_FONT_STYLE_DEFAULT "Default" //"DEFAULT"
121 #define GSW_CC_FONT_STYLE_MONOSPACED_SERIF "MonospacedSerif" //"MONOSPACED_SERIF"
122 #define GSW_CC_FONT_STYLE_PROPORTIONAL_SERIF "ProportionalSerif" //"PROPORTIONAL_SERIF"
123 #define GSW_CC_FONT_STYLE_MONOSPACED_SANSSERIF "MonospacedSansSerif" //"MONOSPACED_SANSSERIF"
124 #define GSW_CC_FONT_STYLE_PROPORTIONAL_SANSSERIF "ProportionalSansSerif" //"PROPORTIONAL_SANSSERIF"
125 #define GSW_CC_FONT_STYLE_CASUAL "Casual" //"CASUAL"
126 #define GSW_CC_FONT_STYLE_CURSIVE "Cursive" //"CURSIVE"
127 #define GSW_CC_FONT_STYLE_SMALL_CAPITALS "SmallCapital" //"SMALL_CAPITALS"
128 
129 
130 /**
131  * @enum gsw_CcTextStyle
132  * @brief Closed captioning text styles.
133  */
134 typedef enum gsw_CcTextStyle {
135  GSW_CC_TEXT_STYLE_EMBEDDED_TEXT = -1,
136  GSW_CC_TEXT_STYLE_FALSE,
137  GSW_CC_TEXT_STYLE_TRUE,
138  GSW_CC_TEXT_STYLE_MAX
140 
141 
142 /**
143  * @enum gsw_CcBorderType
144  * @brief Window Border type
145  */
146 typedef enum gsw_CcBorderType {
147  GSW_CC_BORDER_TYPE_EMBEDDED = -1,
148  GSW_CC_BORDER_TYPE_NONE,
149  GSW_CC_BORDER_TYPE_RAISED,
150  GSW_CC_BORDER_TYPE_DEPRESSED,
151  GSW_CC_BORDER_TYPE_UNIFORM,
152  GSW_CC_BORDER_TYPE_SHADOW_LEFT,
153  GSW_CC_BORDER_TYPE_SHADOW_RIGHT,
154  GSW_CC_BORDER_TYPE_MAX
156 
157 /**
158  * @enum gsw_CcEdgeType
159  * @brief Font Edge type
160  */
161 typedef enum gsw_CcEdgeType {
162  GSW_CC_EDGE_TYPE_EMBEDDED = -1,
163  GSW_CC_EDGE_TYPE_NONE,
164  GSW_CC_EDGE_TYPE_RAISED,
165  GSW_CC_EDGE_TYPE_DEPRESSED,
166  GSW_CC_EDGE_TYPE_UNIFORM,
167  GSW_CC_EDGE_TYPE_SHADOW_LEFT,
168  GSW_CC_EDGE_TYPE_SHADOW_RIGHT,
169  GSW_CC_EDGE_TYPE_MAX
171 
172 /**
173  * @enum gsw_CcAttributes
174  * @brief Closed Captioning Attributes
175  */
176 typedef struct gsw_CcAttributes {
177  gsw_CcColor charBgColor; /**< character background color */
178  gsw_CcColor charFgColor; /**< character foreground color */
179  gsw_CcColor winColor; /**< window color */
180  gsw_CcOpacity charBgOpacity; /**< background opacity */
181  gsw_CcOpacity charFgOpacity; /**< foreground opacity */
182  gsw_CcOpacity winOpacity; /**< window opacity */
183  gsw_CcFontSize fontSize; /**< font size */
184  gsw_CcFontStyle fontStyle; /**< font style */
185  gsw_CcTextStyle fontItalic; /**< italicized font */
186  gsw_CcTextStyle fontUnderline; /**< underlined font */
187  gsw_CcBorderType borderType; /**< window border type */
188  gsw_CcColor borderColor; /**< window border color */
189  gsw_CcEdgeType edgeType; /**< font edge type */
190  gsw_CcColor edgeColor; /**< font edge color */
191 
193 
194 /**
195  * @enum gsw_CcAttribType
196  * @brief type of attributes
197  */
198 typedef enum gsw_CcAttribType {
199  GSW_CC_ATTRIB_FONT_COLOR = 0x0001,
200  GSW_CC_ATTRIB_BACKGROUND_COLOR = 0x0002,
201  GSW_CC_ATTRIB_FONT_OPACITY = 0x0004,
202  GSW_CC_ATTRIB_BACKGROUND_OPACITY = 0x0008,
203  GSW_CC_ATTRIB_FONT_STYLE = 0x0010,
204  GSW_CC_ATTRIB_FONT_SIZE = 0x0020,
205  GSW_CC_ATTRIB_FONT_ITALIC = 0x0040,
206  GSW_CC_ATTRIB_FONT_UNDERLINE = 0x0080,
207  GSW_CC_ATTRIB_BORDER_TYPE = 0x0100,
208  GSW_CC_ATTRIB_BORDER_COLOR = 0x0200,
209  GSW_CC_ATTRIB_WIN_COLOR = 0x0400,
210  GSW_CC_ATTRIB_WIN_OPACITY = 0x0800,
211  GSW_CC_ATTRIB_EDGE_TYPE = 0x1000,
212  GSW_CC_ATTRIB_EDGE_COLOR = 0x2000,
213  GSW_CC_ATTRIB_MAX
215 
216 /**
217  * @enum _CC_VL_OS_API_RESULT
218  * @brief CC API result
219  */
220 typedef enum _CC_VL_OS_API_RESULT {
221  CC_VL_OS_API_RESULT_SUCCESS = 0x0,
222  CC_VL_OS_API_RESULT_FAILED = 0x1000000,
223  CC_VL_OS_API_RESULT_CHECK_ERRNO = 0x1000001,
224  CC_VL_OS_API_RESULT_UNSPECIFIED_ERROR = 0x1000002,
225  CC_VL_OS_API_RESULT_ACCESS_DENIED = 0x1000003,
226  CC_VL_OS_API_RESULT_NOT_IMPLEMENTED = 0x1000004,
227  CC_VL_OS_API_RESULT_NOT_EXISTING = 0x1000005,
228  CC_VL_OS_API_RESULT_NULL_PARAM = 0x1000006,
229  CC_VL_OS_API_RESULT_INVALID_PARAM = 0x1000007,
230  CC_VL_OS_API_RESULT_OUT_OF_RANGE = 0x1000008,
231  CC_VL_OS_API_RESULT_OPEN_FAILED = 0x1000009,
232  CC_VL_OS_API_RESULT_READ_FAILED = 0x1000010,
233  CC_VL_OS_API_RESULT_WRITE_FAILED = 0x1000011,
234  CC_VL_OS_API_RESULT_MALLOC_FAILED = 0x1000012,
235  CC_VL_OS_API_RESULT_TIMEOUT = 0x1000013,
236  CC_VL_OS_API_RESULT_INFINITE_LOOP = 0x1000014,
237  CC_VL_OS_API_RESULT_BUFFER_OVERFLOW = 0x1000015,
238 
239 } CC_VL_OS_API_RESULT;
240 
241 /**
242  * @enum CCAnalogChannel_t
243  * @brief Defines closed captioning analog channels. Each of these channels defines
244  * a different service. For example, CC1 is the "Primary Synchronous
245  * Caption Service", and CC2 is the "Secondary Synchronous Caption Service".
246  */
247 
248 typedef enum {
249 
250  CCChannel_INCLUSIVE_MINIMUM = 1000, /**< Not set */
251 
252  CCChannel_CC1, /**< CC1 */
253 
254  CCChannel_CC2, /**< CC2 */
255 
256  CCChannel_CC3, /**< CC3 */
257 
258  CCChannel_CC4, /**< CC4 */
259 
260  CCChannel_TEXT1, /**< Text 1 */
261 
262  CCChannel_TEXT2, /**< Text 2 */
263 
264  CCChannel_TEXT3, /**< Text 3 */
265 
266  CCChannel_TEXT4, /**< Text 4 */
267 
268  CCChannel_NONE, /**< Used to Set Digital channel to none. (Used to Disable Analog CC ) */
269 
270  CCChannel_XDS, /**< XDS */
271 
272  CCChannel_EXCLUSIVE_MAXIMUM /**< Exclusive bounds check */
274 
275 typedef enum gsw_CcAnalogServices {
276  GSW_CC_ANALOG_SERVICE_NONE = 0,
277  GSW_CC_ANALOG_SERVICE_CC1 = 1000, /**< Primary Caption service*/
278  GSW_CC_ANALOG_SERVICE_CC2 = 1001, /**< Secondary Caption service */
279  GSW_CC_ANALOG_SERVICE_CC3 = 1002, /**< Caption 3 */
280  GSW_CC_ANALOG_SERVICE_CC4 = 1003, /**< Caption 4 */
281  GSW_CC_ANALOG_SERVICE_T1 = 1004, /**< Text 1 */
282  GSW_CC_ANALOG_SERVICE_T2 = 1005, /**< Text 2 */
283  GSW_CC_ANALOG_SERVICE_T3 = 1006, /**< Text 3 */
284  GSW_CC_ANALOG_SERVICE_T4 = 1007 /**< Text 4 */
286 
287 /**
288  * @enum CCDigitalChannel_t
289  * @brief Defines closed captioning digital channels. Each of these channels defines
290  * a different service.
291  */
292 typedef enum {
293  CCDigitalChannel_INCLUSIVE_MINIMUM = 0, /* Not set */
294  CCDigitalChannel_DS1, /**< DS1 */
295  CCDigitalChannel_DS2, /**< DS2 */
296  CCDigitalChannel_DS3, /**< DS3 */
297  CCDigitalChannel_DS4, /**< DS4 */
298  CCDigitalChannel_DS5, /**< DS5 */
299  CCDigitalChannel_DS6, /**< DS6 */
300  CCDigitalChannel_DS7, /**< DS7 */
301  CCDigitalChannel_DS8, /**< DS8 */
302  CCDigitalChannel_DS9, /**< DS9 */
303  CCDigitalChannel_DS10, /**< DS10 */
304  CCDigitalChannel_DS11, /**< DS11 */
305  CCDigitalChannel_DS12, /**< DS12 */
306  CCDigitalChannel_DS13, /**< DS13 */
307  CCDigitalChannel_DS14, /**< DS14 */
308  CCDigitalChannel_DS15, /**< DS15 */
309  CCDigitalChannel_DS16, /**< DS16 */
310  CCDigitalChannel_DS17, /**< DS17 */
311  CCDigitalChannel_DS18, /**< DS18 */
312  CCDigitalChannel_DS19, /**< DS19 */
313  CCDigitalChannel_DS20, /**< DS20 */
314  CCDigitalChannel_DS21, /**< DS21 */
315  CCDigitalChannel_DS22, /**< DS22 */
316  CCDigitalChannel_DS23, /**< DS23 */
317  CCDigitalChannel_DS24, /**< DS24 */
318  CCDigitalChannel_DS25, /**< DS25 */
319  CCDigitalChannel_DS26, /**< DS26 */
320  CCDigitalChannel_DS27, /**< DS27 */
321  CCDigitalChannel_DS28, /**< DS28 */
322  CCDigitalChannel_DS29, /**< DS29 */
323  CCDigitalChannel_DS30, /**< DS30 */
324  CCDigitalChannel_DS31, /**< DS31 */
325  CCDigitalChannel_DS32, /**< DS32 */
326  CCDigitalChannel_DS33, /**< DS33 */
327  CCDigitalChannel_DS34, /**< DS34 */
328  CCDigitalChannel_DS35, /**< DS35 */
329  CCDigitalChannel_DS36, /**< DS36 */
330  CCDigitalChannel_DS37, /**< DS37 */
331  CCDigitalChannel_DS38, /**< DS38 */
332  CCDigitalChannel_DS39, /**< DS39 */
333  CCDigitalChannel_DS40, /**< DS40 */
334  CCDigitalChannel_DS41, /**< DS41 */
335  CCDigitalChannel_DS42, /**< DS42 */
336  CCDigitalChannel_DS43, /**< DS43 */
337  CCDigitalChannel_DS44, /**< DS44 */
338  CCDigitalChannel_DS45, /**< DS45 */
339  CCDigitalChannel_DS46, /**< DS46 */
340  CCDigitalChannel_DS47, /**< DS47 */
341  CCDigitalChannel_DS48, /**< DS48 */
342  CCDigitalChannel_DS49, /**< DS49 */
343  CCDigitalChannel_DS50, /**< DS50 */
344  CCDigitalChannel_DS51, /**< DS51 */
345  CCDigitalChannel_DS52, /**< DS52 */
346  CCDigitalChannel_DS53, /**< DS53 */
347  CCDigitalChannel_DS54, /**< DS54 */
348  CCDigitalChannel_DS55, /**< DS55 */
349  CCDigitalChannel_DS56, /**< DS56 */
350  CCDigitalChannel_DS57, /**< DS57 */
351  CCDigitalChannel_DS58, /**< DS58 */
352  CCDigitalChannel_DS59, /**< DS59 */
353  CCDigitalChannel_DS60, /**< DS60 */
354  CCDigitalChannel_DS61, /**< DS61 */
355  CCDigitalChannel_DS62, /**< DS62 */
356  CCDigitalChannel_DS63, /**< DS63 */
357  CCDigitalChannel_NONE, /**< Used to Set Digital channel to none. (Used to Disable Digital CC.) */
358  CCDigitalChannel_EXCLUSIVE_MAXIMUM /**< Exclusive bounds check */
360 
361 /**
362  * @enum CCStatus_t
363  * @brief Closed Caption Status values as referred to by Applications
364  */
365 typedef enum {
366  CCStatus_OFF = 0, /**< Closed Caption Disabled */
367 
368  CCStatus_ON, /**< Closed Caption Enabled */
369 
370  CCStatus_ON_MUTE, /**< Closed Caption ON MUTE */
371 
372  CCStatus_EXCLUSIVE_MAXIMUM
373 } CCStatus_t;
374 
375 typedef int mrcc_Error;
376 namespace subtecConnector
377 {
378  void resetChannel();
379  void close();
380 
381  mrcc_Error initHal();
382  mrcc_Error initPacketSender();
383 
384 namespace ccMgrAPI
385 {
386  mrcc_Error ccShow(void);
387  mrcc_Error ccHide(void);
388 
389  mrcc_Error ccSetDigitalChannel(unsigned int channel);
390 
391  mrcc_Error ccSetAnalogChannel(unsigned int channel);
392 
393  mrcc_Error ccSetAttributes(gsw_CcAttributes * attrib, short type, gsw_CcType ccType);
394  mrcc_Error ccGetAttributes(gsw_CcAttributes * attrib, gsw_CcType ccType);
395 
396  mrcc_Error ccGetCapability(gsw_CcAttribType attribType, gsw_CcType ccType, void **value, unsigned int *size);
397 
398  // mrcc_Error ccSetCCState(CCStatus_t ccStatus, int /*not used*/);
399  // mrcc_Error ccGetCCState(CCStatus_t * pCcStatus);
400 
401 } // ccMgrAPI
402 } // subtecConnector
403 
404 #endif //__SUBTEC_CONNECTOR_H__
CCDigitalChannel_DS4
@ CCDigitalChannel_DS4
Definition: SubtecConnector.h:297
GSW_CC_ANALOG_SERVICE_T2
@ GSW_CC_ANALOG_SERVICE_T2
Definition: SubtecConnector.h:282
CCChannel_TEXT4
@ CCChannel_TEXT4
Definition: SubtecConnector.h:266
gsw_CcAttribType
gsw_CcAttribType
type of attributes
Definition: SubtecConnector.h:198
gsw_CcAttributes::charFgColor
gsw_CcColor charFgColor
Definition: SubtecConnector.h:178
CCDigitalChannel_DS43
@ CCDigitalChannel_DS43
Definition: SubtecConnector.h:336
GSW_CC_ANALOG_SERVICE_CC3
@ GSW_CC_ANALOG_SERVICE_CC3
Definition: SubtecConnector.h:279
gsw_CcAttributes::charBgColor
gsw_CcColor charBgColor
Definition: SubtecConnector.h:177
CCDigitalChannel_DS54
@ CCDigitalChannel_DS54
Definition: SubtecConnector.h:347
CCDigitalChannel_DS20
@ CCDigitalChannel_DS20
Definition: SubtecConnector.h:313
CCDigitalChannel_DS29
@ CCDigitalChannel_DS29
Definition: SubtecConnector.h:322
CCDigitalChannel_DS5
@ CCDigitalChannel_DS5
Definition: SubtecConnector.h:298
CCDigitalChannel_DS45
@ CCDigitalChannel_DS45
Definition: SubtecConnector.h:338
CCDigitalChannel_DS9
@ CCDigitalChannel_DS9
Definition: SubtecConnector.h:302
CCDigitalChannel_DS38
@ CCDigitalChannel_DS38
Definition: SubtecConnector.h:331
gsw_CcTextStyle
gsw_CcTextStyle
Closed captioning text styles.
Definition: SubtecConnector.h:134
CCDigitalChannel_DS27
@ CCDigitalChannel_DS27
Definition: SubtecConnector.h:320
gsw_CcAnalogServices
gsw_CcAnalogServices
Definition: SubtecConnector.h:275
CCDigitalChannel_DS14
@ CCDigitalChannel_DS14
Definition: SubtecConnector.h:307
CCChannel_XDS
@ CCChannel_XDS
Definition: SubtecConnector.h:270
CCDigitalChannel_DS44
@ CCDigitalChannel_DS44
Definition: SubtecConnector.h:337
GSW_CC_ANALOG_SERVICE_CC4
@ GSW_CC_ANALOG_SERVICE_CC4
Definition: SubtecConnector.h:280
CCChannel_TEXT2
@ CCChannel_TEXT2
Definition: SubtecConnector.h:262
gsw_CcAttributes::fontSize
gsw_CcFontSize fontSize
Definition: SubtecConnector.h:183
CCChannel_NONE
@ CCChannel_NONE
Definition: SubtecConnector.h:268
CCStatus_ON_MUTE
@ CCStatus_ON_MUTE
Definition: SubtecConnector.h:370
CCDigitalChannel_DS8
@ CCDigitalChannel_DS8
Definition: SubtecConnector.h:301
CCDigitalChannel_DS40
@ CCDigitalChannel_DS40
Definition: SubtecConnector.h:333
CCDigitalChannel_DS49
@ CCDigitalChannel_DS49
Definition: SubtecConnector.h:342
CCDigitalChannel_DS37
@ CCDigitalChannel_DS37
Definition: SubtecConnector.h:330
CCDigitalChannel_DS48
@ CCDigitalChannel_DS48
Definition: SubtecConnector.h:341
CCDigitalChannel_DS12
@ CCDigitalChannel_DS12
Definition: SubtecConnector.h:305
_CC_VL_OS_API_RESULT
_CC_VL_OS_API_RESULT
CC API result.
Definition: SubtecConnector.h:220
CCDigitalChannel_DS3
@ CCDigitalChannel_DS3
Definition: SubtecConnector.h:296
CCDigitalChannel_DS13
@ CCDigitalChannel_DS13
Definition: SubtecConnector.h:306
CCChannel_TEXT1
@ CCChannel_TEXT1
Definition: SubtecConnector.h:260
CCChannel_CC1
@ CCChannel_CC1
Definition: SubtecConnector.h:252
GSW_CC_ANALOG_SERVICE_CC1
@ GSW_CC_ANALOG_SERVICE_CC1
Definition: SubtecConnector.h:277
GSW_CC_ANALOG_SERVICE_T3
@ GSW_CC_ANALOG_SERVICE_T3
Definition: SubtecConnector.h:283
CCDigitalChannel_DS63
@ CCDigitalChannel_DS63
Definition: SubtecConnector.h:356
gsw_CcEdgeType
gsw_CcEdgeType
Font Edge type.
Definition: SubtecConnector.h:161
gsw_CcAttributes::winOpacity
gsw_CcOpacity winOpacity
Definition: SubtecConnector.h:182
GSW_CC_ANALOG_SERVICE_T1
@ GSW_CC_ANALOG_SERVICE_T1
Definition: SubtecConnector.h:281
gsw_CcAttributes
Definition: SubtecConnector.h:176
CCDigitalChannel_DS60
@ CCDigitalChannel_DS60
Definition: SubtecConnector.h:353
CCDigitalChannel_DS11
@ CCDigitalChannel_DS11
Definition: SubtecConnector.h:304
gsw_CcAttributes::charBgOpacity
gsw_CcOpacity charBgOpacity
Definition: SubtecConnector.h:180
CCStatus_OFF
@ CCStatus_OFF
Definition: SubtecConnector.h:366
CCStatus_t
CCStatus_t
Closed Caption Status values as referred to by Applications.
Definition: SubtecConnector.h:365
gsw_CcFontSize
gsw_CcFontSize
Closed caption Fontsize.
Definition: SubtecConnector.h:79
CCDigitalChannel_DS28
@ CCDigitalChannel_DS28
Definition: SubtecConnector.h:321
CCDigitalChannel_DS30
@ CCDigitalChannel_DS30
Definition: SubtecConnector.h:323
CCDigitalChannel_DS52
@ CCDigitalChannel_DS52
Definition: SubtecConnector.h:345
gsw_CcAttributes::fontUnderline
gsw_CcTextStyle fontUnderline
Definition: SubtecConnector.h:186
CCChannel_CC4
@ CCChannel_CC4
Definition: SubtecConnector.h:258
CCDigitalChannel_DS16
@ CCDigitalChannel_DS16
Definition: SubtecConnector.h:309
gsw_CcAttributes::fontItalic
gsw_CcTextStyle fontItalic
Definition: SubtecConnector.h:185
CCDigitalChannel_DS19
@ CCDigitalChannel_DS19
Definition: SubtecConnector.h:312
CCDigitalChannel_DS1
@ CCDigitalChannel_DS1
Definition: SubtecConnector.h:294
CCDigitalChannel_DS7
@ CCDigitalChannel_DS7
Definition: SubtecConnector.h:300
CCDigitalChannel_DS31
@ CCDigitalChannel_DS31
Definition: SubtecConnector.h:324
CCDigitalChannel_DS15
@ CCDigitalChannel_DS15
Definition: SubtecConnector.h:308
gsw_CcAttributes::winColor
gsw_CcColor winColor
Definition: SubtecConnector.h:179
CCChannel_TEXT3
@ CCChannel_TEXT3
Definition: SubtecConnector.h:264
gsw_CcOpacity
gsw_CcOpacity
Closed Captioning Opacity.
Definition: SubtecConnector.h:66
CCDigitalChannel_DS35
@ CCDigitalChannel_DS35
Definition: SubtecConnector.h:328
CCDigitalChannel_DS33
@ CCDigitalChannel_DS33
Definition: SubtecConnector.h:326
gsw_CcAttributes::edgeType
gsw_CcEdgeType edgeType
Definition: SubtecConnector.h:189
CCDigitalChannel_DS55
@ CCDigitalChannel_DS55
Definition: SubtecConnector.h:348
CCDigitalChannel_DS53
@ CCDigitalChannel_DS53
Definition: SubtecConnector.h:346
CCChannel_EXCLUSIVE_MAXIMUM
@ CCChannel_EXCLUSIVE_MAXIMUM
Definition: SubtecConnector.h:272
gsw_CcAttributes::edgeColor
gsw_CcColor edgeColor
Definition: SubtecConnector.h:190
gsw_CcAttributes::borderType
gsw_CcBorderType borderType
Definition: SubtecConnector.h:187
gsw_CcBorderType
gsw_CcBorderType
Window Border type.
Definition: SubtecConnector.h:146
CCDigitalChannel_DS10
@ CCDigitalChannel_DS10
Definition: SubtecConnector.h:303
CCDigitalChannel_DS36
@ CCDigitalChannel_DS36
Definition: SubtecConnector.h:329
CCDigitalChannel_DS23
@ CCDigitalChannel_DS23
Definition: SubtecConnector.h:316
CCStatus_ON
@ CCStatus_ON
Definition: SubtecConnector.h:368
CCDigitalChannel_DS18
@ CCDigitalChannel_DS18
Definition: SubtecConnector.h:311
CCDigitalChannel_DS51
@ CCDigitalChannel_DS51
Definition: SubtecConnector.h:344
CCDigitalChannel_DS25
@ CCDigitalChannel_DS25
Definition: SubtecConnector.h:318
CCDigitalChannel_DS39
@ CCDigitalChannel_DS39
Definition: SubtecConnector.h:332
CCDigitalChannel_DS61
@ CCDigitalChannel_DS61
Definition: SubtecConnector.h:354
gsw_CcAttributes::charFgOpacity
gsw_CcOpacity charFgOpacity
Definition: SubtecConnector.h:181
CCDigitalChannel_NONE
@ CCDigitalChannel_NONE
Definition: SubtecConnector.h:357
CCDigitalChannel_DS32
@ CCDigitalChannel_DS32
Definition: SubtecConnector.h:325
gsw_CcType
gsw_CcType
Closed Captioning type.
Definition: SubtecConnector.h:55
CCAnalogChannel_t
CCAnalogChannel_t
Defines closed captioning analog channels. Each of these channels defines a different service....
Definition: SubtecConnector.h:248
CCDigitalChannel_DS22
@ CCDigitalChannel_DS22
Definition: SubtecConnector.h:315
CCDigitalChannel_DS21
@ CCDigitalChannel_DS21
Definition: SubtecConnector.h:314
CCChannel_CC3
@ CCChannel_CC3
Definition: SubtecConnector.h:256
CCDigitalChannel_DS47
@ CCDigitalChannel_DS47
Definition: SubtecConnector.h:340
CCDigitalChannel_DS58
@ CCDigitalChannel_DS58
Definition: SubtecConnector.h:351
CCDigitalChannel_DS24
@ CCDigitalChannel_DS24
Definition: SubtecConnector.h:317
GSW_CC_ANALOG_SERVICE_CC2
@ GSW_CC_ANALOG_SERVICE_CC2
Definition: SubtecConnector.h:278
CCDigitalChannel_DS41
@ CCDigitalChannel_DS41
Definition: SubtecConnector.h:334
CCChannel_CC2
@ CCChannel_CC2
Definition: SubtecConnector.h:254
CCDigitalChannel_DS26
@ CCDigitalChannel_DS26
Definition: SubtecConnector.h:319
CCDigitalChannel_DS59
@ CCDigitalChannel_DS59
Definition: SubtecConnector.h:352
CCDigitalChannel_DS50
@ CCDigitalChannel_DS50
Definition: SubtecConnector.h:343
GSW_CC_ANALOG_SERVICE_T4
@ GSW_CC_ANALOG_SERVICE_T4
Definition: SubtecConnector.h:284
CCChannel_INCLUSIVE_MINIMUM
@ CCChannel_INCLUSIVE_MINIMUM
Definition: SubtecConnector.h:250
CCDigitalChannel_DS46
@ CCDigitalChannel_DS46
Definition: SubtecConnector.h:339
CCDigitalChannel_t
CCDigitalChannel_t
Defines closed captioning digital channels. Each of these channels defines a different service.
Definition: SubtecConnector.h:292
CCDigitalChannel_DS6
@ CCDigitalChannel_DS6
Definition: SubtecConnector.h:299
CCDigitalChannel_DS57
@ CCDigitalChannel_DS57
Definition: SubtecConnector.h:350
CCDigitalChannel_DS56
@ CCDigitalChannel_DS56
Definition: SubtecConnector.h:349
CCDigitalChannel_DS34
@ CCDigitalChannel_DS34
Definition: SubtecConnector.h:327
gsw_CcAttributes::borderColor
gsw_CcColor borderColor
Definition: SubtecConnector.h:188
CCDigitalChannel_DS2
@ CCDigitalChannel_DS2
Definition: SubtecConnector.h:295
CCDigitalChannel_DS62
@ CCDigitalChannel_DS62
Definition: SubtecConnector.h:355
CCDigitalChannel_DS17
@ CCDigitalChannel_DS17
Definition: SubtecConnector.h:310
gsw_CcAttributes::fontStyle
gsw_CcFontStyle fontStyle
Definition: SubtecConnector.h:184
CCDigitalChannel_DS42
@ CCDigitalChannel_DS42
Definition: SubtecConnector.h:335
CCDigitalChannel_EXCLUSIVE_MAXIMUM
@ CCDigitalChannel_EXCLUSIVE_MAXIMUM
Definition: SubtecConnector.h:358
gsw_CcColor
Structure to hold color information for CC.
Definition: SubtecConnector.h:43