A parameters struct for v4l1 camera streams. More...
#include <vidl_v4l_params.h>
Public Member Functions | |
vidl_v4l_params () | |
construct with default params. | |
vidl_v4l_params & | resolution (unsigned int ni, unsigned int nj) |
get the current resolution. | |
vidl_v4l_params & | brightness (int brghtness) |
brightness. | |
vidl_v4l_params & | hue (int hu) |
hue. | |
vidl_v4l_params & | colour (int color) |
colour. | |
vidl_v4l_params & | contrast (int contrst) |
contrast. | |
vidl_v4l_params & | whiteness (int whitenss) |
whiteness. | |
vidl_v4l_params & | depth (int dpth) |
depth. | |
vidl_v4l_params & | pixel_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_ |
A parameters struct for v4l1 camera streams.
Definition at line 23 of file vidl_v4l_params.h.
vidl_v4l_params::vidl_v4l_params | ( | ) | [inline] |
construct with default params.
Definition at line 32 of file vidl_v4l_params.h.
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.
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.