Data bus, data lane, and clock

The video capture API includes constants that specify the video capture data bus, data lane and clock properties.

Definitions:

#define CAPTURE_PROPERTY_INTERFACE_TYPE CAPTURE_PROPERTY('Q','P','I','F')

Interface type.

Read/Write uint32_t

#define CAPTURE_PROPERTY_DATA_BUS_WIDTH CAPTURE_PROPERTY( 'Q', 'D', 'B', 'W' )

Width of data bus for parallel interfaces.

Valid values are 8, 10, 16, etc.

Read/Write int

#define CAPTURE_PROPERTY_CSI2_NUM_DATA_LANES CAPTURE_PROPERTY('Q','C','N','D')

Number of CSI2 data lanes.

Valid values are 1 to 4, or -1 to default to the number or position that's already set in the hardware.

Read/Write int

#define CAPTURE_PROPERTY_CSI2_CLK_LANE_POS CAPTURE_PROPERTY('Q','C','C','P')

Position of CSI2 clock lane.

Valid values are 1 to 4, or -1 to default to the number or position that's already set in the hardware.

Read/Write int

#define CAPTURE_PROPERTY_CSI2_DATA0_LANE_POS CAPTURE_PROPERTY('Q','C','D','0')

Position of CSI2 data lane 0.

Valid values are 1 to 4, or -1 to default to the number or position that's already set in the hardware.

Read/Write int

#define CAPTURE_PROPERTY_CSI2_DATA1_LANE_POS CAPTURE_PROPERTY('Q','C','D','1')

Position of CSI2 data lane 1.

Valid values are 1 to 4, or -1 to default to the number or position that's already set in the hardware. Read/Write int

#define CAPTURE_PROPERTY_CSI2_DATA2_LANE_POS CAPTURE_PROPERTY('Q','C','D','2')

Position of CSI2 data lane 2.

Valid values are 1 to 4, or -1 to default to the number or position that's already set in the hardware.

Read/Write int

#define CAPTURE_PROPERTY_CSI2_DATA3_LANE_POS CAPTURE_PROPERTY('Q','C','D','3')

Position of CSI2 data lane 3.

Valid values are 1 to 4, or -1 to default to the number or position that's already set in the hardware.

Read/Write int

#define CAPTURE_PROPERTY_CSI2_VCHANNEL_NUM CAPTURE_PROPERTY('Q','C','V','N')

CSI2 Virtual Channel Identifier number.

Valid values are 0 to 3, or -1 to default to the virtual channel indentifier number that's already set in the hardware.

Read/Write int

#define CAPTURE_PROPERTY_CSI2_DDR_CLOCK_MHZ CAPTURE_PROPERTY('Q','C','D','C')

CSI2 dual date rate (DDR) clock frequency in MHz.

Used on the CSI2 receiver side, to match the DDR clock of the transmitter.

Read/Write int