[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_caps_t

General capabilities of a video scaler

Synopsis:

#include <vid.h>

typedef struct {
    unsigned short size;
    unsigned short reserved0;
    unsigned       flags;
    unsigned       format;
    int            src_max_x;
    int            src_max_y;
    int            max_mag_factor_x;
    int            max_mag_factor_y;
    int            max_shrink_factor_x;
    int            max_shrink_factor_y;
    unsigned       reserved [8];
} disp_vid_channel_caps_t;

Description:

The disp_vid_channel_caps_t structure describes the general capabilities of a video scaler for a given format. The members include:

size
The size of this structure.
reserved0, reserved
Reserved, don't examine or modify.
flags
Flags that indicate the capabilities:
format
The pixel format; see "Pixel formats" in the Writing a Graphics Driver chapter.
src_max_x, src_max_y
The maximum width and height of source frames.
max_mag_factor_x, max_mag_factor_y
The magnification -- -1 means cannot scale upwards.
max_shrink_factor_x, max_shrink_factor_y
1 means cannot scale downwards.

Classification:

Photon

See also:

disp_vidfuncs_t


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