HP SVA V2.0 Parallel Compositing Reference Guide
pcFrameResultQuery(3)
NAME
pcFrameResultQuery -- Tests if a frame result is available.
Synopsis
PCerr pcFrameResultQuery(
PCcontext ctx,
PCid frameId,
PCuint xOffset,
PCuint yOffset,
PCuint width,
PCuint height
);
Parameters
ctx
The context for this frame.
frameId The unique ID generated for this frame by pcFrameBegin.
xOffset
The x offset in pixels from the origin of the output.
yOffset
The y offset in pixels from the origin of the output.
width
The width of the result in pixels.
height
The height of the result in pixels.
Returns
If a subsequent call to pcFrameResultChannel would return without blocking,
pcFrameResultQuery returns PC_RESULT_READY.
If pcFrameResultChannel would block, pcFrameResultQuery returns PC_RESULT_BUSY.
Description
This function lets an application check if a result is available without blocking. It is useful because
pcFrameResultChannel blocks until the selected result is complete.
66