VDGetVideoDefaults
TheVDGetVideoDefaultsfunction returns the recommended values for many of the analog video parameters that may be set by applications.All video digitizer components must support this function.
pascal VideoDigitizerError VDGetVideoDefaults (VideoDigitizerComponent ci, unsigned short *blackLevel, unsigned short *whiteLevel, unsigned short *brightness, unsigned short *hue, unsigned short *saturation, unsigned short *contrast, unsigned short *sharpness);
- ci
- Specifies the video digitizer component for the request. Applications obtain this reference from the Component Manager's
OpenComponentfunction.blackLevel- Contains a pointer to an integer that is to receive the default black level value. The video digitizer component places the default black level value into the field referred to by this parameter. Refer to the discussion of the
VDSetBlackLevelValuefunction in the next section for more information about black level values.whiteLevel- Contains a pointer to an integer that is to receive the default white level value. The video digitizer component places the default white level value into the field referred to by this parameter. Refer to the discussion of the
VDSetWhiteLevelValuefunction on page 8-69 for more information about white level values.brightness- Contains a pointer to an integer that is to receive the default brightness value. The video digitizer component places the default brightness value into the field referred to by this parameter. Refer to the discussion of the
VDSetBrightnessfunction on page 8-73 for more information about brightness values.hue- Contains a pointer to an integer that is to receive the default hue value. The video digitizer component places the default hue value into the field referred to by this parameter. Refer to the discussion of the
VDSetHuefunction on page 8-70 for more information about hue values.saturation- Contains a pointer to an integer that is to receive the default saturation value. The video digitizer component places the default saturation value into the field referred to by this parameter. Refer to the discussion of the
VDSetSaturationfunction on page 8-72 for more information about saturation values.contrast- Contains a pointer to an integer that is to receive the default contrast value. The video digitizer component places the default contrast value into the field referred to by this parameter. Refer to the discussion of the
VDSetContrastfunction on page 8-75 for more information about contrast values.sharpness- Contains a pointer to an integer that is to receive the default sharpness value. The video digitizer component places the default sharpness value into the field referred to by this parameter. Refer to the discussion of the
VDSetSharpnessfunction on page 8-76 for more information about sharpness values.RESULT CODE
noErr 0 No error