Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
cc_decoder.h File Reference
#include <stdint.h>

Classes

struct  cc_attribute_s
 
struct  cc_char_cell_s
 
struct  cc_row_s
 
struct  cc_buffer_s
 
struct  cc_memory_s
 
struct  cc_decoder_s
 

Macros

#define CC_ROWS   15
 
#define CC_COLUMNS   32
 
#define CC_CHANNELS   2
 

Typedefs

typedef struct cc_attribute_s cc_attribute_t
 
typedef struct cc_char_cell_s cc_char_cell_t
 
typedef struct cc_row_s cc_row_t
 
typedef struct cc_buffer_s cc_buffer_t
 
typedef struct cc_memory_s cc_memory_t
 
typedef struct cc_decoder_s cc_decoder_t
 

Enumerations

enum  cc_colors {
  WHITE , GREEN , BLUE , CYAN ,
  RED , YELLOW , MAGENTA , BLACK
}
 
enum  cc_style { CC_NOTSET = 0 , CC_ROLLUP , CC_PAINTON , CC_POPON }
 

Functions

cc_decoder_tcc_decoder_open ()
 
void cc_decoder_close (cc_decoder_t *this_obj)
 
void cc_decoder_init (void)
 
void decode_cc (cc_decoder_t *dec, const uint8_t *buffer, uint32_t buf_len)
 

Macro Definition Documentation

◆ CC_CHANNELS

#define CC_CHANNELS   2

◆ CC_COLUMNS

#define CC_COLUMNS   32

◆ CC_ROWS

#define CC_ROWS   15

Typedef Documentation

◆ cc_attribute_t

◆ cc_buffer_t

typedef struct cc_buffer_s cc_buffer_t

◆ cc_char_cell_t

◆ cc_decoder_t

typedef struct cc_decoder_s cc_decoder_t

◆ cc_memory_t

typedef struct cc_memory_s cc_memory_t

◆ cc_row_t

typedef struct cc_row_s cc_row_t

Enumeration Type Documentation

◆ cc_colors

enum cc_colors
Enumerator
WHITE 
GREEN 
BLUE 
CYAN 
RED 
YELLOW 
MAGENTA 
BLACK 

◆ cc_style

enum cc_style
Enumerator
CC_NOTSET 
CC_ROLLUP 
CC_PAINTON 
CC_POPON 

Function Documentation

◆ cc_decoder_close()

void cc_decoder_close ( cc_decoder_t * this_obj)

◆ cc_decoder_init()

void cc_decoder_init ( void )

◆ cc_decoder_open()

cc_decoder_t * cc_decoder_open ( )

◆ decode_cc()

void decode_cc ( cc_decoder_t * dec,
const uint8_t * buffer,
uint32_t buf_len )