/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/model.c

  • 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:
26
26
int ipecamera_read(pcilib_t *ctx, pcilib_register_bank_description_t *bank, pcilib_register_addr_t addr, pcilib_register_value_t *value) {
27
27
    uint32_t val, tmp[4];
28
28
    char *wr, *rd;
29
 
    struct timeval start, cur;
 
29
    struct timeval start;//, cur;
30
30
    int retries = RETRIES;
31
31
 
32
32
    assert(addr < 128);
116
116
int ipecamera_write(pcilib_t *ctx, pcilib_register_bank_description_t *bank, pcilib_register_addr_t addr, pcilib_register_value_t value) {
117
117
    uint32_t val, tmp[4];
118
118
    char *wr, *rd;
119
 
    struct timeval start, cur;
 
119
    struct timeval start;//, cur;
120
120
    int retries = RETRIES;
121
121
 
122
122
    assert(addr < 128);