libcamera
v0.0.0
Supporting cameras in Linux since 2019
|
Context for a frame. More...
Public Member Functions | |
IPAFrameContext () | |
Default constructor for IPAFrameContext. | |
IPAFrameContext (uint32_t id, const ControlList &reqControls) | |
Construct a IPAFrameContext instance. | |
Public Attributes | |
struct { | |
uint32_t exposure | |
double gain | |
} | sensor |
Effective sensor values that were applied for the frame. | |
uint32_t | frame |
The frame number. | |
ControlList | frameControls |
Controls sent in by the application while queuing the request. | |
Context for a frame.
The frame context stores data specific to a single frame processed by the IPA. Each frame processed by the IPA has a context associated with it, accessible through the IPAContext structure.
Fields in the frame context should reflect values and controls associated with the specific frame as requested by the application, and as configured by the hardware. Fields can be read by algorithms to determine if they should update any specific action for this frame, and finally to update the metadata control lists when the frame is fully completed.