|This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.|
Create a channel for video streaming
PgVideoChannel_t * PgCreateVideoChannel( unsigned type, unsigned flags );
- The type of channel to create. Currently, the only defined type is Pg_VIDEO_CHANNEL_SCALER. This specifies that the video channel is for outputting video frames using scaler hardware.
- There are currently no flags; pass 0 for this argument.
This function creates a channel to be used for video streaming, and reserves the video hardware for exclusive use by the application.
A pointer to a PgVideoChannel_t structure that describes a channel for subsequent video operations, or NULL if a video channel couldn't be created (errno is set).
- Scaler hardware is present, but is in use by another application.
- No scaler hardware is present.
"Video overlay" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide