PgGetScalerCapabilities()

Get the capabilities of a video overlay scaler

Synopsis:

int PgGetScalerCapabilities(
       PgVideoChannel_t *channel,
       int format_index,
       PgScalerCaps_t *vcaps );

Library:

ph

Description:

This function gets the capabilities of the Video Overlay scaler specified by channel for the video data format specified by format_index. The capabilities are stored in the PgScalerCaps_t structure pointed to by vcaps.


Note: You must set vcaps->size to sizeof(PgScalerCaps_t) before calling this function.

To find out about all available video data formats, call with increasing values for format_index, starting at zero, until -1 is returned.

Returns:

0
Success.
-1
An error occurred.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PgConfigScalerChannel(), PgCreateVideoChannel(), PgDestroyVideoChannel(), PgGetOverlayChromaColor(), PgNextVideoFrame(), PgScalerCaps_t, PgScalerProps_t, PgVideoChannel_t

Video overlay in the Raw Drawing and Animation chapter of the Photon Programmer's Guide