Go to the source code of this file.
Data Structures | |
struct | drag_info |
support for drag actions More... | |
struct | fbuf_t |
struct | grab_desc |
Macros | |
#define | CONSOLE_VIDEO_CMDS "console {device}" |
#define | MAX_VIDEO_SOURCES 9 |
#define | SRC_WIN_H 60 /* height of video thumbnails */ |
#define | SRC_WIN_W 80 /* width of video thumbnails */ |
Enumerations | |
enum | drag_window { DRAG_NONE, DRAG_LOCAL, DRAG_REMOTE, DRAG_DIALED, DRAG_INPUT, DRAG_MESSAGE, DRAG_PIP } |
enum | kb_output { KO_NONE, KO_INPUT, KO_DIALED, KO_MESSAGE } |
Functions | |
int | console_video_cli (struct video_desc *env, const char *var, int fd) |
int | console_video_config (struct video_desc **penv, const char *var, const char *val) |
void | console_video_start (struct video_desc *env, struct ast_channel *owner) |
void | console_video_uninit (struct video_desc *env) |
int | console_write_video (struct ast_channel *chan, struct ast_frame *f) |
void | delete_board (struct board *b) |
deallocates memory space for a board More... | |
void | fbuf_free (struct fbuf_t *) |
int | get_gui_startup (struct video_desc *env) |
struct video_desc * | get_video_desc (struct ast_channel *c) |
return the pointer to the video descriptor More... | |
void | move_message_board (struct board *b, int dy) |
int | print_message (struct board *b, const char *s) |
const char * | read_message (const struct board *b) |
return the whole text from a board More... | |
int | reset_board (struct board *b) |
reset the board to blank More... | |
Variables | |
struct grab_desc * | console_grabbers [] |
int | console_video_formats |
#define CONSOLE_VIDEO_CMDS "console {device}" |
Definition at line 27 of file console_video.h.
Referenced by console_cmd().
#define MAX_VIDEO_SOURCES 9 |
Definition at line 51 of file console_video.h.
#define SRC_WIN_H 60 /* height of video thumbnails */ |
Definition at line 47 of file console_video.h.
Referenced by handle_mousedown(), and sdl_setup().
#define SRC_WIN_W 80 /* width of video thumbnails */ |
Definition at line 46 of file console_video.h.
Referenced by handle_mousedown(), and sdl_setup().
enum drag_window |
Enumerator | |
---|---|
DRAG_NONE | |
DRAG_LOCAL | |
DRAG_REMOTE | |
DRAG_DIALED | |
DRAG_INPUT | |
DRAG_MESSAGE | |
DRAG_PIP |
Definition at line 112 of file console_video.h.
enum kb_output |
Enumerator | |
---|---|
KO_NONE | |
KO_INPUT | |
KO_DIALED | |
KO_MESSAGE |
Definition at line 105 of file console_video.h.
int console_video_cli | ( | struct video_desc * | env, |
const char * | var, | ||
int | fd | ||
) |
Definition at line 125 of file console_video.c.
Referenced by console_cmd().
int console_video_config | ( | struct video_desc ** | penv, |
const char * | var, | ||
const char * | val | ||
) |
Definition at line 130 of file console_video.c.
Referenced by store_config_core().
void console_video_start | ( | struct video_desc * | env, |
struct ast_channel * | owner | ||
) |
Definition at line 135 of file console_video.c.
References ast_log(), and LOG_NOTICE.
Referenced by oss_new(), and store_config().
void console_video_uninit | ( | struct video_desc * | env | ) |
int console_write_video | ( | struct ast_channel * | chan, |
struct ast_frame * | f | ||
) |
Definition at line 120 of file console_video.c.
void delete_board | ( | struct board * | b | ) |
deallocates memory space for a board
Definition at line 324 of file console_board.c.
References ast_free, board::blank, and board::text.
Referenced by cleanup_sdl().
void fbuf_free | ( | struct fbuf_t * | ) |
Referenced by dec_uninit().
int get_gui_startup | ( | struct video_desc * | env | ) |
Definition at line 144 of file console_video.c.
Referenced by store_config().
struct video_desc* get_video_desc | ( | struct ast_channel * | c | ) |
return the pointer to the video descriptor
Definition at line 309 of file chan_oss.c.
References chan_oss_pvt::env, find_desc(), and ast_channel::tech_pvt.
Referenced by oss_new().
void move_message_board | ( | struct board * | b, |
int | dy | ||
) |
Definition at line 202 of file console_board.c.
References board::cur_line, board::p_h, render_board(), and board::v_h.
Referenced by eventhandler().
int print_message | ( | struct board * | b, |
const char * | s | ||
) |
Definition at line 231 of file console_board.c.
References ast_strlen_zero(), board::cur_col, render_board(), board::text, board::v_h, and board::v_w.
Referenced by handle_keyboard_input(), handle_mousedown(), keypad_digit(), keypad_pick_up(), and update_device_info().
const char* read_message | ( | const struct board * | b | ) |
return the whole text from a board
Definition at line 214 of file console_board.c.
References board::text.
Referenced by keypad_pick_up().
int reset_board | ( | struct board * | b | ) |
reset the board to blank
Definition at line 219 of file console_board.c.
References board::cur_col, board::cur_line, render_board(), board::text, board::v_h, and board::v_w.
Referenced by keypad_pick_up(), and update_device_info().
struct grab_desc* console_grabbers[] |
Referenced by turn_on_off().
int console_video_formats |
Definition at line 149 of file console_video.c.
Referenced by load_module(), and oss_new().