Polarity

The video capture API includes constants that specify the video capture polarity properties.

Definitions:

#define CAPTURE_PROPERTY_INVERT_FID_POL CAPTURE_PROPERTY( 'Q', 'L', 'F', 'I' )

Specifies whether the field ID signal polarity is inverted.

  • 0: Set polarity to not inverted

  • 1: Set polarity to inverted

  • -1: Don't set the polarity; use whatever polarity is already set

Read/Write int

#define CAPTURE_PROPERTY_INVERT_VSYNC_POL CAPTURE_PROPERTY( 'Q', 'L', 'H', 'S' )

Specifies whether the vertical synchronization polarity is inverted.

  • 0: Set polarity to not inverted

  • 1: Set polarity to inverted

  • -1: Don't set the polarity; use whatever polarity is already set

Read/Write int

#define CAPTURE_PROPERTY_INVERT_HSYNC_POL CAPTURE_PROPERTY( 'Q', 'L', 'V', 'S' )

Specifies whether the horizontal synchronization polarity is inverted.

  • 0: Set polarity to not inverted

  • 1: Set polarity to inverted

  • -1: Don't set the polarity; use whatever polarity is already set

Read/Write int

#define CAPTURE_PROPERTY_INVERT_CLOCK_POL CAPTURE_PROPERTY( 'Q', 'L', 'P', 'C' )

Specifies whether the clock polarity is inverted.

  • 0: Set polarity to not inverted

  • 1: Set polarity to inverted

  • -1: Don't set the polarity; use whatever polarity is already set

Read/Write int

#define CAPTURE_PROPERTY_INVERT_DATAEN_POL CAPTURE_PROPERTY( 'Q', 'L', 'D', 'E' )

Specifies whether the "data_en" pin/signal polarity is inverted.

  • 0: Set polarity to not inverted

  • 1: Set polarity to inverted

  • -1: Don't set the polarity; use whatever polarity is already set

Read/Write int

#define CAPTURE_PROPERTY_INVERT_DATA_POL CAPTURE_PROPERTY( 'Q', 'L', 'D', 'A' )

Specifies whether the data input polarity is inverted.

  • 0: Set polarity to not inverted

  • 1: Set polarity to inverted

  • -1: Don't set the polarity; use whatever polarity is already set

Read/Write int