Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
cc_decoder.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "cc_decoder.h"

Enumerations

enum  cc_charset { CCSET_BASIC_AMERICAN = 0 , CCSET_SPECIAL_AMERICAN , CCSET_EXTENDED_SPANISH_FRENCH_MISC , CCSET_EXTENDED_PORTUGUESE_GERMAN_DANISH }
 

Functions

const char * get_char_override (uint8_t charset, uint8_t c)
 
void ccmem_tobuf (cc_decoder_t *dec)
 
void decode_cc (cc_decoder_t *dec, const uint8_t *buffer, uint32_t buf_len)
 
cc_decoder_tcc_decoder_open ()
 
void cc_decoder_close (cc_decoder_t *dec)
 
void cc_decoder_init (void)
 

Enumeration Type Documentation

◆ cc_charset

enum cc_charset
Enumerator
CCSET_BASIC_AMERICAN 
CCSET_SPECIAL_AMERICAN 
CCSET_EXTENDED_SPANISH_FRENCH_MISC 
CCSET_EXTENDED_PORTUGUESE_GERMAN_DANISH 

Function Documentation

◆ cc_decoder_close()

void cc_decoder_close ( cc_decoder_t * dec)

◆ cc_decoder_init()

void cc_decoder_init ( void )

◆ cc_decoder_open()

cc_decoder_t * cc_decoder_open ( )

◆ ccmem_tobuf()

void ccmem_tobuf ( cc_decoder_t * dec)

◆ decode_cc()

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

◆ get_char_override()

const char * get_char_override ( uint8_t charset,
uint8_t c )