/alps/ipecamera

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/ipecamera

« back to all changes in this revision

Viewing changes to base.c

  • Committer: Suren A. Chilingaryan
  • Date: 2018-08-30 13:52:56 UTC
  • Revision ID: csa@suren.me-20180830135256-ec1ioqbrdu0nlc9i
Fix estimation of size of UFO6 frame (works for Desy camera)

Show diffs side-by-side

added added

removed removed

Lines of Context:
361
361
        ctx->dim.width = CMOSIS20_WIDTH;
362
362
        ctx->dim.height = CMOSIS20_MAX_LINES;
363
363
 
364
 
        ctx->data_line_size = (2 + CMOSIS20_PIXELS_PER_CHANNEL) * 32;
 
364
            // There is skipped C0 line once per every two lines (which are in fact encoded together)
 
365
        ctx->data_line_size = CMOSIS20_PIXELS_PER_CHANNEL * 32 + 16;
365
366
        break;
366
367
     default:
367
368
        UNLOCK(run);