SPRUHZ7K August 2015 – April 2024 AM5706 , AM5708 , AM5716 , AM5718 , AM5718-HIREL
Table 9-12 shows the bitfields in the Meta Data start codes.
Byte | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|
SC3 | 1 | BOP | EOP | RSVD | CH_ID[3:0] | |||
SC3 | 1 | BOP | EOP | RSVD | CH_ID[3:0] | |||
SC2 | 0 | BOL | EOL | VDET | LINE_ID[10:7] | |||
SC1 | ~LINE_ID[6] | LINE_ID[6:0] | ||||||
SC0 | PAD | F | V | H | P3 | P2 | P1 | P0 |
BOP tags the line as a startline in a period. A period is defined as the contiguous lines in a vertical blanking period or the contiguous lines in a field or frame. For the vertical blanking period case, the vertical blanking at the bottom of the previous field or frame combined with the vertical blanking at the top of the current field or frame is combined to create one period.
EOP tags the line as an endline in a period. Figure 9-52 shows the definition of the two types of Periods as outlined by BOP and EOP.
For the Split Line at the top of a Period, the BOP bit is set for both halves of the split line. Likewise, for the Split Line at the bottom of a Period, the EOP bit is set for both halves of the split line.
CH_ID is the channel ID, which tags the camera source that generated the incoming line. A maximum of 16 camera sources are support per Pixel Input Clock Domain.
LINE_ID is the line number, starting from 0 and incrementing by one for each subsequent line from the same source.
PAD is a flag which tags the line as an artificially inserted padding line. When PAD is ‘0’, the line should be discarded.
F, V, H, P3, P2, P1, and P0 are the bits representing the normal XY code. F is the Field ID associated with line, V signals when the line is in the vertical blanking, H specifies that the line is in the Horizontal Blanking, and P3:P0 are the protection bits.
Since only active video and vertical ancillary data lines are encapsulated in the Meta Data, the H bit in the SC0 byte should never be ‘1’.