Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

PgScalerCaps_t

Data structure that describes video overlay scaler capabilities

Synopsis:

typedef struct scaler_caps {
    unsigned    size;
    unsigned    format;
    unsigned    flags:
    short       src_max_x;
    short       src_max_y;
    short       max_mag_factor_x;
    short       max_mag_factor_y;
    short       max_shrink_factor_x;
    short       max_shrink_factor_y;
    unsigned    reserved[10];
} PgScalerCaps_t;

Description:

The PgScalerCaps_t structure describes video overlay scaler capabilities. It includes at least:

size
The size of this structure. The application should set this to sizeof (PgScalerCaps_t).
format
The video data format to which the capabilities in this structure pertain. It can be one of the following formats, which are defined in <Pg.h>:
flags
The flags include:
src_max_x, src_max_y
The maximum width and height of a video data frame before scaling.
max_mag_factor_x, max_mag_factor_y
The maximum upward scaling factor in the horizontal and vertical directions.
max_shrink_factor_x, max_shrink_factor_y
The maximum downward scaling factor in the horizontal and vertical directions. Some scalers can't perform downward scaling, in which case these fields are set to 1.

Classification:

Photon

See also:

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

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