| Home
| Previous
| Next
| Up

EndVideoFrame

End decoding a video frame.

Declaration

void NAPI GA_videoFuncs::EndVideoFrame(
GA_buf *videoBuffer)

Prototype In

snap/graphics.h

Parameters

videoBuffer | Video overlay buffer to use

Description

This function ends the process of displaying a frame of hardware video data on the screen for the specified video overlay buffer. The calling application calls this function after completing the decoding of the next frame so that the hardware can perform any necessary completion steps to get the next frame of video data to the screen. Some hardware does automatic decoding of the video data on the fly and will simply do nothing for this step. However hardware video can be implemented on some hardware by doing a stretch blit from offscreen video memory with interpolation, and this function will execute the stretch blit to get the data to the screen. Some hardare may also use this function to implement double buffering to ensure smooth, tear free video overlay operation.

See Also

AllocVideoBuffer, FreeVideoBuffer, SetVideoOutput, SetVideoColorKey, StartVideoFrame, EndVideoFrame

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com