This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Configurable properties of a video capture unit
typedef struct { unsigned size; unsigned flags; unsigned video_source; unsigned audio_source; unsigned input_format; unsigned output_format; int tuner_channel; int Fif; short dst_width; short dst_height; short crop_top; short crop_bottom; short crop_left; short crop_right; short brightness; short contrast; short u_saturation; short v_saturation; short hue; short reserved; unsigned update_flags; int scaler_index; unsigned reserved2[6]; } disp_vcap_channel_props_t;
The disp_vcap_channel_props_t describes the configurable properties of a video capture unit. The members include:
Note that the scaler hardware is already configured up when the set_channel_props() function defined in the disp_vcapfuncs_t structure is called. If the driver can't synchronize the capture unit with the scaler specified by the scaler_index member of the disp_vcap_channel_props_t structure in this manner, this function should simply act as if this flag hadn't been specified.
If something other than one of the above is specified, the driver should default to something reasonable.
Flag | Valid member(s) |
---|---|
DISP_VCAP_UPDATE_VIDEO_SOURCE | video_source |
DISP_VCAP_UPDATE_AUDIO_SOURCE | audio_source |
DISP_VCAP_UPDATE_INPUT_FORMAT | input_format |
DISP_VCAP_UPDATE_OUTPUT_FORMAT | output_format |
DISP_VCAP_UPDATE_TUNER | tuner_channel, Fif |
DISP_VCAP_UPDATE_OUTPUT_SIZE | dst_width, dst_height, crop_top, crop_bottom, crop_left, crop_right |
DISP_VCAP_UPDATE_BRIGHTNESS | brightness |
DISP_VCAP_UPDATE_CONTRAST | contrast |
DISP_VCAP_UPDATE_SATURATION | u_saturation, v_saturation |
DISP_VCAP_UPDATE_HUE | hue |
DISP_VCAP_UPDATE_OUTPUT_TARGET | One or more of the *plane* parameters is valid, and one or more of the buffers described by the *plane* parameters has changed since the last time this function was called. |
Photon