summaryrefslogtreecommitdiffstats
path: root/ipecamera/ipecamera.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-04-27 02:28:57 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-04-27 02:28:57 +0200
commite1265fa32837f457ee2c2fa259d12c9545af4bbf (patch)
tree64b8d5f1c81c14f019047b0cb00cb77c2dcecf55 /ipecamera/ipecamera.h
parenta37beb44d59cca329d0d9345c21505af81030688 (diff)
downloadipecamera-e1265fa32837f457ee2c2fa259d12c9545af4bbf.tar.gz
ipecamera-e1265fa32837f457ee2c2fa259d12c9545af4bbf.tar.bz2
ipecamera-e1265fa32837f457ee2c2fa259d12c9545af4bbf.tar.xz
ipecamera-e1265fa32837f457ee2c2fa259d12c9545af4bbf.zip
First stand-alone ipecamera implementation
Diffstat (limited to 'ipecamera/ipecamera.h')
-rw-r--r--ipecamera/ipecamera.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/ipecamera/ipecamera.h b/ipecamera/ipecamera.h
deleted file mode 100644
index 673eea1..0000000
--- a/ipecamera/ipecamera.h
+++ /dev/null
@@ -1,38 +0,0 @@
-#ifndef _IPECAMERA_H
-#define _IPECAMERA_H
-
-#include <ufodecode.h>
-
-typedef struct ipecamera_s ipecamera_t;
-
-typedef struct {
- unsigned int bpp; /*<< Bits per pixel (8, 16, or 32) as returned by IPECAMERA_IMAGE_DATA */
- unsigned int real_bpp; /*<< Bits per pixel as returned by camera and IPECAMERA_PACKED_IMAGE */
- unsigned int width, height;
-} ipecamera_image_dimensions_t;
-
-typedef enum {
- IPECAMERA_IMAGE_DATA = 0,
- IPECAMERA_RAW_DATA = 1,
- IPECAMERA_DIMENSIONS = 0x8000,
- IPECAMERA_IMAGE_REGION = 0x8010,
- IPECAMERA_PACKED_IMAGE = 0x8020,
- IPECAMERA_PACKED_LINE = 0x8021,
- IPECAMERA_PACKED_PAYLOAD = 0x8022,
- IPECAMERA_CHANGE_MASK = 0x8030
-} ipecamera_data_type_t;
-
-typedef uint16_t ipecamera_change_mask_t;
-typedef uint16_t ipecamera_pixel_t;
-
-typedef struct {
- pcilib_event_info_t info;
- UfoDecoderMeta meta; /**< Frame metadata declared in ufodecode.h */
- int image_ready; /**< Indicates if image data is parsed */
- int image_broken; /**< Unlike the info.flags this is bound to the reconstructed image (i.e. is not updated on rawdata overwrite) */
- size_t raw_size; /**< Indicates the actual size of raw data */
-} ipecamera_event_info_t;
-
-int ipecamera_set_buffer_size(ipecamera_t *ctx, int size);
-
-#endif /* _IPECAMERA_H */