Go to the source code of this file.
Data Structures | |
struct | autoexp_t |
struct | aexp_window_t |
struct | p_names_t |
struct | ccamMmapHeader |
struct | ccamFileDataHeader |
struct | sensor_t |
struct | frame_params_t |
width,height, quality are still needed even with new Exif - it is used to rebuild JPEG header More... | |
struct | i2c_timing_t |
Defines | |
#define | ELPHEL_DEBUG 0 |
#define | ETRAXFS_MMAP_CACHE_BUG y |
#define | CMOSCAM_IOCTYPE 124 |
#define | CMOSCAM_MINOR_FRAME 1 |
#define | CMOSCAM_MINOR_FPN 2 |
#define | CMOSCAM_MINOR_I2C 3 |
#define | CMOSCAM_MINOR_DMA 4 |
#define | CMOSCAM_MINOR_MCP 5 |
#define | CMOSCAM_MINOR_LOCK 6 |
#define | CMOSCAM_MINOR_UNLOCK 7 |
#define | CMOSCAM_MINOR_SENSORJTAGFPGA 8 |
#define | CMOSCAM_MINOR_RWTABLES 9 |
#define | CMOSCAM_MINOR_SENSORFPGACOMM 10 |
#define | CMOSCAM_MINOR_CIRCBUF 11 |
#define | CMOSCAM_MINOR_HISTOGRAM 12 |
#define | CMOSCAM_MINOR_JPEAGHEAD 13 |
#define | CMOSCAM_MINOR_GAMMA 14 |
#define | CMOSCAM_MINOR_SENSPARS 15 |
#define | X3X3_I2C 134 |
#define | X3X3_I2C_CTRL 0 |
#define | X3X3_I2C_8_AINC 1 |
#define | X3X3_I2C_16_AINC 2 |
#define | X3X3_I2C1_8_AINC 3 |
#define | X3X3_I2C1_16_AINC 4 |
#define | X3X3_I2C_RAW 5 |
#define | X3X3_I2C1_RAW 6 |
#define | X3X3_I2C_ENABLE 7 |
#define | X3X3_I2C_ENABLE_RD 0 |
#define | X3X3_I2C_ENABLE_WR 1 |
#define | X3X3_I2C_ENABLE_RAW 2 |
#define | X3X3_I2C_ENABLE_8 3 |
#define | X3X3_I2C_ENABLE_16 4 |
#define | X3X3_I2C_MAXMINOR 7 |
#define | X3X3_I2C_CHANNELS 2 |
#define | CAMSEQ_OFF 0 |
#define | CAMSEQ_READY 1 |
#define | CAMSEQ_SKIP 2 |
#define | CAMSEQ_WAIT_F 3 |
#define | CAMSEQ_WAIT_T 4 |
#define | CAMSEQ_ACQUIRE 5 |
#define | CAMSEQ_DONE 6 |
#define | CAMSEQ_JPEG 7 |
#define | CAMSEQ_RUN 8 |
#define | CAMSEQ_STOP 9 |
#define | CAMSEQ_SINGLE 10 |
#define | sensorcom_W_size 1024 |
#define | sensorcom_R_size 256 |
#define | MCP_W_size 1024 |
#define | MCP_R_size 256 |
#define | MCPOtherBits 0xffa7a7ff |
#define | MCPOffReset 0x00101800 |
#define | MCPReset 0x00001800 |
#define | MCPNoReset 0x00105800 |
#define | MCPToggleA 0x00080000 |
#define | MCPToggleB 0x00001000 |
#define | MCPctlseq 0x00 |
#define | MCPsofttg 0x02 |
#define | MCPeackn 0x03 |
#define | MCPctlgate 0x04 |
#define | MCPwstdly 0x06 |
#define | MCPwrsmsk 0x07 |
#define | MCPwrsup 0x08 |
#define | MCPwrmons 0x09 |
#define | MCPwnom 0x0a |
#define | MCPwdenom 0x0b |
#define | MCPwoutw 0x0c |
#define | MCPwinvctl 0x0d |
#define | MCPctlsync 0x0e |
#define | MCPwrdlys 0x10 |
#define | MCPwinv 0x40 |
#define | MCPwshared 0x80 |
#define | MCPwrsynctb 0x100 |
#define | MCPwrseq 0x200 |
#define | I2C_WRITEARG(bus, slave, reg, value) (((bus) << 24) | ((slave) << 16) | ((reg) << 8) | (value)) |
#define | I2C_READARG(bus, slave, reg) (((bus) << 24) | ((slave) << 16) | ((reg) << 8)) |
#define | I2C_ARGBUS(arg) (((arg) >> 24) & 0x1) |
#define | I2C_ARGSLAVE(arg) (((arg) >> 16) & 0xff) |
#define | I2C_ARGREG(arg) (((arg) >> 8) & 0xff) |
#define | I2C_ARGVALUE(arg) ((arg) & 0xff) |
#define | I2C_DELAYS 0x0 |
#define | I2C_WRITEREG 0x1 |
#define | I2C_READREG 0x2 |
#define | I2C_16_WRITEREG 0x3 |
#define | I2C_16_READREG 0x4 |
#define | I2C_16_WRITEARG(slave, reg, value) (((slave) << 24) | ((reg) << 16) | (value)) |
#define | I2C_16_READARG(slave, reg) (((slave) << 24) | ((reg) << 16)) |
#define | I2C_16_ARGSLAVE(arg) (((arg) >> 24) & 0xff) |
#define | I2C_16_ARGREG(arg) (((arg) >> 16) & 0xff) |
#define | I2C_16_ARGVALUE(arg) ( (arg) & 0xffff) |
#define | I2C_16_ARGVALUE_H(arg) (((arg) >> 8) & 0xff) |
#define | I2C_16_ARGVALUE_L(arg) ( (arg) & 0xff) |
#define | _CCCMD(x, y) (_IO(CMOSCAM_IOCTYPE, (x << 6) | (y & 0x3f))) |
#define | CCAM_CTRL(x) ((_IOC_NR(x) >> 6) & 0x03) |
#define | CCAM_ADDR(x) (_IOC_NR(x) & 0x3f) |
#define | CCAM_RPARS 2 |
#define | CCAM_WPARS 3 |
#define | P_NUMBER 1024 |
#define | P_UPDATE 0 |
#define | P_SENSOR 1 |
#define | SENSOR_MASK 0xfc |
#define | SENSOR_ZR32112 0x04 |
#define | SENSOR_ZR32212 0x08 |
#define | SENSOR_KAC1310 0x20 |
#define | SENSOR_KAC5000 0x24 |
#define | SENSOR_MI1300 0x30 |
#define | SENSOR_MT9X001 0x30 |
#define | SENSOR_MT9Y001 0x34 |
#define | SENSOR_IBIS51300 0x40 |
#define | SENSOR_KAI11000 0x80 |
#define | SENSOR_NONE 0xfc |
#define | SENSORWIDTH_ZR32112 1280 |
#define | SENSORHEIGHT_ZR32112 1024 |
#define | SENSORWIDTH_ZR32212 1280 |
#define | SENSORHEIGHT_ZR32212 968 |
#define | SENSORWIDTH_KAC1310 1280 |
#define | SENSORHEIGHT_KAC1310 1024 |
#define | SENSORWIDTH_MI1300 1280 |
#define | SENSORHEIGHT_MI1300 1024 |
#define | SENSORWIDTH_MT9M001 1280 |
#define | SENSORHEIGHT_MT9M001 1024 |
#define | SENSORWIDTH_MT9D001 1600 |
#define | SENSORHEIGHT_MT9D001 1200 |
#define | SENSORWIDTH_MT9T001 2048 |
#define | SENSORHEIGHT_MT9T001 1536 |
#define | SENSORWIDTH_MT9P001 2592 |
#define | SENSORHEIGHT_MT9P001 1944 |
#define | SENSORWIDTH_KAC5000 2592 |
#define | SENSORHEIGHT_KAC5000 1944 |
#define | SENSORWIDTH_IBIS51300 1280 |
#define | SENSORHEIGHT_IBIS51300 1024 |
#define | P_PARS_CHANGED 2 |
Parameters below are accessed through mmap, because of cache coherency problem it make sense to keep them compact (maybe group by 8 - cache line of 32 bytes). | |
#define | P_DMA_VALID 3 |
#define | P_ACTUAL_WIDTH 4 |
#define | P_ACTUAL_HEIGHT 5 |
#define | P_LPR 6 |
#define | P_IMAGE_SIZE 7 |
#define | P_BAYER 8 |
#define | P_TRIGGERED 9 |
#define | P_PERIOD 10 |
#define | P_FRAME 11 |
#define | P_JPEG_WP 12 |
#define | P_CLK_FPGA 13 |
In new code use P_CIRCBUFWP instead! | |
#define | P_CLK_SENSOR 14 |
#define | P_FPGA_XTRA 15 |
#define | P_TRIG 16 |
#define | P_EXPOS 17 |
#define | P_BGFRAME 18 |
#define | P_PAGE_ACQ 19 |
#define | P_PAGE_READ 20 |
#define | P_OVERLAP 21 |
#define | P_VIDEO 22 |
#define | P_AUXCM 23 |
#define | P_VIRT_WIDTH 24 |
#define | P_VIRT_HEIGHT 25 |
#define | P_WOI_LEFT 26 |
#define | P_WOI_TOP 27 |
#define | P_WOI_WIDTH 28 |
#define | P_WOI_HEIGHT 29 |
#define | P_FLIP 30 |
#define | P_FPSLM 31 |
#define | P_DCM_HOR 32 |
#define | P_DCM_VERT 33 |
#define | P_BIN_HOR 34 |
#define | P_BIN_VERT 35 |
#define | P_COLOR 36 |
#define | P_FRAMESYNC_DLY 37 |
#define | P_MCLK 38 |
#define | P_PF_HEIGHT 39 |
#define | P_BITS 40 |
#define | P_SHIFTL 41 |
#define | P_FPNS 42 |
#define | P_FPNM 43 |
#define | P_VEXPOS 44 |
#define | P_VIRTTRIG 45 |
#define | P_GAINR 46 |
#define | P_GAING 47 |
#define | P_GAINB 48 |
#define | P_GAINGB 49 |
#define | P_FATZERO 50 |
#define | P_SPEC_KAC_GGA 51 |
#define | P_SPEC_KAC_GGB 52 |
#define | P_SPEC_KAC_GGM 53 |
#define | P_GAIN 51 |
#define | P_RSCALE 52 |
#define | P_BSCALE 53 |
#define | P_QUALITY 54 |
#define | P_FP100S 55 |
#define | P_SENSOR_WIDTH 56 |
#define | P_SENSOR_HEIGHT 57 |
#define | P_COLOR_SATURATION_BLUE 58 |
#define | P_COLOR_SATURATION_RED 59 |
#define | P_GAMMA 60 |
#define | P_PIXEL_LOW 61 |
#define | P_PIXEL_HIGH 62 |
#define | P_DONTCARE 63 |
#define | P_PGMSENSRSLT 64 |
#define | P_CAMSEQSTATE 65 |
#define | P_CAMSEQCOUNT 66 |
#define | P_CIRCBUFSIZE 67 |
#define | P_FREECIRCBUF 68 |
the following 3 locations should be in the same 32-byte (8 long) cache line | |
#define | P_CIRCBUFWP 69 |
#define | P_CIRCBUFRP 70 |
#define | P_SECONDS 71 |
#define | P_MICROSECONDS 72 |
#define | P_TILES 73 |
#define | P_SENSOR_PHASE 74 |
#define | P_GSCALE 75 |
#define | P_AUTOEXP_ON 76 |
the following P_AUTOEXP_* parameters should be continuous to map to structure defined in autoexp.h UPDATE: moved here | |
#define | P_AUTOEXP_RWIDTH 77 |
TODO: Chnange dimensions to pixels, use (%) on UI level (and get rid of "R" - relative in the name). | |
#define | P_AUTOEXP_RHEIGHT 78 |
#define | P_AUTOEXP_RLEFT 79 |
#define | P_AUTOEXP_RTOP 80 |
#define | P_AUTOEXP_EXP_MAX 81 |
#define | P_AUTOEXP_OVEREXP_MAX 82 |
#define | P_AUTOEXP_S_PERCENT 83 |
#define | P_AUTOEXP_S_INDEX 84 |
#define | P_AUTOEXP_EXP 85 |
#define | P_AUTOEXP_SKIP_PMIN 86 |
#define | P_AUTOEXP_SKIP_PMAX 87 |
#define | P_AUTOEXP_SKIP_T 88 |
#define | P_AEXPWND_WIDTH 89 |
#define | P_AEXPWND_HEIGHT 90 |
#define | P_AEXPWND_TOP 91 |
#define | P_AEXPWND_LEFT 92 |
#define | P_FOCUS_SHOW 93 |
#define | P_FOCUS_SHOW1 94 |
#define | P_FOCUS_VALUE 95 |
#define | P_FOCUS_LEFT 96 |
#define | P_FOCUS_WIDTH 97 |
#define | P_FOCUS_TOP 98 |
#define | P_FOCUS_HEIGHT 99 |
#define | P_FOCUS_TOTWIDTH 100 |
#define | P_FOCUS_FILTER 101 |
#define | P_TRIG_CONDITION 102 |
timing generator/trigger delay/external trigger control | |
#define | P_TRIG_DELAY 103 |
#define | P_TRIG_OUT 104 |
#define | P_TRIG_PERIOD 105 |
#define | P_TASKLET_CTL 106 |
#define | P_COMPRESSOR_CMD 107 |
#define | COMPRESSOR_CMD_RUN 0x080 |
#define | COMPRESSOR_CMD_SINGLE 0x800 |
#define | P_SKIP_FRAMES 108 |
#define | P_I2C_QPERIOD 109 |
#define | P_I2C_BYTES 110 |
#define | P_IRQ_SMART 111 |
#define | P_EARLY_TIMESTAMP 112 |
#define | P_OVERSIZE 113 |
#define | P_MAX_PAR 127 |
#define | P_HIST_NOT_CHANGE 0xffff |
#define | P_AUTOEXP P_AUTOEXP_ON |
for structure mapping: | |
#define | P_AEXPWND P_AEXPWND_WIDTH |
#define | P_NAME_ENTRY(y) { P_##y, #y } |
#define | DEFINE_P_NAMES(x) |
#define | ERR_I2C_SCL_ST0 1 |
#define | ERR_I2C_SDA_ST0 2 |
#define | ERR_I2C_SCL_ST1 4 |
#define | ERR_I2C_SDA_ST1 8 |
#define | ERR_I2C_SCL_NOPULLUP 16 |
#define | ERR_I2C_SDA_NOPULLUP 32 |
#define | ERR_I2C_NOTDETECTED 64 |
#define | ERR_I2C_SHORT 128 |
#define | ERR_I2C_BSY 256 |
#define | ERR_I2C_NACK 512 |
#define | IO_CCAM_SET_EXT_EXPOSURE 0x06 |
#define | IO_CCAM_MONITOR_SEQ 0x07 |
#define | IO_EXT_BOARD_PRESENT 0xF0 |
#define | IO_CCAM_JPEG 0x08 |
#define | JPEG_CMD_RESET 0x00 |
#define | JPEG_CMD_GET 0x02 |
#define | JPEG_CMD_FORGET 0x03 |
#define | JPEG_CMD_CATCHUP 0x04 |
#define | JPEG_CMD_ACQUIRE 0x05 |
#define | JPEG_CMD_SAVE_RP 0x06 |
#define | JPEG_CMD_RESTORE_RP 0x07 |
#define | JPEG_CMD_N_DONE 0x08 |
#define | JPEG_CMD_L_DONE 0x09 |
#define | JPEG_CMD_START 0x0a |
#define | JPEG_CMD_STOP 0x0b |
#define | JPEG_CMD_FRAMES 0x0c |
#define | JPEG_CMD_JUST_STOP 0x0d |
#define | JPEG_CMD_DUMP 0x0f |
#define | JPEG_CMD_RESET0 0x10 |
#define | PROGRAM_SENSOR_0 0x11 |
#define | PROGRAM_SENSOR_1 0x12 |
#define | LSEEK_CAMSEQSTATE 0x13 |
#define | LSEEK_RESET_SENSOR 0x14 |
#define | LSEEK_INIT_SENSOR 0x15 |
#define | LSEEK_GET_FPGA_TIME 0x16 |
#define | LSEEK_SET_FPGA_TIME 0x17 |
#define | LSEEK_FLUSH_CACHE 0x18 |
#define | LSEEK_AUTOEXP_SET 0x19 |
#define | LSEEK_AUTOEXP_GET 0x1a |
#define | LSEEK_TRIGGER_PGM 0x1b |
#define | LSEEK_I2C_PGM 0x1c |
#define | LSEEK_IRQ_SMART_PGM 0x1d |
#define | LSEEK_EARLY_TIMESTAMP_PGM 0x1e |
#define | JPEG_CTRL_MONOCHROME 0x400 |
#define | JPEG_CTRL_MONOCHROME_BLOCKED 0x1000 |
#define | JPEG_CTRL_NOMOSAIC 0x1000 |
#define | IO_CCAM_JPEG_QUALITY 0x09 |
#define | IO_CCAM_JPEG_GET_N 0x0a |
#define | IO_CCAM_JPEG_GET_L 0x0b |
#define | IO_CCAM_JPEG_CTRL 0x0c |
#define | IO_CCAM_DMA 0x0d |
#define | CCAM_DMA_CMD_STOP 0x00 |
#define | CCAM_DMA_CMD_START 0x01 |
#define | IO_CCAM_CR_MODIFY 0x0e |
#define | IO_CCAM_CR_SHADOW 0x0f |
#define | IO_CCAM_PINS_WRITE 0x20 |
#define | IO_CCAM_PINS_READ 0x21 |
#define | CCAM_BYTES_PER_CHUNK (1<<16) |
#define | CCAM_DESCR_PER_CHUNK 1 |
#define | CCAM_CHUNK_PER_DMABUF 302 |
#define | CCAM_WORDS_PER_DMABUF (CCAM_CHUNK_PER_DMABUF<<14) |
#define | CCAM_BYTES_PER_DMABUF (CCAM_CHUNK_PER_DMABUF<<16) |
#define | CCAM_DMA_SIZE CCAM_WORDS_PER_DMABUF |
#define | CCAM_MMAP_OFFSET_MMAP_HEADER 0 |
#define | CCAM_MMAP_OFFSET_JPEG_HEADER (PAGE_SIZE) |
#define | CCAM_MMAP_OFFSET_DMABUF (4*PAGE_SIZE) |
#define | CCAM_MMAP_SIZE (PAGE_SIZE*sizeof(long)+CCAM_BYTES_PER_DMABUF) |
#define | CCAM_MMAP_META 12 |
#define | CCAM_MMAP_META_LENGTH 4 |
#define | CCAM_MMAP_META_USEC 8 |
#define | CCAM_MMAP_META_SEC 12 |
#define | CX313_FPGA_TABLES_SIZE 0xC00 |
Moved from cc353.c. | |
#define | CX313_FPGA_TABLES_GAMMA 0x400 |
#define | CX313_FPGA_TABLES_FOCUS 0x800 |
#define | CX313_FPGA_TABLES_FOCUSPARS 0xbc0 |
#define | CCAM_IMAGE_VALIDFLAG_NOTDONE 0 |
#define | CCAM_IMAGE_VALIDFLAG_DONEOK 1 |
#define | CCAM_IMAGE_VALIDFLAG_OVERFLOW -1 |
#define | CCAM_IMAGE_VALIDFLAG_FATAL -2 |
#define | CCAM_IMAGE_OVERFLOW_BYTES 512 |
#define | CCAM_IMAGE_NPARTS_MAX 2 |
#define | DEFAULT_COLOR_SATURATION_BLUE 0x90 |
#define | DEFAULT_COLOR_SATURATION_RED 0xb6 |
#define | EXPOSURE_UNIT 100 |
#define | CIRCLSEEK_TORP 1 |
#define | CIRCLSEEK_TOWP 2 |
#define | CIRCLSEEK_PREV 3 |
#define | CIRCLSEEK_NEXT 4 |
#define | CIRCLSEEK_LAST 5 |
#define | CIRCLSEEK_FIRST 6 |
#define | CIRCLSEEK_SCND 7 |
#define | CIRCLSEEK_SETP 8 |
#define | CIRCLSEEK_VALID 9 |
#define | CIRCLSEEK_READY 10 |
#define | CIRCLSEEK_WAIT 11 |
#define | CIRCLSEEK_FREE 12 |
#define | CIRCLSEEK_USED 13 |
Definition at line 164 of file c313a.h.
Referenced by Video::fps(), grab_and_send(), Video::height(), jpeg_session_start(), main(), processImage(), Video::quality(), send_html_data(), send_quicktime(), send_quicktime_clip(), sendLastFrame(), setCamPars(), Video::width(), and write_sdp().
#define CAMSEQ_ACQUIRE 5 |
#define CAMSEQ_DONE 6 |
Definition at line 73 of file c313a.h.
Referenced by camSeq_interrupt(), camSeqStart(), camSeqStartClip(), ccam_DMA_ioctl(), and main().
#define CAMSEQ_JPEG 7 |
Definition at line 74 of file c313a.h.
Referenced by camogm_status(), camSeq_interrupt(), camSeqStartClip(), ccam_DMA_ioctl(), framePointersXML(), and send_quicktime_clip().
#define CAMSEQ_OFF 0 |
Definition at line 67 of file c313a.h.
Referenced by camogm_status(), framePointersXML(), initCamIRQs(), main(), and programSensor().
#define CAMSEQ_READY 1 |
Definition at line 68 of file c313a.h.
Referenced by camSeqStart(), camSeqStartClip(), camSeqStop(), getCamSeqState(), main(), and programSensor().
#define CAMSEQ_RUN 8 |
Definition at line 76 of file c313a.h.
Referenced by camogm_status(), camSeq_interrupt(), camSeqStartClip(), cmoscam_lseek(), cmoscam_open(), framePointersXML(), grab_and_send(), main(), send_quicktime_clip(), and Video::Start().
#define CAMSEQ_SINGLE 10 |
Definition at line 78 of file c313a.h.
Referenced by camogm_status(), camSeq_interrupt(), camSeqStartClip(), cmoscam_lseek(), framePointersXML(), grab_and_send(), main(), and send_quicktime_clip().
#define CAMSEQ_SKIP 2 |
#define CAMSEQ_STOP 9 |
Definition at line 77 of file c313a.h.
Referenced by camogm_status(), camSeq_interrupt(), camSeqStartClip(), cmoscam_lseek(), cmoscam_open(), framePointersXML(), main(), and send_quicktime_clip().
#define CAMSEQ_WAIT_F 3 |
Definition at line 70 of file c313a.h.
Referenced by camSeq_interrupt(), getCamSeqState(), and startAcquire().
#define CAMSEQ_WAIT_T 4 |
#define CCAM_DMA_CMD_START 0x01 |
#define CCAM_DMA_CMD_STOP 0x00 |
#define CCAM_DMA_SIZE CCAM_WORDS_PER_DMABUF |
Definition at line 706 of file c313a.h.
Referenced by add_frame_params(), camSeq_interrupt(), camSeqStartClip(), circbuf_lseek(), circbuf_open(), circbuf_read(), circbuf_write(), ext_fill_jpeg_mmap_desc(), ext_fill_jpeg_mmap_desc_(), updateJPEG_wp(), x313_dma_forget_jpeg(), x313_dma_read(), x313_dma_reset_chain(), x313_dma_start(), and x313_setDMABuffer().
#define CCAM_MMAP_META 12 |
Definition at line 716 of file c313a.h.
Referenced by add_frame_params(), camogm_start(), Video::capture(), main(), sendImageFrame(), and sendLastFrame().
#define CCAM_MMAP_META_SEC 12 |
Definition at line 719 of file c313a.h.
Referenced by camogm_start(), Video::capture(), and sendImageFrame().
#define CCAM_MMAP_SIZE (PAGE_SIZE*sizeof(long)+CCAM_BYTES_PER_DMABUF) |
#define CCAM_RPARS 2 |
Definition at line 172 of file c313a.h.
Referenced by ccam_DMA_ioctl(), Video::fps(), grab_and_send(), Video::height(), jpeg_session_start(), main(), processImage(), Video::quality(), send_html_data(), send_quicktime(), send_quicktime_clip(), sendLastFrame(), setCamPars(), Video::width(), and write_sdp().
#define CCAM_WPARS 3 |
#define CIRCLSEEK_FIRST 6 |
Definition at line 915 of file c313a.h.
Referenced by circbuf_lseek(), listener_loop(), main(), and PHP_FUNCTION().
#define CIRCLSEEK_FREE 12 |
#define CIRCLSEEK_LAST 5 |
Definition at line 914 of file c313a.h.
Referenced by camogm_start(), circbuf_lseek(), circbuf_open(), and listener_loop().
#define CIRCLSEEK_NEXT 4 |
Definition at line 913 of file c313a.h.
Referenced by camogm_start(), circbuf_lseek(), listener_loop(), PHP_FUNCTION(), and sendImageFrame().
#define CIRCLSEEK_PREV 3 |
Definition at line 912 of file c313a.h.
Referenced by camogm_start(), circbuf_lseek(), framePointersXML(), and listener_loop().
#define CIRCLSEEK_READY 10 |
Definition at line 919 of file c313a.h.
Referenced by camogm_start(), circbuf_lseek(), listener_loop(), PHP_FUNCTION(), and sendImageFrame().
#define CIRCLSEEK_SCND 7 |
Definition at line 916 of file c313a.h.
Referenced by circbuf_lseek(), listener_loop(), and PHP_FUNCTION().
#define CIRCLSEEK_SETP 8 |
Definition at line 917 of file c313a.h.
Referenced by circbuf_lseek(), listener_loop(), and sendImageFrame().
#define CIRCLSEEK_TORP 1 |
Definition at line 910 of file c313a.h.
Referenced by circbuf_lseek(), framePointersXML(), listener_loop(), and main().
#define CIRCLSEEK_TOWP 2 |
Definition at line 911 of file c313a.h.
Referenced by Video::capture(), circbuf_lseek(), framePointersXML(), listener_loop(), and PHP_FUNCTION().
#define CIRCLSEEK_USED 13 |
#define CIRCLSEEK_VALID 9 |
Definition at line 918 of file c313a.h.
Referenced by camogm_start(), circbuf_lseek(), and listener_loop().
#define CIRCLSEEK_WAIT 11 |
Definition at line 920 of file c313a.h.
Referenced by Video::capture(), circbuf_lseek(), listener_loop(), main(), and PHP_FUNCTION().
#define CMOSCAM_MINOR_CIRCBUF 11 |
Definition at line 33 of file c313a.h.
Referenced by circbuf_all_lseek(), circbuf_all_mmap(), circbuf_all_open(), circbuf_all_poll(), circbuf_all_read(), circbuf_all_release(), circbuf_all_write(), cmoscam_ioctl(), cmoscam_open(), cmoscam_poll(), and cmoscam_release().
#define CMOSCAM_MINOR_DMA 4 |
Definition at line 26 of file c313a.h.
Referenced by cmoscam_ioctl(), cmoscam_lseek(), cmoscam_open(), cmoscam_poll(), cmoscam_read(), cmoscam_release(), and cmoscam_write().
#define CMOSCAM_MINOR_FPN 2 |
Definition at line 21 of file c313a.h.
Referenced by cmoscam_ioctl(), cmoscam_lseek(), cmoscam_open(), cmoscam_read(), cmoscam_release(), and cmoscam_write().
#define CMOSCAM_MINOR_FRAME 1 |
Definition at line 20 of file c313a.h.
Referenced by cmoscam_ioctl(), cmoscam_lseek(), cmoscam_open(), cmoscam_read(), and cmoscam_release().
#define CMOSCAM_MINOR_GAMMA 14 |
Definition at line 36 of file c313a.h.
Referenced by cmoscam_lseek(), cmoscam_open(), cmoscam_read(), cmoscam_release(), and cmoscam_write().
#define CMOSCAM_MINOR_HISTOGRAM 12 |
Definition at line 34 of file c313a.h.
Referenced by cmoscam_lseek(), cmoscam_open(), cmoscam_read(), and cmoscam_release().
#define CMOSCAM_MINOR_I2C 3 |
Definition at line 25 of file c313a.h.
Referenced by cmoscam_ioctl(), cmoscam_open(), and cmoscam_release().
#define CMOSCAM_MINOR_JPEAGHEAD 13 |
Definition at line 35 of file c313a.h.
Referenced by circbuf_all_lseek(), circbuf_all_open(), circbuf_all_read(), circbuf_all_release(), circbuf_all_write(), cmoscam_ioctl(), cmoscam_open(), cmoscam_release(), and cmoscam_write().
#define CMOSCAM_MINOR_LOCK 6 |
#define CMOSCAM_MINOR_MCP 5 |
Definition at line 27 of file c313a.h.
Referenced by cmoscam_ioctl(), cmoscam_lseek(), cmoscam_open(), cmoscam_read(), cmoscam_release(), and cmoscam_write().
#define CMOSCAM_MINOR_RWTABLES 9 |
Definition at line 31 of file c313a.h.
Referenced by cmoscam_lseek(), cmoscam_open(), cmoscam_read(), cmoscam_release(), and cmoscam_write().
#define CMOSCAM_MINOR_SENSORJTAGFPGA 8 |
Definition at line 30 of file c313a.h.
Referenced by cmoscam_open(), cmoscam_release(), and cmoscam_write().
#define CMOSCAM_MINOR_SENSPARS 15 |
Definition at line 37 of file c313a.h.
Referenced by cmoscam_ioctl(), cmoscam_lseek(), cmoscam_mmap(), cmoscam_open(), cmoscam_read(), cmoscam_release(), and cmoscam_write().
#define CMOSCAM_MINOR_UNLOCK 7 |
#define COMPRESSOR_CMD_RUN 0x080 |
#define COMPRESSOR_CMD_SINGLE 0x800 |
#define CX313_FPGA_TABLES_FOCUSPARS 0xbc0 |
#define CX313_FPGA_TABLES_GAMMA 0x400 |
#define CX313_FPGA_TABLES_SIZE 0xC00 |
Moved from cc353.c.
Definition at line 722 of file c313a.h.
Referenced by x313_tables_lseek(), x313_tables_read(), and x313_tables_write().
#define DEFAULT_COLOR_SATURATION_BLUE 0x90 |
*************************************************************************************************** ! This is essential data related to the last frame aquired to be stored in the circular buffer before ! each frame received from the FPGA - place where FPGA data is padded by 32 bytes of 0. ! 6 bytes are already used by next frame pointer signature, so only 26 bytes are left ! Structure also includes 8 bytes of timestamp (after 2 bytes skipped) - they will be obtained from the circbuf data ! that goes after the encoded frame, so total is 36 bytes (26+2+8) !
#define DEFINE_P_NAMES | ( | x | ) |
#define ERR_I2C_BSY 256 |
Definition at line 604 of file c313a.h.
Referenced by fi2c_readData(), fi2c_writeData(), i2c_readData(), and i2c_writeData().
#define ERR_I2C_NACK 512 |
#define ERR_I2C_NOTDETECTED 64 |
#define ERR_I2C_SCL_NOPULLUP 16 |
#define ERR_I2C_SCL_ST0 1 |
#define ERR_I2C_SDA_NOPULLUP 32 |
#define ERR_I2C_SDA_ST0 2 |
#define ERR_I2C_SHORT 128 |
#define I2C_16_ARGREG | ( | arg | ) | (((arg) >> 16) & 0xff) |
#define I2C_16_ARGSLAVE | ( | arg | ) | (((arg) >> 24) & 0xff) |
#define I2C_16_ARGVALUE | ( | arg | ) | ( (arg) & 0xffff) |
#define I2C_16_ARGVALUE_H | ( | arg | ) | (((arg) >> 8) & 0xff) |
#define I2C_16_ARGVALUE_L | ( | arg | ) | ( (arg) & 0xff) |
#define I2C_16_READREG 0x4 |
#define I2C_16_WRITEREG 0x3 |
#define I2C_ARGBUS | ( | arg | ) | (((arg) >> 24) & 0x1) |
#define I2C_ARGREG | ( | arg | ) | (((arg) >> 8) & 0xff) |
#define I2C_ARGSLAVE | ( | arg | ) | (((arg) >> 16) & 0xff) |
#define I2C_ARGVALUE | ( | arg | ) | ((arg) & 0xff) |
#define I2C_DELAYS 0x0 |
#define I2C_READREG 0x2 |
Definition at line 142 of file c313a.h.
Referenced by fi2c_ioctl(), fpga_ioctl(), i2c_ioctl(), and main().
#define I2C_WRITEREG 0x1 |
Definition at line 141 of file c313a.h.
Referenced by fi2c_ioctl(), fpga_ioctl(), i2c_ioctl(), and main().
#define IO_CCAM_CR_MODIFY 0x0e |
#define IO_CCAM_DMA 0x0d |
Definition at line 662 of file c313a.h.
Referenced by ccam_DMA_ioctl(), main(), and send_quicktime_clip().
#define IO_CCAM_JPEG_CTRL 0x0c |
#define IO_CCAM_JPEG_GET_L 0x0b |
#define IO_CCAM_JPEG_GET_N 0x0a |
#define IO_CCAM_JPEG_QUALITY 0x09 |
Definition at line 656 of file c313a.h.
Referenced by ccam_DMA_ioctl(), main(), and send_quicktime().
#define IO_CCAM_MONITOR_SEQ 0x07 |
Definition at line 611 of file c313a.h.
Referenced by ccam_DMA_ioctl(), grab_and_send(), main(), send_html_data(), send_quicktime_clip(), sendLastFrame(), and Video::Start().
#define IO_CCAM_PINS_READ 0x21 |
#define IO_CCAM_PINS_WRITE 0x20 |
#define IO_CCAM_SET_EXT_EXPOSURE 0x06 |
Definition at line 610 of file c313a.h.
Referenced by ccam_DMA_ioctl(), main(), and send_quicktime_clip().
#define IO_EXT_BOARD_PRESENT 0xF0 |
#define JPEG_CMD_ACQUIRE 0x05 |
Definition at line 627 of file c313a.h.
Referenced by grab_and_send(), main(), PHP_FUNCTION(), send_quicktime(), and x313_JPEG_cmd().
#define JPEG_CMD_CATCHUP 0x04 |
Definition at line 626 of file c313a.h.
Referenced by grab_and_send(), main(), send_quicktime(), and x313_JPEG_cmd().
#define JPEG_CMD_DUMP 0x0f |
Definition at line 636 of file c313a.h.
Referenced by ccam_DMA_ioctl(), x313_JPEG_cmd(), and x313_JPEG_cmd_wrapper().
#define JPEG_CMD_FORGET 0x03 |
Definition at line 625 of file c313a.h.
Referenced by grab_and_send(), main(), send_quicktime(), send_quicktime_clip(), and x313_JPEG_cmd().
#define JPEG_CMD_FRAMES 0x0c |
#define JPEG_CMD_GET 0x02 |
#define JPEG_CMD_JUST_STOP 0x0d |
Definition at line 635 of file c313a.h.
Referenced by PHP_FUNCTION(), send_quicktime_clip(), and x313_JPEG_cmd().
#define JPEG_CMD_L_DONE 0x09 |
Definition at line 631 of file c313a.h.
Referenced by ccam_DMA_ioctl(), and x313_JPEG_cmd_wrapper().
#define JPEG_CMD_N_DONE 0x08 |
Definition at line 630 of file c313a.h.
Referenced by ccam_DMA_ioctl(), and x313_JPEG_cmd_wrapper().
#define JPEG_CMD_RESET 0x00 |
#define JPEG_CMD_RESET0 0x10 |
#define JPEG_CMD_RESTORE_RP 0x07 |
Definition at line 629 of file c313a.h.
Referenced by main(), send_quicktime_clip(), and x313_JPEG_cmd().
#define JPEG_CMD_SAVE_RP 0x06 |
Definition at line 628 of file c313a.h.
Referenced by main(), send_quicktime_clip(), and x313_JPEG_cmd().
#define JPEG_CMD_START 0x0a |
Definition at line 632 of file c313a.h.
Referenced by grab_and_send(), PHP_FUNCTION(), send_quicktime_clip(), Video::Start(), and x313_JPEG_cmd().
#define JPEG_CMD_STOP 0x0b |
Definition at line 633 of file c313a.h.
Referenced by grab_and_send(), send_quicktime_clip(), and x313_JPEG_cmd().
#define JPEG_CTRL_MONOCHROME 0x400 |
#define JPEG_CTRL_NOMOSAIC 0x1000 |
#define LSEEK_AUTOEXP_GET 0x1a |
#define LSEEK_AUTOEXP_SET 0x19 |
#define LSEEK_CAMSEQSTATE 0x13 |
#define LSEEK_EARLY_TIMESTAMP_PGM 0x1e |
#define LSEEK_FLUSH_CACHE 0x18 |
#define LSEEK_GET_FPGA_TIME 0x16 |
#define LSEEK_I2C_PGM 0x1c |
#define LSEEK_INIT_SENSOR 0x15 |
#define LSEEK_IRQ_SMART_PGM 0x1d |
#define LSEEK_RESET_SENSOR 0x14 |
#define LSEEK_SET_FPGA_TIME 0x17 |
#define LSEEK_TRIGGER_PGM 0x1b |
#define P_ACTUAL_HEIGHT 5 |
Definition at line 257 of file c313a.h.
Referenced by grab_and_send(), Video::height(), main(), PHP_FUNCTION(), processImage(), programSensor(), send_html_data(), send_quicktime(), send_quicktime_clip(), setCamPars(), and write_sdp().
#define P_ACTUAL_WIDTH 4 |
Definition at line 256 of file c313a.h.
Referenced by grab_and_send(), main(), PHP_FUNCTION(), processImage(), programSensor(), send_html_data(), send_quicktime(), send_quicktime_clip(), setCamPars(), Video::width(), and write_sdp().
#define P_AEXPWND P_AEXPWND_WIDTH |
#define P_AUTOEXP P_AUTOEXP_ON |
#define P_AUTOEXP_ON 76 |
#define P_AUTOEXP_RWIDTH 77 |
#define P_AUXCM 23 |
#define P_BAYER 8 |
Definition at line 260 of file c313a.h.
Referenced by processImage(), program_woi_mt9x001(), programSensor(), send_html_data(), and setCamPars().
#define P_BGFRAME 18 |
Definition at line 277 of file c313a.h.
Referenced by main(), programSensor(), send_html_data(), setCamPars(), startAcquire(), x313_frame_lseek(), x313_frame_open(), x313_frame_read(), and x313_frame_readline().
#define P_BIN_HOR 34 |
Definition at line 305 of file c313a.h.
Referenced by adjustBinning_mt9x001(), program_woi_mt9x001(), programSensor(), send_html_data(), and setCamPars().
#define P_BIN_VERT 35 |
Definition at line 306 of file c313a.h.
Referenced by adjustBinning_mt9x001(), program_woi_mt9x001(), programSensor(), send_html_data(), and setCamPars().
#define P_BITS 40 |
Definition at line 314 of file c313a.h.
Referenced by main(), processImage(), programSensor(), send_html_data(), setCamPars(), x313_frame_lseek(), x313_frame_open(), x313_frame_read(), and x313_frame_readline().
#define P_BSCALE 53 |
Definition at line 336 of file c313a.h.
Referenced by PHP_FUNCTION(), programSensor(), send_html_data(), and setCamPars().
#define P_CAMSEQCOUNT 66 |
Definition at line 354 of file c313a.h.
Referenced by camSeq_interrupt(), setCamSeqCount(), setCamSeqState(), and startAcquire().
#define P_CAMSEQSTATE 65 |
Definition at line 353 of file c313a.h.
Referenced by camogm_status(), camSeq_interrupt(), framePointersXML(), setCamSeqState(), and startAcquire().
#define P_CIRCBUFRP 70 |
Definition at line 359 of file c313a.h.
Referenced by camSeqSetJPEG_rp(), camSeqStartClip(), resetPointers(), and updateJPEG_wp().
#define P_CIRCBUFSIZE 67 |
Definition at line 355 of file c313a.h.
Referenced by camogm_status(), camSeqSetJPEG_rp(), framePointersXML(), updateJPEG_wp(), and x313_setDMABuffer().
#define P_CIRCBUFWP 69 |
Definition at line 358 of file c313a.h.
Referenced by camSeqSetJPEG_rp(), camSeqStartClip(), cmoscam_poll(), resetPointers(), and updateJPEG_wp().
#define P_CLK_FPGA 13 |
In new code use P_CIRCBUFWP instead!
Definition at line 266 of file c313a.h.
Referenced by adjust_fps_2_compressor(), init_FPGA(), init_sensor(), main(), program_woi_mt9x001(), programSensor(), send_html_data(), and setCamPars().
#define P_CLK_SENSOR 14 |
Definition at line 267 of file c313a.h.
Referenced by init_FPGA(), init_sensor(), main(), program_exposure_mt9x001(), program_woi_mt9x001(), programSensor(), send_html_data(), send_quicktime_clip(), and setCamPars().
#define P_COLOR 36 |
Definition at line 308 of file c313a.h.
Referenced by processImage(), programSensor(), send_html_data(), and setCamPars().
#define P_COLOR_SATURATION_BLUE 58 |
Definition at line 344 of file c313a.h.
Referenced by programSensor(), send_html_data(), and setCamPars().
#define P_COLOR_SATURATION_RED 59 |
Definition at line 345 of file c313a.h.
Referenced by programSensor(), send_html_data(), and setCamPars().
#define P_COMPRESSOR_CMD 107 |
Definition at line 404 of file c313a.h.
Referenced by camSeqStop(), compressorRun(), compressorSingle(), compressorStop(), and PHP_FUNCTION().
#define P_DCM_HOR 32 |
Definition at line 303 of file c313a.h.
Referenced by adjustBinning_mt9x001(), program_woi_mt9x001(), programSensor(), send_html_data(), and setCamPars().
#define P_DCM_VERT 33 |
Definition at line 304 of file c313a.h.
Referenced by adjustBinning_mt9x001(), program_exposure_mt9x001(), program_woi_mt9x001(), programSensor(), send_html_data(), and setCamPars().
#define P_DMA_VALID 3 |
#define P_EARLY_TIMESTAMP 112 |
#define P_EXPOS 17 |
Definition at line 276 of file c313a.h.
Referenced by advance_imageParamsR(), autoexp__ioctl(), exposition_unlock(), get_image_exp(), main(), program_exposure_mt9x001(), programSensor(), send_html_data(), setCamPars(), and window2state().
#define P_FATZERO 50 |
#define P_FLIP 30 |
Definition at line 297 of file c313a.h.
Referenced by program_woi_mt9x001(), programSensor(), send_html_data(), and setCamPars().
#define P_FOCUS_FILTER 101 |
#define P_FOCUS_HEIGHT 99 |
#define P_FOCUS_LEFT 96 |
#define P_FOCUS_SHOW 93 |
#define P_FOCUS_SHOW1 94 |
#define P_FOCUS_TOP 98 |
#define P_FOCUS_TOTWIDTH 100 |
#define P_FOCUS_VALUE 95 |
#define P_FOCUS_WIDTH 97 |
#define P_FP100S 55 |
Definition at line 341 of file c313a.h.
Referenced by adjust_fps_2_compressor(), Video::fps(), grab_and_send(), program_exposure_mt9x001(), send_html_data(), setCamPars(), stream__ioctl(), stream__release(), and write_sdp().
#define P_FPGA_XTRA 15 |
Definition at line 268 of file c313a.h.
Referenced by adjust_fps_2_compressor(), program_woi_mt9x001(), programSensor(), send_html_data(), and setCamPars().
#define P_FPNM 43 |
Definition at line 319 of file c313a.h.
Referenced by main(), programSensor(), send_html_data(), and setCamPars().
#define P_FPNS 42 |
Definition at line 317 of file c313a.h.
Referenced by main(), programSensor(), send_html_data(), and setCamPars().
#define P_FPSLM 31 |
Definition at line 301 of file c313a.h.
Referenced by adjust_fps_2_compressor(), program_exposure_mt9x001(), programSensor(), send_html_data(), setCamPars(), stream__ioctl(), and stream__release().
#define P_FRAME 11 |
Definition at line 263 of file c313a.h.
Referenced by advance_imageParamsR(), init_sensor(), main(), and send_html_data().
#define P_FRAMESYNC_DLY 37 |
Definition at line 309 of file c313a.h.
Referenced by programSensor(), send_html_data(), and setCamPars().
#define P_FREECIRCBUF 68 |
the following 3 locations should be in the same 32-byte (8 long) cache line
Definition at line 357 of file c313a.h.
Referenced by camogm_start(), camogm_status(), camSeqSetJPEG_rp(), camSeqStartClip(), framePointersXML(), resetPointers(), and updateJPEG_wp().
#define P_GAINB 48 |
Definition at line 326 of file c313a.h.
Referenced by program_gains_mt9x001(), send_html_data(), and setCamPars().
#define P_GAING 47 |
Definition at line 325 of file c313a.h.
Referenced by program_gains_mt9x001(), send_html_data(), and setCamPars().
#define P_GAINGB 49 |
Definition at line 327 of file c313a.h.
Referenced by program_gains_mt9x001(), send_html_data(), and setCamPars().
#define P_GAINR 46 |
Definition at line 324 of file c313a.h.
Referenced by program_gains_mt9x001(), send_html_data(), and setCamPars().
#define P_GAMMA 60 |
Definition at line 346 of file c313a.h.
Referenced by programSensor(), send_html_data(), and setCamPars().
#define P_GSCALE 75 |
#define P_I2C_BYTES 110 |
#define P_I2C_QPERIOD 109 |
#define P_IMAGE_SIZE 7 |
#define P_IRQ_SMART 111 |
#define P_JPEG_WP 12 |
Definition at line 264 of file c313a.h.
Referenced by camSeqStartClip(), grab_and_send(), main(), resetPointers(), send_html_data(), sendLastFrame(), and updateJPEG_wp().
#define P_LPR 6 |
#define P_MCLK 38 |
Definition at line 310 of file c313a.h.
Referenced by programSensor(), send_html_data(), and setCamPars().
#define P_MICROSECONDS 72 |
#define P_NUMBER 1024 |
Definition at line 191 of file c313a.h.
Referenced by flush_par_cache(), php_elphel_init_globals(), PHP_FUNCTION(), x313_senspars_lseek(), x313_senspars_read(), and x313_senspars_write().
#define P_OVERLAP 21 |
Definition at line 285 of file c313a.h.
Referenced by programSensor(), send_html_data(), and setCamPars().
#define P_OVERSIZE 113 |
#define P_PAGE_ACQ 19 |
Definition at line 282 of file c313a.h.
Referenced by ccam_DMA_ioctl(), programSensor(), send_html_data(), and setCamPars().
#define P_PAGE_READ 20 |
Definition at line 283 of file c313a.h.
Referenced by ccam_DMA_ioctl(), send_html_data(), and x313_frame_read().
#define P_PARS_CHANGED 2 |
Parameters below are accessed through mmap, because of cache coherency problem it make sense to keep them compact (maybe group by 8 - cache line of 32 bytes).
Definition at line 254 of file c313a.h.
Referenced by ccam_DMA_ioctl(), programSensor(), writeSensorDefaults(), and x313_JPEG_cmd_wrapper().
#define P_PERIOD 10 |
Definition at line 262 of file c313a.h.
Referenced by program_exposure_mt9x001(), programSensor(), send_html_data(), and send_quicktime_clip().
#define P_PF_HEIGHT 39 |
Definition at line 311 of file c313a.h.
Referenced by program_woi_mt9x001(), programSensor(), send_html_data(), and setCamPars().
#define P_PGMSENSRSLT 64 |
#define P_PIXEL_HIGH 62 |
Definition at line 348 of file c313a.h.
Referenced by programSensor(), send_html_data(), and setCamPars().
#define P_PIXEL_LOW 61 |
Definition at line 347 of file c313a.h.
Referenced by programSensor(), send_html_data(), and setCamPars().
#define P_QUALITY 54 |
Definition at line 340 of file c313a.h.
Referenced by ccam_DMA_ioctl(), grab_and_send(), jpeg_session_start(), Video::quality(), send_html_data(), send_quicktime(), setCamPars(), update_JPEG_quality(), and x313_dma_update_jpeg_header().
#define P_RSCALE 52 |
Definition at line 335 of file c313a.h.
Referenced by PHP_FUNCTION(), programSensor(), send_html_data(), and setCamPars().
#define P_SECONDS 71 |
#define P_SENSOR 1 |
Definition at line 193 of file c313a.h.
Referenced by adjustBinning_mt9x001(), init_mt9x001(), init_sens(), init_sensor(), main(), program_exposure_mt9x001(), program_sensor_exposition_just(), program_woi_mt9x001(), programSensor(), send_html_data(), and x313_senspars_lseek().
#define P_SENSOR_HEIGHT 57 |
#define P_SENSOR_PHASE 74 |
#define P_SENSOR_WIDTH 56 |
#define P_SHIFTL 41 |
Definition at line 316 of file c313a.h.
Referenced by programSensor(), send_html_data(), and setCamPars().
#define P_SKIP_FRAMES 108 |
Definition at line 408 of file c313a.h.
Referenced by camSeqStartClip(), init_sensor(), and programSensor().
#define P_TASKLET_CTL 106 |
#define P_TILES 73 |
Definition at line 362 of file c313a.h.
Referenced by adjust_fps_2_compressor(), and programSensor().
#define P_TRIG 16 |
Definition at line 271 of file c313a.h.
Referenced by program_exposure_mt9x001(), program_woi_mt9x001(), programSensor(), send_html_data(), and setCamPars().
#define P_TRIG_CONDITION 102 |
timing generator/trigger delay/external trigger control
Definition at line 398 of file c313a.h.
Referenced by program_trigger().
#define P_TRIG_DELAY 103 |
#define P_TRIG_OUT 104 |
#define P_TRIG_PERIOD 105 |
#define P_TRIGGERED 9 |
#define P_UPDATE 0 |
Definition at line 192 of file c313a.h.
Referenced by ccam_DMA_ioctl(), main(), programSensor(), setCamPars(), and x313_senspars_write().
#define P_VEXPOS 44 |
Definition at line 321 of file c313a.h.
Referenced by exposition_unlock(), program_exposure_mt9x001(), program_sensor_exposition(), programSensor(), send_html_data(), and setCamPars().
#define P_VIDEO 22 |
#define P_VIRT_HEIGHT 25 |
Definition at line 291 of file c313a.h.
Referenced by program_exposure_mt9x001(), send_html_data(), and setCamPars().
#define P_VIRT_WIDTH 24 |
Definition at line 290 of file c313a.h.
Referenced by program_exposure_mt9x001(), program_woi_mt9x001(), send_html_data(), and setCamPars().
#define P_VIRTTRIG 45 |
Definition at line 322 of file c313a.h.
Referenced by programSensor(), send_html_data(), and setCamPars().
#define P_WOI_HEIGHT 29 |
Definition at line 295 of file c313a.h.
Referenced by init_sensor(), program_woi_mt9x001(), programSensor(), send_html_data(), and setCamPars().
#define P_WOI_LEFT 26 |
Definition at line 292 of file c313a.h.
Referenced by program_woi_mt9x001(), programSensor(), send_html_data(), and setCamPars().
#define P_WOI_TOP 27 |
Definition at line 293 of file c313a.h.
Referenced by program_woi_mt9x001(), programSensor(), send_html_data(), and setCamPars().
#define P_WOI_WIDTH 28 |
Definition at line 294 of file c313a.h.
Referenced by init_sensor(), programSensor(), send_html_data(), and setCamPars().
#define PROGRAM_SENSOR_0 0x11 |
#define PROGRAM_SENSOR_1 0x12 |
#define SENSOR_IBIS51300 0x40 |
#define SENSOR_KAC1310 0x20 |
Definition at line 213 of file c313a.h.
Referenced by program_sensor_exposition_just(), programSensor(), and send_html_data().
#define SENSOR_KAC5000 0x24 |
Definition at line 214 of file c313a.h.
Referenced by program_sensor_exposition_just(), and programSensor().
#define SENSOR_KAI11000 0x80 |
Definition at line 219 of file c313a.h.
Referenced by program_sensor_exposition_just(), and programSensor().
#define SENSOR_MASK 0xfc |
Definition at line 210 of file c313a.h.
Referenced by program_sensor_exposition_just(), programSensor(), and send_html_data().
#define SENSOR_MT9X001 0x30 |
Definition at line 216 of file c313a.h.
Referenced by init_mt9x001(), program_sensor_exposition_just(), and programSensor().
#define SENSOR_MT9Y001 0x34 |
Definition at line 217 of file c313a.h.
Referenced by program_sensor_exposition_just(), and programSensor().
#define SENSOR_NONE 0xfc |
#define SENSOR_ZR32112 0x04 |
Definition at line 211 of file c313a.h.
Referenced by program_sensor_exposition_just(), programSensor(), and send_html_data().
#define SENSOR_ZR32212 0x08 |
Definition at line 212 of file c313a.h.
Referenced by program_sensor_exposition_just(), programSensor(), and send_html_data().
#define X3X3_I2C 134 |
#define X3X3_I2C1_16_AINC 4 |
Definition at line 46 of file c313a.h.
Referenced by xi2c_init(), xi2c_lseek(), xi2c_open(), xi2c_read(), xi2c_release(), and xi2c_write().
#define X3X3_I2C1_8_AINC 3 |
Definition at line 45 of file c313a.h.
Referenced by xi2c_init(), xi2c_open(), xi2c_read(), xi2c_release(), and xi2c_write().
#define X3X3_I2C1_RAW 6 |
Definition at line 48 of file c313a.h.
Referenced by xi2c_init(), xi2c_lseek(), xi2c_open(), xi2c_read(), xi2c_release(), and xi2c_write().
#define X3X3_I2C_16_AINC 2 |
Definition at line 44 of file c313a.h.
Referenced by xi2c_init(), xi2c_lseek(), xi2c_open(), xi2c_read(), xi2c_release(), and xi2c_write().
#define X3X3_I2C_8_AINC 1 |
Definition at line 43 of file c313a.h.
Referenced by xi2c_init(), xi2c_open(), xi2c_read(), xi2c_release(), and xi2c_write().
#define X3X3_I2C_CHANNELS 2 |
#define X3X3_I2C_CTRL 0 |
Definition at line 42 of file c313a.h.
Referenced by xi2c_init(), xi2c_open(), xi2c_read(), xi2c_release(), and xi2c_write().
#define X3X3_I2C_ENABLE 7 |
Definition at line 49 of file c313a.h.
Referenced by xi2c_init(), xi2c_open(), xi2c_read(), xi2c_release(), and xi2c_write().
#define X3X3_I2C_ENABLE_16 4 |
#define X3X3_I2C_ENABLE_8 3 |
#define X3X3_I2C_ENABLE_RAW 2 |
#define X3X3_I2C_ENABLE_RD 0 |
#define X3X3_I2C_ENABLE_WR 1 |
#define X3X3_I2C_RAW 5 |
Definition at line 47 of file c313a.h.
Referenced by xi2c_init(), xi2c_lseek(), xi2c_open(), xi2c_read(), xi2c_release(), and xi2c_write().