VDUseThisCLUT
Some video digitizer components allow applications to specify the lookup table for color digitization. Your application can set the color lookup table by calling theVDUseThisCLUTfunction.
pascal VideoDigitizerError VDUseThisCLUT (VideoDigitizerComponent ci, CTabHandle colorTableHandle);
ci- Specifies the video digitizer component for the request. Applications obtain this reference from the Component Manager's
OpenComponentfunction.- colorTableHandle
- Contains a color table handle. The video digitizer component uses the color table referred to by this parameter.
DESCRIPTION
Applications can determine whether a digitizer component supports specified lookup tables by examining the digitizer component's output capability flags. Specifically, if thedigiOutDoesILUTflag is set to 1, the digitizer component allows applications to specify color lookup tables. Applications can use theVDGetCurrentFlagsfunction (described on page 8-25) to obtain the input capability flags of a component.This feature is only useful for capturing 8-bit color video.
RESULT CODES
noErr 0 No error digiUnimpErr -2201 Function not supported
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help