grab_v4l.C File Reference

#include "config.h"
#include "gxsm/plugin.h"
#include "gxsm/xsmhard.h"

Go to the source code of this file.


class  gxsm_v4l


#define THIS_HWI_PLUGIN_NAME   "video4linux"


static void grab_v4l_init (void)
static void grab_v4l_about (void)
static void grab_v4l_configure (void)
static void grab_v4l_cleanup (void)
gint gxsm_v4l_open_video4l ()
gint gxsm_v4l_close_video4l ()
gint gxsm_v4l_maxwidth ()
gint gxsm_v4l_maxheight ()
gint gxsm_v4l_win_width ()
gint gxsm_v4l_win_height ()
gint gxsm_v4l_grab_video4l ()
gint gxsm_v4l_get_pixel (int *r, int *g, int *b)
GxsmPluginget_gxsm_plugin_info (void)
XSM_Hardwareget_gxsm_hwi_hardware_class (void *data)


GxsmPlugin grab_v4l_pi
static const char * about_text
gxsm_v4lv4l_hardware = NULL

Define Documentation

#define THIS_HWI_PLUGIN_NAME   "video4linux"

Definition at line 70 of file grab_v4l.C.

Function Documentation

XSM_Hardware* get_gxsm_hwi_hardware_class void *  data  ) 

Definition at line 288 of file grab_v4l.C.

References v4l_hardware.

GxsmPlugin* get_gxsm_plugin_info void   ) 

Definition at line 281 of file grab_v4l.C.

References GxsmPlugin::description, grab_v4l_pi, N_, and VERSION.

static void grab_v4l_about void   )  [static]

Definition at line 300 of file grab_v4l.C.

References about_text, GxsmPlugin::authors, grab_v4l_pi, N_, GxsmPlugin::name, and VERSION.

static void grab_v4l_cleanup void   )  [static]

Definition at line 320 of file grab_v4l.C.

References DBG_L2, PI_DEBUG, and v4l_hardware.

static void grab_v4l_configure void   )  [static]

Definition at line 313 of file grab_v4l.C.

References GxsmPlugin::app, grab_v4l_pi, and GnomeAppService::message().

static void grab_v4l_init void   )  [static]

Definition at line 293 of file grab_v4l.C.

References DBG_L2, PI_DEBUG, and v4l_hardware.

gint gxsm_v4l_close_video4l  ) 

Definition at line 186 of file grab_v4l_c.c.

References video_dev_fd.

Referenced by gxsm_v4l::~gxsm_v4l().

gint gxsm_v4l_get_pixel int *  r,
int *  g,
int *  b

Definition at line 384 of file grab_v4l_c.c.

References pic, READ_VIDEO_PIXEL, and src.

gint gxsm_v4l_grab_video4l  ) 

Definition at line 198 of file grab_v4l_c.c.

References bigbuf, mapbuf, pic, vidbuf, video_dev_fd, and win.

Referenced by gxsm_v4l::StartScan2D().

gint gxsm_v4l_maxheight  )  [inline]

Definition at line 193 of file grab_v4l_c.c.

References cap.

Referenced by gxsm_v4l::GetMaxLines().

gint gxsm_v4l_maxwidth  )  [inline]

Definition at line 192 of file grab_v4l_c.c.

References cap.

Referenced by gxsm_v4l::GetMaxPointsPerLine().

gint gxsm_v4l_open_video4l  ) 

Definition at line 82 of file grab_v4l_c.c.

References buffer, cap, and video_dev_fd.

Referenced by gxsm_v4l::gxsm_v4l().

gint gxsm_v4l_win_height  )  [inline]

Definition at line 196 of file grab_v4l_c.c.

References win.

Referenced by gxsm_v4l::ScanLineM().

gint gxsm_v4l_win_width  )  [inline]

Definition at line 195 of file grab_v4l_c.c.

References win.

Referenced by gxsm_v4l::ScanLineM().

Variable Documentation

const char* about_text [static]

Initial value:

 N_("GXSM grab_v4l Plugin\n\n"
                                   "Video for Linux frame grabber.")

Definition at line 139 of file grab_v4l.C.

GxsmPlugin grab_v4l_pi

Definition at line 88 of file grab_v4l.C.

Referenced by get_gxsm_plugin_info(), grab_v4l_about(), and grab_v4l_configure().

gxsm_v4l* v4l_hardware = NULL

Definition at line 191 of file grab_v4l.C.

Referenced by get_gxsm_hwi_hardware_class(), grab_v4l_cleanup(), and grab_v4l_init().

Generated on Sat Apr 1 09:04:44 2006 for GXSM by  doxygen 1.4.6