LibVNCServer/LibVNCClient
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
camera.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <rfb/rfb.h>
+ Include dependency graph for camera.c:

Go to the source code of this file.

Macros

#define WIDTH   640
 
#define HEIGHT   480
 
#define BPP   4
 
#define PICTURE_TIMEOUT   (1.0/15.0)
 

Functions

int TimeToTakePicture ()
 
int TakePicture (unsigned char *buffer)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

#define BPP   4

Definition at line 48 of file camera.c.

#define HEIGHT   480
Examples:
camera.c.

Definition at line 47 of file camera.c.

#define PICTURE_TIMEOUT   (1.0/15.0)
Examples:
camera.c.

Definition at line 51 of file camera.c.

#define WIDTH   640
Examples:
camera.c.

Definition at line 46 of file camera.c.

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 131 of file camera.c.

+ Here is the call graph for this function:

int TakePicture ( unsigned char *  buffer)
Examples:
camera.c.

Definition at line 77 of file camera.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int TimeToTakePicture ( )
Examples:
camera.c.

Definition at line 57 of file camera.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: