/alps/ipecamera

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/ipecamera

« back to all changes in this revision

Viewing changes to private.h

  • Committer: Suren A. Chilingaryan
  • Date: 2017-08-16 20:41:23 UTC
  • Revision ID: csa@suren.me-20170816204123-rahgc2euzxhrc4op
Support HighFlex-based ipecamera

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
#define CMOSIS_WIDTH (CMOSIS_MAX_CHANNELS * CMOSIS_PIXELS_PER_CHANNEL)
64
64
//#define IPECAMERA_MAX_LINES 1088
65
65
#define CMOSIS_MAX_LINES 2048
 
66
 
 
67
/*
66
68
#define CMOSIS20_MAX_CHANNELS 8
67
69
#define CMOSIS20_PIXELS_PER_CHANNEL 640
68
70
#define CMOSIS20_WIDTH (CMOSIS20_MAX_CHANNELS * CMOSIS20_PIXELS_PER_CHANNEL)
 
71
*/
 
72
#define CMOSIS20_PIXELS_PER_CHANNEL 320
 
73
#define CMOSIS20_WIDTH (CMOSIS_MAX_CHANNELS * CMOSIS_PIXELS_PER_CHANNEL)
69
74
#define CMOSIS20_MAX_LINES 3840
70
75
 
71
 
#define IPECAMERA_FRAME_REQUEST                 0x80000209 // 0x1E9
72
 
#define IPECAMERA_IDLE                          0x80000201 // 0x1E1
 
76
#define IPECAMERA_FRAME_REQUEST                 0x209 // 0x80000209 // 0x1E9
 
77
#define IPECAMERA_IDLE                          0x201 // 0x80000201 // 0x1E1
73
78
#define IPECAMERA_START_INTERNAL_STIMULI        0x1F1
74
79
 
75
80
#define IPECAMERA_MODE_16_CHAN_IO               0
243
248
    char saved_header[CMOSIS_FRAME_HEADER_SIZE];        /**< If it happened that the frame header is split between 2 DMA packets, this variable holds the part containing in the first packet */
244
249
#endif /* IPECAMERA_BUG_MULTIFRAME_HEADERS */
245
250
 
 
251
    size_t data_line_size;
246
252
    ipecamera_image_dimensions_t dim;
247
253
 
248
254
    pthread_t rthread;