0x028PIXEL_TYPERWreset generic
Pixel format of the stream: the layout and the bit depth on the link. A write restarts the stream path, so write it with the acquisition stopped. The value also leaves the core on pixel_type_out. Resets to PIXEL_TYPE_DEFAULT.
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
reserved
NOT_BUILT
LINE_ERR
reserved
LAYOUT
WIDTH
| Bits | Field | Access | Description |
|---|---|---|---|
| [31:18] | reserved | Reserved. | |
| [17] | NOT_BUILT | RO | 1 = the code has no path in this bitstream (layout or bit depth not built, or not a code). No video moves until a code that is built is written. |
| [16] | LINE_ERR | RO | 1 = a line broke the width rule of the format, or a frame started inside a line. Sticky until the stream path restarts. |
| [15:8] | reserved | Reserved. | |
| [7:4] | LAYOUT | RW | 0 Mono / Bayer, 1 RGB, 2 YCbCr 4:4:4, 3 YCbCr 4:2:2, 4 YCbCr 4:2:0. |
| [3:0] | WIDTH | RW | Bit depth on the link: 8 = 8-bit, 9 = 10-bit, A = 12-bit, B = 14-bit, C = 16-bit. |
0x030VIDEO_CAPROreset build
What the bitstream was built with, so software can offer only the formats that exist. The default build (4 pixels per beat, 16-bit, Mono / Bayer, every bit depth) reads 0x1F011014.
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
WIDTHS
LAYOUTS
BPC
CPP
PPC
| Bits | Field | Access | Description |
|---|---|---|---|
| [31:29] | reserved | Reserved. | |
| [28:24] | WIDTHS | RO | Link bit depths built, bit 24 + (WIDTH - 8): 8, 10, 12, 14, 16-bit. |
| [23:21] | reserved | Reserved. | |
| [20:16] | LAYOUTS | RO | Layouts built, bit 16 + LAYOUT: Mono / Bayer, RGB, YCbCr 4:4:4, 4:2:2, 4:2:0. |
| [15:13] | reserved | Reserved. | |
| [12:8] | BPC | RO | VID_BPC, bits per component on the bus. |
| [7:4] | CPP | RO | VID_CPP, components per pixel the bus has room for. |
| [3:0] | PPC | RO | VID_PPC, pixels per beat. |
| Offset | Name | Access | Meaning |
|---|---|---|---|
| 0x02C | STREAM_LANES | RW | Bits [2:0]: 1 to NUM_LANES. Write it with ConnectionConfig and after a ConnectionReset. A value the build does not have is refused with SLVERR. |
| 0x034 | LANE_STATUS | RO | Bits [3:0]: connection locked. Bits [11:8]: loss of lock seen since the last read (cleared on read). |