64
67
* \brief Set raw data stream
67
70
* \param raw Raw data stream
68
71
* \param num_bytes Size of data stream buffer in bytes
73
76
decoder->num_bytes = num_bytes;
74
77
decoder->current_pos = 0;
77
static int ipe_decode_frame(uint16_t *pixel_buffer, uint32_t *raw, int num_rows, int *offset)
80
static int ufo_decode_frame(uint16_t *pixel_buffer, uint32_t *raw, int num_rows, int *offset)
79
82
static int channel_order[IPECAMERA_NUM_CHANNELS] = { 15, 13, 14, 12, 10, 8, 11, 7, 9, 6, 5, 2, 4, 3, 0, 1 };