LibVNCServer/LibVNCClient
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

◆ BPP

#define BPP   4
Examples:
camera.c.

Definition at line 65 of file camera.c.

◆ HEIGHT

#define HEIGHT   480
Examples:
camera.c.

Definition at line 64 of file camera.c.

◆ PICTURE_TIMEOUT

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

Definition at line 68 of file camera.c.

◆ WIDTH

#define WIDTH   640
Examples:
camera.c.

Definition at line 63 of file camera.c.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)
Examples:
camera.c.

Definition at line 148 of file camera.c.

+ Here is the call graph for this function:

◆ TakePicture()

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

Definition at line 94 of file camera.c.

+ Here is the caller graph for this function:

◆ TimeToTakePicture()

int TimeToTakePicture ( )
Examples:
camera.c.

Definition at line 74 of file camera.c.

+ Here is the caller graph for this function: