/alps/ipecamera

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/ipecamera

« back to all changes in this revision

Viewing changes to ipecamera/private.h

  • Committer: Suren A. Chilingaryan
  • Date: 2015-03-29 16:05:58 UTC
  • Revision ID: csa@suren.me-20150329160558-326s1v2vlh850s6t
Fix frame size computation in ipecamera and few debuging options

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#include "ipecamera.h"
5
5
 
6
6
#define IPECAMERA_BUG_EXTRA_DATA
7
 
#define IPECAMERA_BUG_MULTIFRAME_PACKETS
 
7
#define IPECAMERA_BUG_MULTIFRAME_PACKETS        //**< this is by design, start of packet comes directly after the end of last one in streaming mode */
8
8
//#define IPECAMERA_BUG_INCOMPLETE_PACKETS
9
9
#define IPECAMERA_BUG_POSTPONED_READ
 
10
#define IPECAMERA_DEBUG_BROKEN_FRAMES           "/mnt/frames"
10
11
//#define IPECAMERA_DEBUG_RAW_PACKETS           "/mnt/frames"
11
12
 
12
13
//#define IPECAMERA_ANNOUNCE_READY              //**< announce new event only after the reconstruction is done */
16
17
#define IPECAMERA_SLEEP_TIME 250000             //**< Michele thinks 250 should be enough, but reset failing in this case */
17
18
#define IPECAMERA_NEXT_FRAME_DELAY 1000         //**< Michele requires 30000 to sync between End Of Readout and next Frame Req */
18
19
#define IPECAMERA_WAIT_FRAME_RCVD_TIME 0        //**< by Uros ,wait 6 ms */
 
20
#define IPECAMERA_TRIGGER_WAIT_IDLE 200000      //**< In trigger call allow specified timeout for camera to get out of busy state. Set 0 to fail immideatly */
 
21
#define IPECAMERA_READ_STATUS_DELAY 1000        //**< According to Uros, 1ms delay needed before consequitive reads from status registers */
 
22
 
19
23
#define IPECAMERA_NOFRAME_SLEEP 100
20
24
#define IPECAMERA_NOFRAME_PREPROC_SLEEP 100
21
25
 
83
87
 
84
88
    pcilib_register_t packet_len_reg;
85
89
    pcilib_register_t control_reg, status_reg;
86
 
    pcilib_register_t status3_reg;
 
90
    pcilib_register_t status2_reg, status3_reg;
87
91
    pcilib_register_t n_lines_reg;
88
92
    uint16_t line_reg;
89
93
    pcilib_register_t exposure_reg;