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/pgscalercaps_t.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/pgscalercaps_t.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/pgscalercaps_t.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/pgscalercaps_t.html on line 8

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


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/pgscalercaps_t.html on line 201

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/pgscalercaps_t.html on line 201