Libav
Public Types | Data Fields
AnsiContext Struct Reference

Public Types

enum  { STATE_NORMAL = 0, STATE_ESCAPE, STATE_CODE, STATE_MUSIC_PREAMBLE }
 

Data Fields

AVFrameframe
 
int x
 x cursor position (pixels) More...
 
int y
 y cursor position (pixels) More...
 
int sx
 saved x cursor position (pixels) More...
 
int sy
 saved y cursor position (pixels) More...
 
const uint8_tfont
 font More...
 
int font_height
 font height More...
 
int attributes
 attribute flags More...
 
int fg
 foreground color More...
 
int bg
 background color More...
 
enum AnsiContext:: { ... }  state
 
int args [MAX_NB_ARGS]
 
int nb_args
 number of arguments (may exceed MAX_NB_ARGS) More...
 

Detailed Description

Definition at line 52 of file ansi.c.

Member Enumeration Documentation

§ anonymous enum

anonymous enum
Enumerator
STATE_NORMAL 
STATE_ESCAPE 
STATE_CODE 
STATE_MUSIC_PREAMBLE 

Definition at line 65 of file ansi.c.

Field Documentation

§ frame

AVFrame* AnsiContext::frame

§ x

int AnsiContext::x

x cursor position (pixels)

Definition at line 54 of file ansi.c.

Referenced by decode_frame(), draw_char(), erase_screen(), and execute_code().

§ y

int AnsiContext::y

y cursor position (pixels)

Definition at line 55 of file ansi.c.

Referenced by draw_char(), erase_line(), erase_screen(), execute_code(), and hscroll().

§ sx

int AnsiContext::sx

saved x cursor position (pixels)

Definition at line 56 of file ansi.c.

Referenced by execute_code().

§ sy

int AnsiContext::sy

saved y cursor position (pixels)

Definition at line 57 of file ansi.c.

Referenced by execute_code().

§ font

const uint8_t* AnsiContext::font

font

Definition at line 58 of file ansi.c.

Referenced by decode_init(), draw_char(), and execute_code().

§ font_height

int AnsiContext::font_height

font height

Definition at line 59 of file ansi.c.

Referenced by decode_init(), draw_char(), erase_line(), execute_code(), and hscroll().

§ attributes

int AnsiContext::attributes

attribute flags

Definition at line 60 of file ansi.c.

Referenced by draw_char(), and execute_code().

§ fg

int AnsiContext::fg

foreground color

Definition at line 61 of file ansi.c.

Referenced by decode_init(), draw_char(), and execute_code().

§ bg

int AnsiContext::bg

background color

Definition at line 62 of file ansi.c.

Referenced by decode_init(), draw_char(), and execute_code().

§ state

enum { ... } AnsiContext::state

Referenced by decode_frame().

§ args

int AnsiContext::args[MAX_NB_ARGS]

Definition at line 72 of file ansi.c.

Referenced by decode_frame(), and execute_code().

§ nb_args

int AnsiContext::nb_args

number of arguments (may exceed MAX_NB_ARGS)

Definition at line 73 of file ansi.c.

Referenced by decode_frame(), and execute_code().


The documentation for this struct was generated from the following file: