/alps/ipecamera

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/ipecamera
245 by Suren A. Chilingaryan
First stand-alone ipecamera implementation
1
#ifndef _IPECAMERA_BASE_H
2
#define _IPECAMERA_BASE_H
15 by Suren A. Chilingaryan
Infrastructure for event API
3
4
#include <stdio.h>
5
245 by Suren A. Chilingaryan
First stand-alone ipecamera implementation
6
#include <pcilib.h>
16 by Suren A. Chilingaryan
Prototype of IPECamera image protocol
7
#include "ipecamera.h"
126 by Suren A. Chilingaryan
multithread preprocessing of ipecamera frames and code reorganization
8
31 by Suren A. Chilingaryan
Introduce pcilib_context_t type instead pointer to void
9
pcilib_context_t *ipecamera_init(pcilib_t *pcilib);
10
void ipecamera_free(pcilib_context_t *ctx);
11
126 by Suren A. Chilingaryan
multithread preprocessing of ipecamera frames and code reorganization
12
pcilib_dma_context_t *ipecamera_init_dma(pcilib_context_t *ctx);
13
31 by Suren A. Chilingaryan
Introduce pcilib_context_t type instead pointer to void
14
int ipecamera_reset(pcilib_context_t *ctx);
117 by Suren A. Chilingaryan
new event architecture, first trial
15
int ipecamera_start(pcilib_context_t *ctx, pcilib_event_t event_mask, pcilib_event_flags_t flags);
16
int ipecamera_stop(pcilib_context_t *ctx, pcilib_event_flags_t flags);
31 by Suren A. Chilingaryan
Introduce pcilib_context_t type instead pointer to void
17
int ipecamera_trigger(pcilib_context_t *ctx, pcilib_event_t event, size_t trigger_size, void *trigger_data);
117 by Suren A. Chilingaryan
new event architecture, first trial
18
int ipecamera_stream(pcilib_context_t *vctx, pcilib_event_callback_t callback, void *user);
126 by Suren A. Chilingaryan
multithread preprocessing of ipecamera frames and code reorganization
19
int ipecamera_next_event(pcilib_context_t *vctx, pcilib_timeout_t timeout, pcilib_event_id_t *evid, size_t info_size, pcilib_event_info_t *info);
20
21
int ipecamera_get(pcilib_context_t *ctx, pcilib_event_id_t event_id, pcilib_event_data_type_t data_type, size_t arg_size, void *arg, size_t *size, void **buf);
22
int ipecamera_return(pcilib_context_t *ctx, pcilib_event_id_t event_id, pcilib_event_data_type_t data_type, void *data);
23
245 by Suren A. Chilingaryan
First stand-alone ipecamera implementation
24
#endif /* _IPECAMERA_BASE_H */