ParsecClientPollFrame

ps,
callback,
uint32_t
timeout,
void *
opaque
)

Poll for a new video frame from the host and make it available in system memory.

Parameters

DirectionNameDescription
inpsParsec instance returned by ParsecInit.
incallbackFired synchronously if a new frame is available from the host.
intimeoutTimeout in milliseconds to wait for a new frame to become available.
inopaqueUser supplied context to be passed through callback.

Returns

PARSEC_OK if a new frame was available and the callback fired, otherwise a ParsecStatus warning value on timeout.