Commit 93fac23b authored by Anshul Maheshwari's avatar Anshul Maheshwari Committed by Michael Niedermayer

avcodec/ccaption_dec: Adding color and fonts for future use in screen

Signed-off-by: 's avatarAnshul Maheshwari <er.anshul.maheshwari@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 961f2e3a
...@@ -137,6 +137,8 @@ static const uint8_t parity_table[256] = { 0, 1, 1, 0, 1, 0, 0, 1, ...@@ -137,6 +137,8 @@ static const uint8_t parity_table[256] = { 0, 1, 1, 0, 1, 0, 0, 1,
struct Screen { struct Screen {
/* +1 is used to compensate null character of string */ /* +1 is used to compensate null character of string */
uint8_t characters[SCREEN_ROWS][SCREEN_COLUMNS+1]; uint8_t characters[SCREEN_ROWS][SCREEN_COLUMNS+1];
uint8_t colors[SCREEN_ROWS][SCREEN_COLUMNS+1];
uint8_t fonts[SCREEN_ROWS][SCREEN_COLUMNS+1];
/* /*
* Bitmask of used rows; if a bit is not set, the * Bitmask of used rows; if a bit is not set, the
* corresponding row is not used. * corresponding row is not used.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment