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

Classes

struct  S_COMMANDS_C1
 
struct  e708Pen_color
 
struct  e708Pen_attribs
 
struct  e708Window_attribs
 
struct  e708Window
 
struct  tvscreen
 
struct  cc708_service_decoder
 
class  CDecoderCC708
 

Macros

#define MAX_708_PACKET_LENGTH   128
 
#define CCX_DECODERS_708_MAX_SERVICES   8
 
#define I708_MAX_ROWS   15
 
#define I708_MAX_COLUMNS   42
 
#define I708_SCREENGRID_ROWS   75
 
#define I708_SCREENGRID_COLUMNS   210
 
#define I708_MAX_WINDOWS   8
 

Typedefs

typedef struct e708Pen_color e708Pen_color
 
typedef struct e708Pen_attribs e708Pen_attribs
 
typedef struct e708Window_attribs e708Window_attribs
 
typedef struct e708Window e708Window
 
typedef struct tvscreen tvscreen
 
typedef struct cc708_service_decoder cc708_service_decoder
 

Enumerations

enum  COMMANDS_C0_CODES {
  NUL =0 , ETX =3 , BS =8 , FF =0xC ,
  CR =0xD , HCR =0xE , EXT1 =0x10 , P16 =0x18
}
 
enum  COMMANDS_C1_CODES {
  CW0 =0x80 , CW1 =0x81 , CW2 =0x82 , CW3 =0x83 ,
  CW4 =0x84 , CW5 =0x85 , CW6 =0x86 , CW7 =0x87 ,
  CLW =0x88 , DSW =0x89 , HDW =0x8A , TGW =0x8B ,
  DLW =0x8C , DLY =0x8D , DLC =0x8E , RST =0x8F ,
  SPA =0x90 , SPC =0x91 , SPL =0x92 , RSV93 =0x93 ,
  RSV94 =0x94 , RSV95 =0x95 , RSV96 =0x96 , SWA =0x97 ,
  DF0 =0x98 , DF1 =0x99 , DF2 =0x9A , DF3 =0x9B ,
  DF4 =0x9C , DF5 =0x9D , DF6 =0x9E , DF7 =0x9F
}
 
enum  eWindowsAttribJustify { left =0 , right =1 , center =2 , full =3 }
 
enum  eWindowsAttribPrintDirection { pd_left_to_right =0 , pd_right_to_left =1 , pd_top_to_bottom =2 , pd_bottom_to_top =3 }
 
enum  eWindowsAttribScrollDirection { sd_left_to_right =0 , sd_right_to_left =1 , sd_top_to_bottom =2 , sd_bottom_to_top =3 }
 
enum  eWindowsAttribScrollDisplayEffect { snap =0 , fade =1 , wipe =2 }
 
enum  eWindowsAttribEffectDirection { left_to_right =0 , right_to_left =1 , top_to_bottom =2 , bottom_to_top =3 }
 
enum  eWindowsAttribFillOpacity { solid =0 , flash =1 , translucent =2 , transparent =3 }
 
enum  eWindowsAttribBorderType {
  none =0 , raised =1 , depressed =2 , uniform =3 ,
  shadow_left =4 , shadow_right =5
}
 
enum  ePenAttribSize { pensize_small =0 , pensize_standard =1 , pensize_large =2 }
 
enum  ePenAttribFontStyle {
  fontstyle_default_or_undefined =0 , monospaced_with_serifs =1 , proportionally_spaced_with_serifs =2 , monospaced_without_serifs =3 ,
  proportionally_spaced_without_serifs =4 , casual_font_type =5 , cursive_font_type =6 , small_capitals =7
}
 
enum  ePanAttribTextTag {
  texttag_dialog =0 , texttag_source_or_speaker_id =1 , texttag_electronic_voice =2 , texttag_foreign_language =3 ,
  texttag_voiceover =4 , texttag_audible_translation =5 , texttag_subtitle_translation =6 , texttag_voice_quality_description =7 ,
  texttag_song_lyrics =8 , texttag_sound_effect_description =9 , texttag_musical_score_description =10 , texttag_expletive =11 ,
  texttag_undefined_12 =12 , texttag_undefined_13 =13 , texttag_undefined_14 =14 , texttag_not_to_be_displayed =15
}
 
enum  ePanAttribOffset { offset_subscript =0 , offset_normal =1 , offset_superscript =2 }
 
enum  ePanAttribEdgeType {
  edgetype_none =0 , edgetype_raised =1 , edgetype_depressed =2 , edgetype_uniform =3 ,
  edgetype_left_drop_shadow =4 , edgetype_right_drop_shadow =5
}
 
enum  eAnchorPoints {
  anchorpoint_top_left = 0 , anchorpoint_top_center = 1 , anchorpoint_top_right =2 , anchorpoint_middle_left = 3 ,
  anchorpoint_middle_center = 4 , anchorpoint_middle_right = 5 , anchorpoint_bottom_left = 6 , anchorpoint_bottom_center = 7 ,
  anchorpoint_bottom_right = 8
}
 

Functions

void process_character (cc708_service_decoder *decoder, unsigned char internal_char)
 

Macro Definition Documentation

◆ CCX_DECODERS_708_MAX_SERVICES

#define CCX_DECODERS_708_MAX_SERVICES   8

◆ I708_MAX_COLUMNS

#define I708_MAX_COLUMNS   42

◆ I708_MAX_ROWS

#define I708_MAX_ROWS   15

◆ I708_MAX_WINDOWS

#define I708_MAX_WINDOWS   8

◆ I708_SCREENGRID_COLUMNS

#define I708_SCREENGRID_COLUMNS   210

◆ I708_SCREENGRID_ROWS

#define I708_SCREENGRID_ROWS   75

◆ MAX_708_PACKET_LENGTH

#define MAX_708_PACKET_LENGTH   128

Typedef Documentation

◆ cc708_service_decoder

typedef struct cc708_service_decoder cc708_service_decoder

◆ e708Pen_attribs

typedef struct e708Pen_attribs e708Pen_attribs

◆ e708Pen_color

typedef struct e708Pen_color e708Pen_color

◆ e708Window

typedef struct e708Window e708Window

◆ e708Window_attribs

typedef struct e708Window_attribs e708Window_attribs

◆ tvscreen

typedef struct tvscreen tvscreen

Enumeration Type Documentation

◆ COMMANDS_C0_CODES

Enumerator
NUL 
ETX 
BS 
FF 
CR 
HCR 
EXT1 
P16 

◆ COMMANDS_C1_CODES

Enumerator
CW0 
CW1 
CW2 
CW3 
CW4 
CW5 
CW6 
CW7 
CLW 
DSW 
HDW 
TGW 
DLW 
DLY 
DLC 
RST 
SPA 
SPC 
SPL 
RSV93 
RSV94 
RSV95 
RSV96 
SWA 
DF0 
DF1 
DF2 
DF3 
DF4 
DF5 
DF6 
DF7 

◆ eAnchorPoints

Enumerator
anchorpoint_top_left 
anchorpoint_top_center 
anchorpoint_top_right 
anchorpoint_middle_left 
anchorpoint_middle_center 
anchorpoint_middle_right 
anchorpoint_bottom_left 
anchorpoint_bottom_center 
anchorpoint_bottom_right 

◆ ePanAttribEdgeType

Enumerator
edgetype_none 
edgetype_raised 
edgetype_depressed 
edgetype_uniform 
edgetype_left_drop_shadow 
edgetype_right_drop_shadow 

◆ ePanAttribOffset

Enumerator
offset_subscript 
offset_normal 
offset_superscript 

◆ ePanAttribTextTag

Enumerator
texttag_dialog 
texttag_source_or_speaker_id 
texttag_electronic_voice 
texttag_foreign_language 
texttag_voiceover 
texttag_audible_translation 
texttag_subtitle_translation 
texttag_voice_quality_description 
texttag_song_lyrics 
texttag_sound_effect_description 
texttag_musical_score_description 
texttag_expletive 
texttag_undefined_12 
texttag_undefined_13 
texttag_undefined_14 
texttag_not_to_be_displayed 

◆ ePenAttribFontStyle

Enumerator
fontstyle_default_or_undefined 
monospaced_with_serifs 
proportionally_spaced_with_serifs 
monospaced_without_serifs 
proportionally_spaced_without_serifs 
casual_font_type 
cursive_font_type 
small_capitals 

◆ ePenAttribSize

Enumerator
pensize_small 
pensize_standard 
pensize_large 

◆ eWindowsAttribBorderType

Enumerator
none 
raised 
depressed 
uniform 
shadow_left 
shadow_right 

◆ eWindowsAttribEffectDirection

Enumerator
left_to_right 
right_to_left 
top_to_bottom 
bottom_to_top 

◆ eWindowsAttribFillOpacity

Enumerator
solid 
flash 
translucent 
transparent 

◆ eWindowsAttribJustify

Enumerator
left 
right 
center 
full 

◆ eWindowsAttribPrintDirection

Enumerator
pd_left_to_right 
pd_right_to_left 
pd_top_to_bottom 
pd_bottom_to_top 

◆ eWindowsAttribScrollDirection

Enumerator
sd_left_to_right 
sd_right_to_left 
sd_top_to_bottom 
sd_bottom_to_top 

◆ eWindowsAttribScrollDisplayEffect

Enumerator
snap 
fade 
wipe 

Function Documentation

◆ process_character()

void process_character ( cc708_service_decoder * decoder,
unsigned char internal_char )