Base class for ClosedCaption integration layer.
More...
#include "priv_aamp.h"
#include "AampJsonObject.h"
#include "AampUtils.h"
#include <closedcaptions/AampCCManager.h>
Go to the source code of this file.
|
#define | CHAR_CODE_1 49 |
|
#define | CHAR_CODE_6 54 |
|
Base class for ClosedCaption integration layer.
Definition in file AampCCManager.cpp.
◆ getColor()
Get color option from input string.
- Parameters
-
[in] | attributeIndex | - CC attribute |
[in] | ccType | - CC type |
[in] | input | - input color style |
[out] | colorOut | - color option for the input value |
- Returns
- int - 0 for success, -1 for failure
Definition at line 95 of file AampCCManager.cpp.
◆ getTextStyle()
static int getTextStyle |
( |
std::string |
input, |
|
|
gsw_CcTextStyle * |
textStyleOut |
|
) |
| |
|
static |
Get text style value from input string.
- Parameters
-
[in] | input | - input text style value |
[out] | fontSizeOut | - text style option for the input value |
- Returns
- int - 0 for success, -1 for failure
Definition at line 149 of file AampCCManager.cpp.
◆ getEdgeType()
static int getEdgeType |
( |
std::string |
input, |
|
|
gsw_CcEdgeType * |
edgeTypeOut |
|
) |
| |
|
static |
Get edge type value from input string.
- Parameters
-
[in] | input | - input edge type value |
[out] | fontSizeOut | - edge type option for the input value |
- Returns
- int - 0 for success, -1 for failure
Definition at line 187 of file AampCCManager.cpp.
◆ getFontStyle()
static int getFontStyle |
( |
std::string |
input, |
|
|
gsw_CcFontStyle * |
fontStyleOut |
|
) |
| |
|
static |
Get font style value from input string.
- Parameters
-
[in] | input | - input font style value |
[out] | fontSizeOut | - font style option for the input value |
- Returns
- int - 0 for success, -1 for failure
Definition at line 243 of file AampCCManager.cpp.
◆ getFontSize()
static int getFontSize |
( |
std::string |
input, |
|
|
gsw_CcFontSize * |
fontSizeOut |
|
) |
| |
|
static |
Get font size value from input string.
- Parameters
-
[in] | input | - input font size value |
[out] | fontSizeOut | - font size option for the input value |
- Returns
- int - 0 for success, -1 for failure
Definition at line 310 of file AampCCManager.cpp.
◆ getOpacity()
static int getOpacity |
( |
std::string |
input, |
|
|
gsw_CcOpacity * |
opacityOut |
|
) |
| |
|
static |
Get opacity value from input string.
- Parameters
-
[in] | input | - input opacity style |
[out] | opacityOut | - opacity option for the input value |
- Returns
- int - 0 for success, -1 for failure
Definition at line 357 of file AampCCManager.cpp.