Go to the source code of this file.
Data Structures | |
struct | drag_info |
support for drag actions More... | |
struct | fbuf_t |
struct | grab_desc |
Defines | |
#define | CONSOLE_VIDEO_CMDS "console {device}" |
#define | MAX_VIDEO_SOURCES 9 |
#define | SRC_WIN_H 60 |
#define | SRC_WIN_W 80 |
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 | |
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 | |
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 | |
int | reset_board (struct board *b) |
reset the board to blank | |
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 |
Definition at line 47 of file console_video.h.
#define SRC_WIN_W 80 |
Definition at line 46 of file console_video.h.
enum drag_window |
Definition at line 112 of file console_video.h.
00112 { /* which window are we dragging */ 00113 DRAG_NONE, 00114 DRAG_LOCAL, /* local video */ 00115 DRAG_REMOTE, /* remote video */ 00116 DRAG_DIALED, /* dialed number */ 00117 DRAG_INPUT, /* input window */ 00118 DRAG_MESSAGE, /* message window */ 00119 DRAG_PIP, /* picture in picture */ 00120 };
enum kb_output |
Definition at line 105 of file console_video.h.
00105 { 00106 KO_NONE, 00107 KO_INPUT, /* the local input window */ 00108 KO_DIALED, /* the 'dialed number' window */ 00109 KO_MESSAGE, /* the 'message' window */ 00110 };
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().
00136 { 00137 ast_log(LOG_NOTICE, "voice only, console video support not present\n"); 00138 }
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
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 | ) | [read] |
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().
00310 { 00311 struct chan_oss_pvt *o = c ? c->tech_pvt : find_desc(oss_active); 00312 return o ? o->env : NULL; 00313 }
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
int reset_board | ( | struct board * | b | ) |
reset the board to blank
struct grab_desc* console_grabbers[] |
Definition at line 149 of file console_video.c.
Referenced by load_module(), and oss_new().