class Isp

Defined at line 1141 of file fidling/gen/src/camera/bin/factory/fuchsia.factory.camera/hlcpp/fuchsia/factory/camera/cpp/fidl.h

This interface provides access to factory-only functionality in the ISP driver.

Public Members

static const char[] Name_

Public Methods

void ~Isp ()
void GetOtpData (GetOtpDataCallback callback)

Retrieves the data stored in the camera module's One-Time Programmable Memory.

- response `s` The operation's status code:

`ZX_OK` if the operation succeeded.

`ZX_ERR_IO` if the camera module is not initialized or is otherwise

unavailable.

`ZX_ERR_NOT_SUPPORTED` if the camera module does not have an OTP.

- response `otp_data` A handle to a VMO containing the requested OTP data.

void GetSensorTemperature (GetSensorTemperatureCallback callback)

Retrieves the sensor's temperature.

- response `s` The operation's status code:

`ZX_OK` if the operation succeeded.

`ZX_ERR_IO` if the sensor is not initialized or is otherwise unavailable.

`ZX_ERR_NOT_SUPPORTED` if the sensor does not support this feature.

- response `temp` The sensor's operating temperature (in degrees Celsius).

void SetAWBMode (::fuchsia::factory::camera::WhiteBalanceMode mode, uint32_t temp, SetAWBModeCallback callback)

Enables or disables the ISP's Auto White Balance (AWB) feature.

+ request `mode` An AWB mode.

+ request `temp` The white balance temperature to use (in degrees Kelvin).

Has no effect if the mode is not set to MANUAL.

void SetAEMode (::fuchsia::factory::camera::ExposureMode mode, SetAEModeCallback callback)

Enables or disables the ISP's Auto Exposure feature.

+ request `mode` An AE mode.

void SetExposure (float integration_time, float analog_gain, float digital_gain, SetExposureCallback callback)

Sets the parameters for the sensor's manual exposure settings.

+ request `integration_time` The sensor's integration time parameter.

Has no effect if the AE mode is not set to FULL_MANUAL or

MANUAL_EXPOSURE_TIME.

+ request `analog_gain` The sensor's analog gain parameter.

Has no effect if the AE mode is not set to FULL_MANUAL or

MANUAL_GAIN.

+ request `digital_gain` The sensor's digital gain parameter.

Has no effect if the AE mode is not set to FULL_MANUAL or

MANUAL_GAIN.

* See [`camera-sensor.banjo`] for more information on these params:

//sdk/banjo/fuchsia.hardware.camera.sensor/camera-sensor.banjo

void SetSensorMode (uint32_t mode, SetSensorModeCallback callback)

Selects the sensor mode.

+ request `mode` The index of one of the predefined sensor modes (fps, resolution,

etc).

* See [`camera-sensor.banjo`] for more information on this param:

//sdk/banjo/fuchsia.hardware.camera.sensor/camera-sensor.banjo

void SetTestPatternMode (uint16_t mode, SetTestPatternModeCallback callback)

Selects the sensor test pattern mode.

+ request `mode` One of the predefined sensor test pattern modes.

* See [`camera-sensor.banjo`] for more information on this param:

//sdk/banjo/fuchsia.hardware.camera.sensor/camera-sensor.banjo

void SetBypassMode (bool on, SetBypassModeCallback callback)

Sets the bypass mode.

+ request `on` True to enable 19:4 (16-bit) bypass mode, outputting raw sensor bits