Create a channel for video streaming
PgVideoChannel_t * PgCreateVideoChannel( unsigned type, unsigned flags );
ph
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).
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PgConfigScalerChannel(), PgDestroyVideoChannel(), PgGetOverlayChromaColor(), PgGetScalerCapabilities(), PgNextVideoFrame(), PgScalerCaps_t, PgScalerProps_t, PgVideoChannel_t
“Video overlay” in the Raw Drawing and Animation chapter of the Photon Programmer's Guide