[Previous] [Contents] [Index] [Next]

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

disp_vid_channel_props_t

Configurable properties of a video scaler channel

Synopsis:

#include <vid.h>

typedef struct {
    unsigned short   size;
    unsigned short   reserved0;
    unsigned         flags;
    unsigned         format;
    disp_color_t     chroma_key0;
    unsigned         reserved1;
    unsigned         chroma_flags;
    disp_color_t     chroma_key_mask;
    disp_color_t     chroma_mode;
    int              x1, y1;
    int              x2, y2;
    int              src_width, src_height;
    unsigned         fmt_index;
    short            brightness;
    short            contrast;
    disp_vid_alpha_t alpha [DISP_VID_MAX_ALPHA];
    unsigned         reserved [8];
} disp_vid_channel_props_t;

Description:

The disp_vid_channel_props_t structure describes the configurable properties of a video scaler channel. The members include:

size
The size of this structure.
reserved0, reserved1, reserved
Reserved, don't examine or modify.
flags
A combination of the following bits:
format
The format of the frame data.
chroma_key0
The chroma-key color.
chroma_flags
The chroma-key comparison operation.
chroma_key_mask
Colors are masked with this before chroma comparison.
chroma_mode
The type of chroma key match to perform:
x1, y1
The top left corner of video viewport in display coordinates.
x2, y2
The bottom right corner of video viewport in display coordinates.
src_width, src_height
The dimensions of the video source data.
fmt_index
Selects the format of the source frame data.
brightness
Brightness adjustment, where 0x7fff is normal, 0 the darkest, and 0xffff the brightest.
contrast
Contrast adjustment, where 0x7fff is normal, 0 the minimum, and 0xffff the maximum.
alpha
An array of regions of the video viewport to be blended with desktop. For more information, see disp_vid_alpha_t.

Classification:

Photon

See also:

disp_vid_alpha_t, disp_vidfuncs_t


[Previous] [Contents] [Index] [Next]