Asterisk - The Open Source Telephony Project GIT-master-f36a736
Enumerations | Functions
console_gui.c File Reference
#include "asterisk.h"
#include "console_video.h"
#include "asterisk/lock.h"
#include "asterisk/frame.h"
#include "asterisk/utils.h"
#include <math.h>
Include dependency graph for console_gui.c:

Go to the source code of this file.

Enumerations

enum  {
  WIN_LOCAL , WIN_REMOTE , WIN_KEYPAD , WIN_SRC1 ,
  WIN_SRC2 , WIN_SRC3 , WIN_SRC4 , WIN_SRC5 ,
  WIN_SRC6 , WIN_SRC7 , WIN_SRC8 , WIN_SRC9 ,
  WIN_MAX
}
 

Functions

static struct gui_info * cleanup_sdl (struct gui_info *g, int n)
 
static void eventhandler (struct video_desc *env, const char *caption)
 
static int keypad_cfg_read (struct gui_info *gui, const char *val)
 
static void sdl_setup (struct video_desc *env)
 
static void show_frame (struct video_desc *env, int out)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
WIN_LOCAL 
WIN_REMOTE 
WIN_KEYPAD 
WIN_SRC1 
WIN_SRC2 
WIN_SRC3 
WIN_SRC4 
WIN_SRC5 
WIN_SRC6 
WIN_SRC7 
WIN_SRC8 
WIN_SRC9 
WIN_MAX 

Definition at line 93 of file console_gui.c.

@ WIN_SRC1
Definition: console_gui.c:93
@ WIN_KEYPAD
Definition: console_gui.c:93
@ WIN_SRC6
Definition: console_gui.c:95
@ WIN_SRC7
Definition: console_gui.c:95
@ WIN_SRC8
Definition: console_gui.c:95
@ WIN_REMOTE
Definition: console_gui.c:93
@ WIN_SRC3
Definition: console_gui.c:94
@ WIN_SRC9
Definition: console_gui.c:95
@ WIN_LOCAL
Definition: console_gui.c:93
@ WIN_SRC5
Definition: console_gui.c:94
@ WIN_SRC2
Definition: console_gui.c:94
@ WIN_MAX
Definition: console_gui.c:95
@ WIN_SRC4
Definition: console_gui.c:94

Function Documentation

◆ cleanup_sdl()

static struct gui_info * cleanup_sdl ( struct gui_info *  g,
int  n 
)
static

Definition at line 100 of file console_gui.c.

100{ return NULL; }
#define NULL
Definition: resample.c:96

References NULL.

◆ eventhandler()

static void eventhandler ( struct video_desc *  env,
const char *  caption 
)
static

Definition at line 101 of file console_gui.c.

101{}

◆ keypad_cfg_read()

static int keypad_cfg_read ( struct gui_info *  gui,
const char *  val 
)
static

Definition at line 102 of file console_gui.c.

102{ return 0; }

◆ sdl_setup()

static void sdl_setup ( struct video_desc *  env)
static

Definition at line 99 of file console_gui.c.

99{}

◆ show_frame()

static void show_frame ( struct video_desc *  env,
int  out 
)
static

Definition at line 98 of file console_gui.c.

98{}

Referenced by hook_event_cb().