[Previous] [Contents] [Index] [Next]

Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

PgNextVideoFrame()

Get the index of the next video buffer to fill

Synopsis:

int PgNextVideoFrame( PgVideoChannel_t *channel );

Library:

ph

Description:

PgNextVideoFrame() returns the index of the video buffers into which your application should copy the video frame data. Call this function before transferring a frame of video data to the video overlay scaler.

Returns:

The index of the video buffer, or -1 if an error occurred.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PgConfigScalerChannel(), PgCreateVideoChannel(), PgDestroyVideoChannel(), PgGetOverlayChromaColor(), PgGetScalerCapabilities(), PgScalerCaps_t, PgScalerProps_t, PgVideoChannel_t

"Video overlay" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide


[Previous] [Contents] [Index] [Next]