Delegate ContinuousCaptureSession.OnFrameReadyCallback
- Namespace
- Uralstech.UXR.QuestCamera
Processes a frame received from the native capture session.
public delegate void ContinuousCaptureSession.OnFrameReadyCallback(nint yBuffer, long yBufferSize, nint uBuffer, nint vBuffer, long uvBufferSize, int yRowStride, int uvRowStride, int uvPixelStride, long timestamp)
Parameters
yBuffernintThe pointer to this frame's Y (luminance) data.
yBufferSizelongThe size of the Y buffer in bytes.
uBuffernintThe pointer to this frame's U (color) data.
vBuffernintThe pointer to this frame's V (color) data.
uvBufferSizelongThe size of the U and V buffers in bytes.
yRowStrideintThe size of each row of the image in
yBufferin bytes.uvRowStrideintThe size of each row of the image in
uBufferandvBufferin bytes.uvPixelStrideintThe size of a pixel in a row of the image in
uBufferandvBufferin bytes.timestamplongThe timestamp the frame was captured at in nanoseconds.
- Extension Methods