nn::camera::CTR::GetLatestVsyncTiming Function
void GetLatestVsyncTiming(
nn::fnd::TimeSpan * pTime,
Port port,
size_t past = 1
);
| Name | Description | |
|---|---|---|
| out | pTime | Specifies the location where the timing is stored. |
| in | port | Specifies the port to which the camera to get the timing of is connected. |
| in | past | Specifies the number of past timing values to obtain. Specify this as an integer between 1 and 5. It will default to 1 if omitted. The pTime argument will store the timing values for recent past V-Sync events, starting with the most recent one. The pTime argument must therefore be allocated with enough space to store past V-Sync timings. That said, if the number of V-Sync signals input since the camera was activated (we'll call this number "frame" for the sake of convenience) is smaller than the value of past, indeterminate values are stored for the values between pTime[frame] and pTime[past-1]. |
Gets the timing history of camera V-Sync signal inputs.
Internally, the camera interrupt handler does this by obtaining the tick value.
CONFIDENTIAL