wiki:UfoCameraDataFormat

Version 8 (modified by Uros Stevanovic, 11 years ago) (diff)

--

UFO Camera Data Format

  • Consist of Header (256 bits), Payload data (size vary on the number of lines, size per line is 22528 bits) and Tail (256 bits).

Header data

  • Current header structure consist of following eight 32-bit words:
Header bits Value
255:224 0x51111111
223:192 0x52222222
191:160 0x53333333
159:128 0x54444444
127:96 0x55555555
95:92 0x5
91:82 starting line of the frame
81:75 number of skipped lines
74:64 number of lines in frame
63:60 0x5
59:56 version number, now 0x4
55:32 frame number
31:24 0x50
23:0 timestamp (80ns precision counter)


t

Payload data

  • Payload data per row for each of the 16 channels consist of the 32-bit Row Header, followed by the 42 32-bit words of the Row data, and final 32-bit Row Data Tail
ROW data header bits Value
3:0 Channel number
14:4 Row number (from 0 to 1087)
15 0
19:16 Pixel size, now is 0xA (10)
27:20 Number of pixels in row
31:28 0x8


ROW data bits Value
29:0 three pixels of 10-bit size
31:30 0x3


ROW data tail bits Value
9:0 0x55
29:10 two pixels of 10-bit size
31:30 0x3


Tail data

  • Tail contains system status information. It consists of the following eight 32-bit words:
Tail bits Value
255:224 0x0AAAAAAA
223:192 0x0BBBBBBB
191:160 status1
159:128 status2
127:96 status3
95:64 0x0FFFFFFF
63:32 0x00000000
31:0 0x01111111