31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16
15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00
Unused
Bits
31 :
24
FIRST_VIDEO_LINE
Bits
23 :
16R/W
0x16
Specify the index of the first line in a field/frame to have active video. 8 bits unsigned integer.
For interlaced video: When VSync5=B'0', FirstVideoLine is restricted to be greater than 7.
When VSync5=B 1 , FirstVideoLine is restricted to be greater than 9.
Unused
Bits
15 :
11
NUM_LINES
Bits
10 :
0R/W
0x20D
Specify the total number of lines in a video frame. 11 bits unsigned integer.
Allowed range is 0 to 2048.
For interlaced video: When NTSC, and FirstVideoLine is greater than 20, then
NumLines is restricted to be greater than 2*(FirstVideoLine+18).
When NTSC, and FirstVideoLine is not greater than 20, then NumLines is restricted to be greater than 77.
When PAL, and FirstVideoLine is greater than 22, then NumLines is restricted to be greater than 2*(FirstVideoLine+18).
When PAL, and FirstVideoLine is not greater than 22, then NumLines is restricted to be greater than 81.
If NumLines is even, then it is restricted to be divisible by 4.
If NumLines is odd, then it is restricted to be divisible by 4 with a remainder of 1.