Home
FAQ
Player
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

v4lcapture.h File Reference

#include <stdio.h>
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/mman.h>
#include <sys/ioctl.h>
#include <linux/fs.h>
#include <linux/kernel.h>
#include <linux/videodev.h>
#include "v4lframe.h"

Go to the source code of this file.

Classes

struct  FRAMEGRABBER

Defines

#define FG_DEFAULT_DEVICE   "/dev/video0"
#define FG_DEFAULT_WIDTH   640
#define FG_DEFAULT_HEIGHT   480
#define FG_PERCENT(n)   ((n)*65535/100)
#define FG_50PC   FG_PERCENT(50)
#define FG_SOURCE_TV   0
#define FG_SOURCE_COMPOSITE   1
#define FG_SOURCE_SVIDEO   2

Functions

FRAMEGRABBERfg_open (const char *dev)
void fg_close (FRAMEGRABBER *fg)
FRAMEfg_grab (FRAMEGRABBER *fg)
FRAMEfg_grab_frame (FRAMEGRABBER *fg, FRAME *fr)
int fg_set_source (FRAMEGRABBER *fg, int src)
int fg_set_source_norm (FRAMEGRABBER *fg, int norm)
int fg_get_source_count (FRAMEGRABBER *fg)
char * fg_get_source_name (FRAMEGRABBER *fg, int src)
int fg_set_channel (FRAMEGRABBER *fg, float freq)
float fg_get_channel (FRAMEGRABBER *fg)
int fg_set_format (FRAMEGRABBER *fg, int fmt)
int fg_set_capture_window (FRAMEGRABBER *fg, int x, int y, int width, int height)
int fg_set_brightness (FRAMEGRABBER *fg, int br)
int fg_set_contrast (FRAMEGRABBER *fg, int ct)
FRAMEfg_new_compatible_frame (FRAMEGRABBER *fg)
void fg_dump_info (FRAMEGRABBER *fg)


Define Documentation

#define FG_DEFAULT_DEVICE   "/dev/video0"
 

#define FG_DEFAULT_WIDTH   640
 

#define FG_DEFAULT_HEIGHT   480
 

#define FG_PERCENT  )     ((n)*65535/100)
 

#define FG_50PC   FG_PERCENT(50)
 

#define FG_SOURCE_TV   0
 

#define FG_SOURCE_COMPOSITE   1
 

#define FG_SOURCE_SVIDEO   2
 


Function Documentation

FRAMEGRABBER* fg_open const char *  dev  ) 
 

void fg_close FRAMEGRABBER fg  ) 
 

FRAME* fg_grab FRAMEGRABBER fg  ) 
 

FRAME* fg_grab_frame FRAMEGRABBER fg,
FRAME fr
 

int fg_set_source FRAMEGRABBER fg,
int  src
 

int fg_set_source_norm FRAMEGRABBER fg,
int  norm
 

int fg_get_source_count FRAMEGRABBER fg  ) 
 

char* fg_get_source_name FRAMEGRABBER fg,
int  src
 

int fg_set_channel FRAMEGRABBER fg,
float  freq
 

float fg_get_channel FRAMEGRABBER fg  ) 
 

int fg_set_format FRAMEGRABBER fg,
int  fmt
 

int fg_set_capture_window FRAMEGRABBER fg,
int  x,
int  y,
int  width,
int  height
 

int fg_set_brightness FRAMEGRABBER fg,
int  br
 

int fg_set_contrast FRAMEGRABBER fg,
int  ct
 

FRAME* fg_new_compatible_frame FRAMEGRABBER fg  ) 
 

void fg_dump_info FRAMEGRABBER fg  ) 
 


Generated on Tue May 3 14:15:45 2005 for Player by doxygen 1.3.6