apps/autoexp/autoexp_ctrl.c File Reference

#include <stdio.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
#include <asm/elphel/hist.h>
#include <asm/elphel/autoexp.h>
#include <asm/elphel/c313a.h>

Include dependency graph for autoexp_ctrl.c:

Go to the source code of this file.

Defines

#define ARG_ENABLE   "-e"
#define ARG_DISABLE   "-d"
#define ARG_OVEREXP_MAX   "-o"
#define ARG_EXP_MAX   "-m"
#define ARG_WIDTH   "-w"
#define ARG_HEIGHT   "-h"
#define ARG_LEFT   "-l"
#define ARG_TOP   "-t"
#define ARG_STATE   "-s"

Functions

int main (int argc, char *argv[])

Variables

autoexp_t autoexp


Define Documentation

#define ARG_DISABLE   "-d"

Definition at line 17 of file autoexp_ctrl.c.

Referenced by main().

#define ARG_ENABLE   "-e"

Definition at line 16 of file autoexp_ctrl.c.

Referenced by main().

#define ARG_EXP_MAX   "-m"

Definition at line 19 of file autoexp_ctrl.c.

Referenced by main().

#define ARG_HEIGHT   "-h"

Definition at line 21 of file autoexp_ctrl.c.

Referenced by main().

#define ARG_LEFT   "-l"

Definition at line 22 of file autoexp_ctrl.c.

Referenced by main().

#define ARG_OVEREXP_MAX   "-o"

Definition at line 18 of file autoexp_ctrl.c.

Referenced by main().

#define ARG_STATE   "-s"

Definition at line 24 of file autoexp_ctrl.c.

Referenced by main().

#define ARG_TOP   "-t"

Definition at line 23 of file autoexp_ctrl.c.

Referenced by main().

#define ARG_WIDTH   "-w"

Definition at line 20 of file autoexp_ctrl.c.

Referenced by main().


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 40 of file autoexp_ctrl.c.

References ARG_DISABLE, ARG_ENABLE, ARG_EXP_MAX, ARG_HEIGHT, ARG_LEFT, ARG_OVEREXP_MAX, ARG_STATE, ARG_TOP, ARG_WIDTH, autoexp, AUTOEXP_DEV_NAME, autoexp_t::exp, autoexp_t::exp_max, fd, autoexp_t::height, IOC_AUTOEXP_GET, IOC_AUTOEXP_SET, autoexp_t::left, autoexp_t::on, autoexp_t::overexp_max, state, autoexp_t::top, and autoexp_t::width.


Variable Documentation

struct autoexp_t autoexp

Initial value:

 {
        .on = HIST_NOT_CHANGE,
        .width = HIST_NOT_CHANGE,
        .height = HIST_NOT_CHANGE,
        .left = HIST_NOT_CHANGE,
        .top = HIST_NOT_CHANGE,
        .exp_max = HIST_NOT_CHANGE,
        .overexp_max = HIST_NOT_CHANGE,
        .exp = HIST_NOT_CHANGE,
        .skip_pmin = HIST_NOT_CHANGE,
        .skip_pmax = HIST_NOT_CHANGE,
        .skip_t = HIST_NOT_CHANGE,
}

Definition at line 26 of file autoexp_ctrl.c.

Referenced by calcWhiteBalance(), and main().


Generated on Thu Aug 7 16:19:19 2008 for elphel by  doxygen 1.5.1