Linux Kernel
3.7.1
|
#include <videodev2.h>
struct v4l2_bt_timings - BT.656/BT.1120 timing data : total width of the active video in pixels : total height of the active video in lines : Interlaced or progressive : Positive or negative polarities : Pixel clock in HZ. Ex. 74.25MHz->74250000 :Horizontal front porch in pixels : Horizontal Sync length in pixels : Horizontal back porch in pixels :Vertical front porch in lines : Vertical Sync length in lines : Vertical back porch in lines :Vertical front porch for the even field (aka field 2) of interlaced field formats : Vertical Sync length for the even field (aka field 2) of interlaced field formats :Vertical back porch for the even field (aka field 2) of interlaced field formats : Standards the timing belongs to : Flags : Reserved fields, must be zeroed.
A note regarding vertical interlaced timings: height refers to the total height of the active video frame (= two fields). The blanking timings refer to the blanking of each field. So the height of the total frame is calculated as follows:
tot_height = height + vfrontporch + vsync + vbackporch + il_vfrontporch + il_vsync + il_vbackporch
The active height of each field is height / 2.
Definition at line 1018 of file videodev2.h.
__u32 flags |
Definition at line 1034 of file videodev2.h.
__u32 hbackporch |
Definition at line 1026 of file videodev2.h.
__u32 height |
Definition at line 1020 of file videodev2.h.
__u32 hfrontporch |
Definition at line 1024 of file videodev2.h.
__u32 hsync |
Definition at line 1025 of file videodev2.h.
__u32 il_vbackporch |
Definition at line 1032 of file videodev2.h.
__u32 il_vfrontporch |
Definition at line 1030 of file videodev2.h.
__u32 il_vsync |
Definition at line 1031 of file videodev2.h.
__u32 interlaced |
Definition at line 1021 of file videodev2.h.
__u64 pixelclock |
Definition at line 1023 of file videodev2.h.
__u32 polarities |
Definition at line 1022 of file videodev2.h.
__u32 reserved[14] |
Definition at line 1035 of file videodev2.h.
__u32 standards |
Definition at line 1033 of file videodev2.h.
__u32 vbackporch |
Definition at line 1029 of file videodev2.h.
__u32 vfrontporch |
Definition at line 1027 of file videodev2.h.
__u32 vsync |
Definition at line 1028 of file videodev2.h.
__u32 width |
Definition at line 1019 of file videodev2.h.