Public Member Functions | Static Public Member Functions | Public Attributes
vidl_v4l_params Struct Reference

A parameters struct for v4l1 camera streams. More...

#include <vidl_v4l_params.h>

List of all members.

Public Member Functions

 vidl_v4l_params ()
 construct with default params.
vidl_v4l_paramsresolution (unsigned int ni, unsigned int nj)
 get the current resolution.
vidl_v4l_paramsbrightness (int brghtness)
 brightness.
vidl_v4l_paramshue (int hu)
 hue.
vidl_v4l_paramscolour (int color)
 colour.
vidl_v4l_paramscontrast (int contrst)
 contrast.
vidl_v4l_paramswhiteness (int whitenss)
 whiteness.
vidl_v4l_paramsdepth (int dpth)
 depth.
vidl_v4l_paramspixel_format (vidl_pixel_format pf)
 palette.

Static Public Member Functions

static int vidlpf_to_v4lpf (vidl_pixel_format vid_pf)
 convert from vidl pixel format to v4l pixel format.
static vidl_pixel_format v4lpf_to_vidlpf (int v4l_pf)
 convert from v4l pixel format to vidl pixel format.

Public Attributes

unsigned int ni_
unsigned int nj_
int brightness_
int hue_
int colour_
int contrast_
int whiteness_
int depth_
vidl_pixel_format pixel_format_

Detailed Description

A parameters struct for v4l1 camera streams.

Definition at line 23 of file vidl_v4l_params.h.


Constructor & Destructor Documentation

vidl_v4l_params::vidl_v4l_params ( ) [inline]

construct with default params.

Definition at line 32 of file vidl_v4l_params.h.


Member Function Documentation

vidl_v4l_params& vidl_v4l_params::brightness ( int  brghtness) [inline]

brightness.

Definition at line 44 of file vidl_v4l_params.h.

vidl_v4l_params& vidl_v4l_params::colour ( int  color) [inline]

colour.

Definition at line 56 of file vidl_v4l_params.h.

vidl_v4l_params& vidl_v4l_params::contrast ( int  contrst) [inline]

contrast.

Definition at line 62 of file vidl_v4l_params.h.

vidl_v4l_params& vidl_v4l_params::depth ( int  dpth) [inline]

depth.

Definition at line 74 of file vidl_v4l_params.h.

vidl_v4l_params& vidl_v4l_params::hue ( int  hu) [inline]

hue.

Definition at line 50 of file vidl_v4l_params.h.

vidl_v4l_params& vidl_v4l_params::pixel_format ( vidl_pixel_format  pf) [inline]

palette.

Definition at line 80 of file vidl_v4l_params.h.

vidl_v4l_params& vidl_v4l_params::resolution ( unsigned int  ni,
unsigned int  nj 
) [inline]

get the current resolution.

Definition at line 38 of file vidl_v4l_params.h.

vidl_pixel_format vidl_v4l_params::v4lpf_to_vidlpf ( int  v4l_pf) [static]

convert from v4l pixel format to vidl pixel format.

Definition at line 46 of file vidl_v4l_params.cxx.

int vidl_v4l_params::vidlpf_to_v4lpf ( vidl_pixel_format  vid_pf) [static]

convert from vidl pixel format to v4l pixel format.

Definition at line 16 of file vidl_v4l_params.cxx.

vidl_v4l_params& vidl_v4l_params::whiteness ( int  whitenss) [inline]

whiteness.

Definition at line 68 of file vidl_v4l_params.h.


Member Data Documentation

Definition at line 86 of file vidl_v4l_params.h.

Definition at line 88 of file vidl_v4l_params.h.

Definition at line 89 of file vidl_v4l_params.h.

Definition at line 91 of file vidl_v4l_params.h.

Definition at line 87 of file vidl_v4l_params.h.

unsigned int vidl_v4l_params::ni_

Definition at line 85 of file vidl_v4l_params.h.

unsigned int vidl_v4l_params::nj_

Definition at line 85 of file vidl_v4l_params.h.

Definition at line 92 of file vidl_v4l_params.h.

Definition at line 90 of file vidl_v4l_params.h.


The documentation for this struct was generated from the following files: