os/linux-2.6-tag--devboard-R2_10-4/arch/cris/arch-v32/drivers/elphel/hist.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  hist_sensor_t
struct  gains_t
 copy window and exposure parameters to autoexp_state More...

Defines

#define IRQ_SRC_VACT   0x00
#define IRQ_SRC_DONE_COMPRESS   0x01

Functions

hist_sensor_thist_sensor_lock (void)
void hist_sensor_unlock (void)
void hist_image_exp (unsigned long exp)
void hist_image_size (unsigned long width, unsigned long height)
void hist_irq (unsigned long src)
void set_gamma (unsigned long gamma, unsigned long black, unsigned long scale_red, unsigned long scale_green, unsigned long scale_blue, unsigned long scale_green1)
void set_autoexposure_parameters (void)
 copy and use parameters from autoexp_set
void get_autoexposure_parameters (void)
 copy and use parameters from autoexp_set

Variables

gains_t gains


Define Documentation

#define IRQ_SRC_DONE_COMPRESS   0x01

Definition at line 13 of file hist.h.

#define IRQ_SRC_VACT   0x00

Definition at line 12 of file hist.h.

Referenced by hist_irq__().


Function Documentation

void get_autoexposure_parameters ( void   ) 

copy and use parameters from autoexp_set

Definition at line 935 of file hist.c.

References window2state().

void hist_image_exp ( unsigned long  exp  ) 

Definition at line 906 of file hist.c.

References autoexp_set, autoexp_state, autoexp_t::exp, and first_exp.

void hist_image_size ( unsigned long  width,
unsigned long  height 
)

Definition at line 914 of file hist.c.

References aexp_window_t::height, image_new, sensor_window, aexp_window_t::width, and window_sensor.

void hist_irq ( unsigned long  src  ) 

Definition at line 546 of file hist.c.

References aexp_window, aexp_window_set, autoexp_enable, gamma_t::buf, buf_t::buf, buf, BUF_C, c_hist, gamma, aexp_window_t::height, image_new, aexp_window_t::left, buf_t::lock, memcpy(), OFFSET_HIST_C, port_csp0_addr, port_csp4_addr, program_sensor_exposition(), sensor_refresh, sensor_window, STEP_1, STEP_2, STEP_3, STEP_4, STEP_INIT, aexp_window_t::top, gamma_t::tv, buf_t::tv, tv_less(), aexp_window_t::width, and window_sensor.

struct hist_sensor_t* hist_sensor_lock ( void   ) 

Definition at line 889 of file hist.c.

References autoexp_enable, autoexp_state, autoexp_t::exp, hist_sensor_t::exposure, first_exp, and sensor_desc.

void hist_sensor_unlock ( void   ) 

Definition at line 902 of file hist.c.

void set_autoexposure_parameters ( void   ) 

copy and use parameters from autoexp_set

copy autoexp_set parameters to autoexp_state

Definition at line 974 of file hist.c.

References set2state().

void set_gamma ( unsigned long  gamma,
unsigned long  black,
unsigned long  scale_red,
unsigned long  scale_green,
unsigned long  scale_blue,
unsigned long  scale_green1 
)

Definition at line 1271 of file hist.c.

References _GAMMA_TABLE_SIZE, c_gamma, FPGA333_TABLE_ADDR_GAMMA, fpga_table_write(), gamma_ptr, GAMMA_TABLE_SIZE, gamma_v(), MD1, memcpy(), memset(), OFFSET_GAMMA_C, and printk.


Variable Documentation

struct gains_t gains

Definition at line 710 of file cc353.c.


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