|
|
Functions | |
| FLGR_RtCapture2D * | flgr2d_rtcapture_create (char *device) |
| void | flgr2d_rtcapture_destroy (FLGR_RtCapture2D *viddev) |
| char * | flgr2d_rtcapture_get_palette (FLGR_RtCapture2D *viddev) |
| FLGR_Ret | flgr2d_rtcapture_get_window_size (FLGR_RtCapture2D *viddev, int *size_x, int *size_y) |
| FLGR_Ret | flgr2d_rtcapture_gray_image (FLGR_Data2D *img, FLGR_RtCapture2D *viddev) |
| unsigned short | flgr2d_rtcapture_palette_from_string (char *palette) |
| FLGR_Ret | flgr2d_rtcapture_RGB24_image (FLGR_Data2D *imgR, FLGR_Data2D *imgG, FLGR_Data2D *imgB, FLGR_RtCapture2D *viddev) |
| FLGR_Ret | flgr2d_rtcapture_set_palette (FLGR_RtCapture2D *viddev, char *palette) |
| FLGR_Ret | flgr2d_rtcapture_set_window_size (FLGR_RtCapture2D *viddev, int size_x, int size_y) |
| FLGR_RtCapture2D* flgr2d_rtcapture_create | ( | char * | device | ) |
Create the structure FLGR_RtCapture2D and initialize video capture device
| *device | : string for path to the video capture device |
Definition at line 228 of file flgrRtCapture.c.
| void flgr2d_rtcapture_destroy | ( | FLGR_RtCapture2D * | viddev | ) |
Destroy the structure FLGR_RtCapture2D and close correctly the video capture device
| *viddev | : a pointer to the video capture device structure |
Definition at line 328 of file flgrRtCapture.c.
| char* flgr2d_rtcapture_get_palette | ( | FLGR_RtCapture2D * | viddev | ) |
Get the palette of a capture device
| *viddev | : a pointer to the video capture device structure |
Definition at line 152 of file flgrRtCapture.c.
| FLGR_Ret flgr2d_rtcapture_get_window_size | ( | FLGR_RtCapture2D * | viddev, | |
| int * | size_x, | |||
| int * | size_y | |||
| ) |
get the window size of the video capture device
| *viddev | : a pointer to the video capture device structure | |
| *size_x | : pointer to size_x variable | |
| *size_y | : pointer to size_y variable |
Definition at line 401 of file flgrRtCapture.c.
| FLGR_Ret flgr2d_rtcapture_gray_image | ( | FLGR_Data2D * | img, | |
| FLGR_RtCapture2D * | viddev | |||
| ) |
Capture a gray image from a video capture device
| *img | : a pointer to the image structure (image must be fgUINT8) | |
| *viddev | : a pointer to the video capture device structure |
Definition at line 427 of file flgrRtCapture.c.
| unsigned short flgr2d_rtcapture_palette_from_string | ( | char * | palette | ) |
Return palette FLAG corresponding to a palette string
| *palette | : string for palette. |
Definition at line 54 of file flgrRtCapture.c.
| FLGR_Ret flgr2d_rtcapture_RGB24_image | ( | FLGR_Data2D * | imgR, | |
| FLGR_Data2D * | imgG, | |||
| FLGR_Data2D * | imgB, | |||
| FLGR_RtCapture2D * | viddev | |||
| ) |
Capture a RGB image from a video capture device
| *imgR | : a pointer to the image structure for Red (image must be fgUINT8) | |
| *imgG | : a pointer to the image structure for Green (image must be fgUINT8) | |
| *imgB | : a pointer to the image structure for Blue (image must be fgUINT8) | |
| *viddev | : a pointer to the video capture device structure |
Definition at line 521 of file flgrRtCapture.c.
| FLGR_Ret flgr2d_rtcapture_set_palette | ( | FLGR_RtCapture2D * | viddev, | |
| char * | palette | |||
| ) |
Set a new palette in the capture device
| *viddev | : a pointer to the video capture device structure | |
| *palette | : a string for palette |
Definition at line 117 of file flgrRtCapture.c.
| FLGR_Ret flgr2d_rtcapture_set_window_size | ( | FLGR_RtCapture2D * | viddev, | |
| int | size_x, | |||
| int | size_y | |||
| ) |
Change the window size of the video capture device
| *viddev | : a pointer to the video capture device structure | |
| size_x | ||
| size_y |
Definition at line 349 of file flgrRtCapture.c.
1.5.6