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

PgScalerProps_t

Data structure that describes video overlay scaler properties

Synopsis:

typedef struct  {
    unsigned        size;
    unsigned        flags;
    PgColor_t       color_key;
    unsigned        reserved0;
    PgColor_t       color_key_mask;
    PhRect_t        viewport;
    PhDim_t         src_dim;
    unsigned        format;
    int             brightness;
    int             contrast;
    PgVideoAlpha_t  alpha[4];
    unsigned        reserved[10];
} PgScalerProps_t;

Description:

The PgScalerProps_t structure describes video overlay scaler properties. It includes:

size
The size of this structure; set this to:
sizeof (PgScalerProps_t)
  
flags
The flags include:
color_key
The chroma-key color (of type PgColor_t) to use when Pg_SCALER_PROP_CHROMA_ENABLE and Pg_SCALER_PROP_CHROMA_SPECIFY_KEY_MASK are set in the flags member.
color_key_mask
Not implemented.
viewport
A PhRect_t structure that stores the location and dimension, in desktop coordinates, of the video scaler output viewport.
src_dim
A PhDim_t structure that defines the width and height of the video data frames before scaling.
format
The format of the video frame data. This is analogous to the format member of the PgScalerCaps_t structure.
brightness
The brightness of the video output viewport. The range is 127 to -127, where 0 specifies normal brightness.
contrast
The contrast of the video output viewport. The range is 127 to -127, where 0 specifies normal contrast.
alpha[4]
Not implemented.

Classification:

Photon

See also:

PgColor_t, PgConfigScalerChannel(), PgCreateVideoChannel(), PgDestroyVideoChannel(), PgGetOverlayChromaColor(), PgGetScalerCapabilities(), PgNextVideoFrame(), PgScalerCaps_t, PgVideoChannel_t, PhDim_t, PhRect_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/pgscalerprops_t.html on line 211

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/pgscalerprops_t.html on line 211