Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
QNX Documentation Library
PgNextVideoFrame

PgNextVideoFrame

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

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