The video capture API includes constants for specifying the path and slave address for an I2C decoder.
The following specify the I2C decoder path and slave address:
- CAPTURE_PROPERTY_DECODER_I2C_PATH
- CAPTURE_PROPERTY( 'Q', 'D', 'I', 'P' )
- Read/Write const char *
- Device path of the I2C decoder (e.g. /dev/i2c0).
- CAPTURE_PROPERTY_DECODER_I2C_ADDR
- CAPTURE_PROPERTY( 'Q', 'D', 'I', 'A' )
- Read/Write uint32_t
- Slave address of the I2C decoder.