I2C decoder path and slave address

Updated: April 19, 2023

The video capture API includes constants that specify the video capture I2C decoder path and slave address properties.

Definitions:

#define CAPTURE_PROPERTY_DECODER_I2C_PATH CAPTURE_PROPERTY('Q','D','I','P')

Device path of the I2C decoder (e.g., /dev/i2c0).

This property is only applicable to decoders that are connected via I2C.

Read/Write const char *

#define CAPTURE_PROPERTY_DECODER_I2C_ADDR CAPTURE_PROPERTY('Q','D','I','A')

The 7-bit Slave address of the I2C decoder.

This property is only applicable to decoders that are connected via I2C.

Read/Write const char *

#define CAPTURE_PROPERTY_USB_DEVICE_PATH CAPTURE_PROPERTY('Q','U','D','P')

Device path of the USB resource manager.

This property is only applicable to cameras that are connected via USB.

Read/Write const char *