Interface to the core capture metadata.
Definition at line 182 of file CaptureMetadata.h.
Public Member Functions | |
virtual uint32_t | getCaptureId () const =0 |
Returns the capture id (the value returned from ICaptureSession::capture()) of the capture that generated this metadata. More... | |
virtual uint32_t | getClientData () const =0 |
Returns the clientData value for the Request used in the capture that generated this metadata. More... | |
virtual InterfaceProvider * | getStreamMetadata (const OutputStream *stream) const =0 |
Returns the per-stream metadata provider for stream . More... | |
virtual const InterfaceProvider * | getBayerHistogram () const =0 |
Returns the Bayer histogram for this capture. More... | |
virtual const InterfaceProvider * | getRGBHistogram () const =0 |
Returns the RGB histogram for this capture. More... | |
virtual bool | getAeLocked () const =0 |
Returns true if and only if AE was locked for this capture. More... | |
virtual Status | getAeRegions (std::vector< AcRegion > *regions) const =0 |
Gets the AE regions of interest used for this capture. More... | |
virtual Rectangle< uint32_t > | getBayerHistogramRegion () const =0 |
Returns the rectangle of the bayer histogram region of interest. More... | |
virtual AeState | getAeState () const =0 |
Returns the state of AE when it ran for this capture. More... | |
virtual AeFlickerState | getFlickerState () const =0 |
Returns the flicker state of this capture. More... | |
virtual int32_t | getAperturePosition () const =0 |
Returns the aperture position. More... | |
virtual int32_t | getFocuserPosition () const =0 |
Returns the focuser position used for this capture (in focuser steps). More... | |
virtual uint32_t | getAwbCct () const =0 |
Returns the CCT calculated by AWB for this capture. More... | |
virtual BayerTuple< float > | getAwbGains () const =0 |
Returns the AWB gains used for this capture. More... | |
virtual AwbMode | getAwbMode () const =0 |
Returns the AWB mode used for this capture. More... | |
virtual Status | getAwbRegions (std::vector< AcRegion > *regions) const =0 |
Gets the AWB regions of interest used for this capture. More... | |
virtual AfMode | getAfMode () const =0 |
Returns the AF mode used for this capture. More... | |
virtual Status | getAfRegions (std::vector< AcRegion > *regions) const =0 |
Gets the AF regions of interest used for this capture. More... | |
virtual Status | getSharpnessScore (std::vector< float > *values) const =0 |
Gets the sharpness score values calculated for corresponding AF regions. More... | |
virtual AwbState | getAwbState () const =0 |
virtual Status | getAwbWbEstimate (std::vector< float > *estimate) const =0 |
Gets the current AWB WB estimate as a vector of NUM_AWB_WB_ESTIMATE_ELEMENTS values. More... | |
virtual bool | getColorCorrectionMatrixEnable () const =0 |
Returns the enable state for the client-supplied Color Correction Matrix. More... | |
virtual Status | getColorCorrectionMatrix (std::vector< float > *ccMatrix) const =0 |
Gets the 3x3 client-supplied Color Correction Matrix as a flattened (row-major) vector of 9 values. More... | |
virtual float | getColorSaturation () const =0 |
Returns the color saturation value used for this capture (including biasing). More... | |
virtual uint64_t | getFrameDuration () const =0 |
Returns the time it took to integrate this capture (in nanoseconds). More... | |
virtual float | getIspDigitalGain () const =0 |
Returns the digital gain used for this capture. More... | |
virtual uint64_t | getFrameReadoutTime () const =0 |
Returns the frame readout time for this capture (in nanoseconds) from the beginning of the first line to the beginning of the last line. More... | |
virtual float | getSceneLux () const =0 |
Returns the estimated scene brightness for this capture (in lux). More... | |
virtual float | getSensorAnalogGain () const =0 |
Returns the sensor analog gain used for this capture. More... | |
virtual uint64_t | getSensorExposureTime () const =0 |
Returns the sensor exposure time for this capture (in nanoseconds). More... | |
virtual uint32_t | getSensorSensitivity () const =0 |
Returns the ISO value used for this capture. More... | |
virtual uint64_t | getSensorTimestamp () const =0 |
Returns the kernel (SOF) timestamp for the sensor (in nanoseconds). More... | |
virtual bool | getToneMapCurveEnabled () const =0 |
Returns true if and only if a user-specified tone map curve was used for this capture. More... | |
virtual Status | getToneMapCurve (RGBChannel channel, std::vector< float > *curve) const =0 |
Returns the specified color channel for the tone mapping table (as a vector of NUM_TONE_MAP_ELEMENTS values). More... | |
Static Public Member Functions | |
static const InterfaceID & | id () |
Static Public Attributes | |
static const uint32_t | NUM_COLOR_CORRECTION_ELEMENTS = 9 |
static const uint32_t | NUM_AWB_WB_ESTIMATE_ELEMENTS = 4 |
Protected Member Functions | |
~ICaptureMetadata () | |
|
inlineprotected |
Definition at line 406 of file CaptureMetadata.h.
|
pure virtual |
Returns true if and only if AE was locked for this capture.
|
pure virtual |
Gets the AE regions of interest used for this capture.
[in] | regions | A vector that will be populated with the AE regions used in capture. |
|
pure virtual |
Returns the state of AE when it ran for this capture.
|
pure virtual |
Returns the AF mode used for this capture.
|
pure virtual |
Gets the AF regions of interest used for this capture.
[in] | regions | A vector that will be populated with the AF regions used in capture. |
|
pure virtual |
Returns the aperture position.
|
pure virtual |
Returns the CCT calculated by AWB for this capture.
|
pure virtual |
Returns the AWB gains used for this capture.
|
pure virtual |
Returns the AWB mode used for this capture.
|
pure virtual |
Gets the AWB regions of interest used for this capture.
[in] | regions | A vector that will be populated with the AWB regions used in capture. |
|
pure virtual |
|
pure virtual |
Gets the current AWB WB estimate as a vector of NUM_AWB_WB_ESTIMATE_ELEMENTS values.
[in] | estimate | A vector that will be populated with the AWB WB estimates. |
|
pure virtual |
Returns the Bayer histogram for this capture.
This object will provide the IBayerHistogram interface.
|
pure virtual |
Returns the rectangle of the bayer histogram region of interest.
|
pure virtual |
Returns the capture id (the value returned from ICaptureSession::capture()) of the capture that generated this metadata.
|
pure virtual |
Returns the clientData
value for the Request used in the capture that generated this metadata.
|
pure virtual |
Gets the 3x3 client-supplied Color Correction Matrix as a flattened (row-major) vector of 9 values.
This matrix is irrelevant if getColorCorrectionMatrixEnable() == false
.
[in] | ccMatrix | A vector that will be populated with the color correction matrix. |
|
pure virtual |
Returns the enable state for the client-supplied Color Correction Matrix.
|
pure virtual |
Returns the color saturation value used for this capture (including biasing).
|
pure virtual |
Returns the flicker state of this capture.
|
pure virtual |
Returns the focuser position used for this capture (in focuser steps).
|
pure virtual |
Returns the time it took to integrate this capture (in nanoseconds).
|
pure virtual |
Returns the frame readout time for this capture (in nanoseconds) from the beginning of the first line to the beginning of the last line.
|
pure virtual |
Returns the digital gain used for this capture.
|
pure virtual |
Returns the RGB histogram for this capture.
This object will provide the IRGBHistogram interface.
|
pure virtual |
Returns the estimated scene brightness for this capture (in lux).
|
pure virtual |
Returns the sensor analog gain used for this capture.
|
pure virtual |
Returns the sensor exposure time for this capture (in nanoseconds).
|
pure virtual |
Returns the ISO value used for this capture.
|
pure virtual |
Returns the kernel (SOF) timestamp for the sensor (in nanoseconds).
This is the time that the first data from this capture arrives from the sensor.
|
pure virtual |
Gets the sharpness score values calculated for corresponding AF regions.
[in] | values | A vector that will be populated with the sharpness scores used in capture. |
|
pure virtual |
Returns the per-stream metadata provider for stream
.
This object will provide the IStreamCaptureMetadata interface.
|
pure virtual |
Returns the specified color channel for the tone mapping table (as a vector of NUM_TONE_MAP_ELEMENTS values).
These values are irrelevant if getToneMapCurveEnabled() == false
.
[in] | channel | Specified the color channel for which the curve will be returned. |
[in] | curve | A vector that will be populated with the color curve used in capture. |
|
pure virtual |
Returns true if and only if a user-specified tone map curve was used for this capture.
|
inlinestatic |
Definition at line 186 of file CaptureMetadata.h.
|
static |
Definition at line 189 of file CaptureMetadata.h.
|
static |
Definition at line 188 of file CaptureMetadata.h.