summaryrefslogtreecommitdiffstats
path: root/ipecamera/ipecamera.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-04-12 21:18:13 +0200
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-04-12 21:18:13 +0200
commit5ccdcb53a36ed95f08a99863164dc2151e47c2af (patch)
treeb2363d7e9f7717157230ffa9c36dca05238cc8da /ipecamera/ipecamera.h
parent445d5db0183cf5dc98a33160857f22f012cacea6 (diff)
downloadpcitool-5ccdcb53a36ed95f08a99863164dc2151e47c2af.tar.gz
pcitool-5ccdcb53a36ed95f08a99863164dc2151e47c2af.tar.bz2
pcitool-5ccdcb53a36ed95f08a99863164dc2151e47c2af.tar.xz
pcitool-5ccdcb53a36ed95f08a99863164dc2151e47c2af.zip
Allow access to implementation context and provide call to set size of internal buffer for IPECamera
Diffstat (limited to 'ipecamera/ipecamera.h')
-rw-r--r--ipecamera/ipecamera.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ipecamera/ipecamera.h b/ipecamera/ipecamera.h
index d54dda2..49afe0c 100644
--- a/ipecamera/ipecamera.h
+++ b/ipecamera/ipecamera.h
@@ -1,6 +1,8 @@
#ifndef _IPECAMERA_H
#define _IPECAMERA_H
+typedef struct ipecamera_s ipecamera_t;
+
typedef struct {
int bpp; /*<< Bits per pixel (8, 16, or 32) as returned by IPECAMERA_IMAGE_DATA */
int real_bpp; /*<< Bits per pixel as returned by camera and IPECAMERA_PACKED_IMAGE */
@@ -20,4 +22,7 @@ typedef enum {
typedef uint16_t ipecamera_change_mask_t;
typedef uint16_t ipecamera_pixel_t;
+
+int ipecamera_set_buffer_size(ipecamera_t *ctx, int size);
+
#endif /* _IPECAMERA_H */