FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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)
 
int y
 y cursor position (pixels)
 
int sx
 saved x cursor position (pixels)
 
int sy
 saved y cursor position (pixels)
 
const uint8_tfont
 font
 
int font_height
 font height
 
int attributes
 attribute flags
 
int fg
 foreground color
 
int bg
 background color
 
int first_frame
 
enum AnsiContext:: { ... }  state
 
int args [MAX_NB_ARGS]
 
int nb_args
 number of arguments (may exceed MAX_NB_ARGS)
 

Detailed Description

Definition at line 53 of file ansi.c.

Member Enumeration Documentation

anonymous enum
Enumerator:
STATE_NORMAL 
STATE_ESCAPE 
STATE_CODE 
STATE_MUSIC_PREAMBLE 

Definition at line 67 of file ansi.c.

Field Documentation

AVFrame* AnsiContext::frame
int AnsiContext::x

x cursor position (pixels)

Definition at line 55 of file ansi.c.

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

int AnsiContext::y

y cursor position (pixels)

Definition at line 56 of file ansi.c.

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

int AnsiContext::sx

saved x cursor position (pixels)

Definition at line 57 of file ansi.c.

Referenced by execute_code().

int AnsiContext::sy

saved y cursor position (pixels)

Definition at line 58 of file ansi.c.

Referenced by execute_code().

const uint8_t* AnsiContext::font

font

Definition at line 59 of file ansi.c.

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

int AnsiContext::font_height

font height

Definition at line 60 of file ansi.c.

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

int AnsiContext::attributes

attribute flags

Definition at line 61 of file ansi.c.

Referenced by draw_char(), and execute_code().

int AnsiContext::fg

foreground color

Definition at line 62 of file ansi.c.

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

int AnsiContext::bg

background color

Definition at line 63 of file ansi.c.

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

int AnsiContext::first_frame

Definition at line 64 of file ansi.c.

Referenced by decode_frame().

enum { ... } AnsiContext::state

Referenced by decode_frame().

int AnsiContext::args[MAX_NB_ARGS]

Definition at line 74 of file ansi.c.

Referenced by decode_frame(), and execute_code().

int AnsiContext::nb_args

number of arguments (may exceed MAX_NB_ARGS)

Definition at line 75 of file ansi.c.

Referenced by decode_frame(), and execute_code().


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