Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
PgVideoChannel_t
Data structure that describes a video overlay channel
Synopsis:
typedef struct pg_scaler_channel {
PdOffscreenContext_t *yplane1;
PdOffscreenContext_t *uplane1;
PdOffscreenContext_t *vplane1;
PdOffscreenContext_t *yplane2;
PdOffscreenContext_t *uplane2;
PdOffscreenContext_t *vplane2;
unsigned flags;
int chid;
} PgVideoChannel_t;
Description:
This data structure describes a video overlay channel. It includes at least:
- yplane1
- A pointer to an offscreen context describing the primary video buffer, if the format is not a Planar YUV format, or the primary Y data buffer for a Planar YUV format.
- uplane1
- A pointer to an offscreen context describing the primary U data buffer for a Planar YUV format. It's used only for Planar YUV formats.
- vplane1
- A pointer to an offscreen context describing the primary V data buffer for a Planar YUV format. It's used only for Planar YUV formats.
- yplane2
- A pointer to an offscreen context describing the secondary video buffer, if the format is not a Planar YUV format, or the secondary Y data buffer for a Planar YUV format.
- uplane2
- A pointer to an offscreen context describing the secondary the secondary U data buffer for a Planar YUV format. It's used only for Planar YUV formats.
- vplane2
- A pointer to an offscreen context describing the secondary the secondary V data buffer for a Planar YUV format. It's used only for Planar YUV formats.
- flags
- No flags are currently defined.
- chid
- Not implemented.
Classification:
Photon
See also:
PdOffscreenContext_t, PgConfigScalerChannel(), PgCreateVideoChannel(), PgDestroyVideoChannel(), PgGetOverlayChromaColor(), PgGetScalerCapabilities(), PgNextVideoFrame(), PgScalerCaps_t, PgScalerProps_t
"Video overlay" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)