Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pg/pgcreatevideochannel.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pg/pgcreatevideochannel.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pg/pgcreatevideochannel.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pg/pgcreatevideochannel.html on line 8
Create a channel for video streaming
PgVideoChannel_t * PgCreateVideoChannel(
unsigned type,
unsigned flags );
- type
- 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.
- flags
- There are currently no flags; pass 0 for this argument.
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).
- EBUSY
- Scaler hardware is present, but is in use by another application.
- ENXIO
- No scaler hardware is present.
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
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pg/pgcreatevideochannel.html on line 138
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pg/pgcreatevideochannel.html on line 138