// starts (so it will always be >= height/2 + extra_lines_top).
struct VideoFormat {
uint16_t id = 0; // For debugging/logging only.
unsigned width = 0, height = 0, second_field_start = 0;
unsigned extra_lines_top = 0, extra_lines_bottom = 0;
unsigned frame_rate_nom = 0, frame_rate_den = 0;
// starts (so it will always be >= height/2 + extra_lines_top).
struct VideoFormat {
uint16_t id = 0; // For debugging/logging only.
unsigned width = 0, height = 0, second_field_start = 0;
unsigned extra_lines_top = 0, extra_lines_bottom = 0;
unsigned frame_rate_nom = 0, frame_rate_den = 0;