/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 ipecamera/ipecamera.h

  • Committer: Suren A. Chilingaryan
  • Date: 2011-12-12 04:45:35 UTC
  • Revision ID: csa@dside.dyndns.org-20111212044535-6no1q7g230i8uvlv
multithread preprocessing of ipecamera frames and code reorganization

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
typedef struct ipecamera_s ipecamera_t;
5
5
 
6
6
typedef  struct {
7
 
    int bpp;                    /*<< Bits per pixel (8, 16, or 32) as returned by IPECAMERA_IMAGE_DATA */
8
 
    int real_bpp;               /*<< Bits per pixel as returned by camera and IPECAMERA_PACKED_IMAGE */
9
 
    int width, height;
 
7
    unsigned int bpp;                   /*<< Bits per pixel (8, 16, or 32) as returned by IPECAMERA_IMAGE_DATA */
 
8
    unsigned int real_bpp;              /*<< Bits per pixel as returned by camera and IPECAMERA_PACKED_IMAGE */
 
9
    unsigned int width, height;
10
10
} ipecamera_image_dimensions_t;
11
11
 
12
12
typedef enum {
25
25
 
26
26
typedef struct {
27
27
    pcilib_event_info_t info;
 
28
    int image_ready;            /**< Indicates if image data is parsed */
 
29
    int image_broken;           /**< Unlike the info.flags this is bound to the reconstructed image (i.e. is not updated on rawdata overwrite) */
28
30
    size_t raw_size;            /**< Indicates the actual size of raw data */
29
 
    int image_ready;            /**< Indicates if image data is parsed */
30
31
} ipecamera_event_info_t;
31
32
 
32
33
int ipecamera_set_buffer_size(ipecamera_t *ctx, int size);