hi_vo_sync_info
Description
Defines the timing information.
This struct is not used in the current version. Users are aware of it only when hi_vo_intf_sync is set to HI_VO_OUT_USER.
Prototype
typedef struct {
hi_bool syncm;
hi_bool iop;
hi_u8 intfb;
hi_u16 vact;
hi_u16 vbb;
hi_u16 vfb;
hi_u16 hact;
hi_u16 hbb;
hi_u16 hfb;
hi_u16 hmid;
hi_u16 bvact;
hi_u16 bvbb;
hi_u16 bvfb;
hi_u16 hpw;
hi_u16 vpw;
hi_bool idv;
hi_bool ihs;
hi_bool ivs;
} hi_vo_sync_info;
Members
Member |
Description |
|---|---|
syncm |
Sync mode. For the RGB interface, set this parameter to 1, which indicates signal synchronization. Value range: [0, 1] |
iop |
0: interlaced mode; 1: progressive mode. Generally, this parameter is set to 1 for the RGB interface. Value range: [0, 1] |
intfb |
Invalid parameter, which can be ignored. Value range: [0, 255] |
vact |
Vertical active region. It indicates the vertical active region of the top field in interlaced output mode. (Unit: line) Value range: [100, 4096] |
vbb |
Vertical blank back porch. It indicates the vertical blank back porch of the top field in interlaced output mode. (Unit: line) Value range: [1, 256] |
vfb |
Vertical blank front porch. It indicates the vertical blank front porch of the top field in interlaced output mode. (Unit: line) Value range: [1, 256] |
hact |
Horizontal active region. (Unit: pixel) Value range: [1, 4096] |
hbb |
Horizontal blank back porch. (Unit: pixel) Value range: [1, 65535] |
hfb |
Horizontal blank front porch. (Unit: pixel) Value range: [1, 65535] |
hmid |
Vertical sync active pixel value of the bottom field. Value range: [0, 65535] |
bvact |
Vertical active region of the bottom field, which is valid in interlaced mode. (Unit: line) Value range: [0, 4096] |
bvbb |
Vertical blank back porch of the bottom field, which is valid in interlaced mode. (Unit: line) Value range: [0, 256] |
bvfb |
Vertical blank front porch of the bottom field, which is valid in interlaced mode. (Unit: line) Value range: [0, 256] |
hpw |
Width of the horizontal sync signal. (Unit: pixel) Value range: [1, 65535] |
vpw |
Width of the vertical sync signal. (Unit: line) Value range: [1, 256] |
idv |
Polarity of the valid data signal. 0: active high; 1: active low Value range: [0, 1] |
ihs |
Polarity of the horizontal active signal. 0: active high, 1: active low Value range: [0, 1] |
ivs |
Polarity of the vertical active signal. 0: active high, 1: active low Value range: [0, 1] |