Get the index of the next video buffer to fill
int PgNextVideoFrame( PgVideoChannel_t *channel );
ph
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.
The index of the video buffer, or -1 if an error occurred.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
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