From 5ccdcb53a36ed95f08a99863164dc2151e47c2af Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 12 Apr 2011 21:18:13 +0200 Subject: Allow access to implementation context and provide call to set size of internal buffer for IPECamera --- ipecamera/ipecamera.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ipecamera/ipecamera.h') 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 */ -- cgit v1.2.3