Clipping
Some video digitizer components can clip the output video image based on an arbitrary clipping region. Your application can determine whether a video digitizer component supports clipping by examining the digitizer information structure of the component. Specifically, if thedigiOutDoesMaskflag is set to 1 in theoutputCapabilityFlagsfield of the appropriate digitizer information structure, the component supports clipping. See "The Digitizer Information Structure" beginning on page 8-20 for details. Your application can obtain a component's digitizer information structure by calling theVDGetDigitizerInfofunction, which is described on page 8-24. This section describes the functions provided to applications by components that support clipping.Applications can use the
VDSetClipStateandVDGetClipStatefunctions to enable and disable clipping, and to determine whether clipping is enabled. Applications can use theVDSetClipRgnandVDClearClipRgnfunctions to manipulate the clipping region. Applications can use these functions only during an active grab sequence. Applications set the initial clipping settings by calling eitherVDSetPlayThruDestinationorVDSetPlayThruGlobalRect(described on page 8-35 and page 8-39, respectively).
- Note
- The functions that manipulate clipping and clipping state operate on a clipping region in addition to the one specified by the mask passed by the
VDSetPlayThruDestinationandVDSetUpBuffersfunctions (described on page 8-35 and page 8-54, respectively). To determine the final clipping regions, intersect these two clippings.![]()
Subtopics
- VDSetClipRgn
- VDClearClipRgn
- VDSetClipState
- VDGetClipState
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help