Asterisk - The Open Source Telephony Project  18.5.0
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.

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.

References NULL.

Referenced by keypad_cfg_read().

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

◆ eventhandler()

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

Definition at line 101 of file console_gui.c.

Referenced by keypad_cfg_read().

101 {}

◆ keypad_cfg_read()

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

◆ sdl_setup()

static void sdl_setup ( struct video_desc *  env)
static

Definition at line 99 of file console_gui.c.

Referenced by keypad_cfg_read().

99 {}

◆ show_frame()

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

Definition at line 98 of file console_gui.c.

Referenced by hook_event_cb(), and keypad_cfg_read().

98 {}