Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Function Request Codes

You can use the following enumerators to refer to the request codes for each of the functions that your component must support.

enum {
    kSelectVDGetMaxSrcRect           = 0x1,  /* VDGetMaxSrcRect (required) */
    kSelectVDGetActiveSrcRect        = 0x2,  /* VDGetActiveSrcRect
                                                                (required) */
    kSelectVDSetDigitizerRect        = 0x3,  /* VDSetDigitizerRect
                                                                (required) */
    kSelectVDGetDigitizerRect        = 0x4,  /* VDGetDigitizerRect
                                                                (required) */
    kSelectVDGetVBlankRect           = 0x5,  /* VDGetVBlankRect (required) */
    kSelectVDGetMaskPixMap               = 0x6,  /* VDGetMaskPixMap */
    kSelectVDGetPlayThruDestination      = 0x8,  /* VDGetPlayThruDestination
                                                                (required) */
    kSelectVDUseThisCLUT                 = 0x9,  /* VDUseThisCLUT */
    kSelectVDSetInputGammaValue          = 0xA,  /* VDSetInputGammaValue */
    kSelectVDGetInputGammaValue          = 0xB,  /* VDGetInputGammaValue */
    kSelectVDSetBrightness               = 0xC,  /* VDSetBrightness */
    kSelectVDGetBrightness               = 0xD,  /* VDGetBrightness */
    kSelectVDSetContrast                 = 0xE,  /* VDSetContrast */
    kSelectVDSetHue                      = 0xF,  /* VDSetHue */
    kSelectVDSetSharpness                = 0x10, /* VDSetSharpness */
    kSelectVDSetSaturation               = 0x11, /* VDSetSaturation */
    kSelectVDGetContrast                 = 0x12, /* VDGetContrast */
    kSelectVDGetHue                      = 0x13, /* VDGetHue */
    kSelectVDGetSharpness                = 0x14,/* VDGetSharpness */
    kSelectVDGetSaturation               = 0x15, /* VDGetSaturation */
    kSelectVDGrabOneFrame                = 0x16, /* VDGrabOneFrame
                                                                (required) */
    kSelectVDGetMaxAuxBuffer             = 0x17, /* VDGetMaxAuxBuffer */
    kSelectVDGetDigitizerInfo            = 0x19, /* VDGetDigitizerInfo
                                                                (required) */
    kSelectVDGetCurrentFlags             = 0x1A, /* VDGetCurrentFlags
                                                                (required) */
    kSelectVDSetKeyColor                 = 0x1B, /* VDSetKeyColor */
    kSelectVDGetKeyColor                 = 0x1C, /* VDGetKeyColor */
    kSelectVDAddKeyColor                 = 0x1D, /* VDAddKeyColor */
    kSelectVDGetNextKeyColor             = 0x1E, /* VDGetNextKeyColor */
    kSelectVDSetKeyColorRange            = 0x1F, /* VDSetKeyColorRange */
    kSelectVDGetKeyColorRange            = 0x20, /* VDGetKeyColorRange */
    kSelectVDSetDigitizerUserInterrupt   = 0x21,
                                              /* VDSetDigitizerUserInterrupt */
    kSelectVDSetInputColorSpaceMode      = 0x22, /* VDSetInputColorSpaceMode */
    kSelectVDGetInputColorSpaceMode      = 0x23, /* VDGetInputColorSpaceMode */
    kSelectVDSetClipState                = 0x24, /* VDSetClipState */
    kSelectVDSetClipState                = 0x25, /* VDGetClipState */
    kSelectVDSetClipRgn                  = 0x26, /* VDSetClipRgn */
    kSelectVDClearClipRgn                = 0x27, /* VDClearClipRgn */
    kSelectVDGetCLUTInUse                = 0x28, /* VDGetCLUTInUse */
    kSelectVDSetPLLFilterType            = 0x29, /* VDSetPLLFilterType */
    kSelectVDGetPLLFilterType            = 0x2A, /* VDGetPLLFilterType */
    kSelectVDGetMaskandValue             = 0x2B, /* VDGetMaskandValue */
    kSelectVDSetMasterBlendLevel         = 0x2C, /* VDSetMasterBlendLevel */
    kSelectVDSetPlayThruDestination      = 0x2D, /* VDSetPlayThruDestination */
    kSelectVDSetPlayThruOnOff            = 0x2E, /* VDSetPlayThruOnOff */
    kSelectVDSetFieldPreference          = 0x2F, /* VDSetFieldPreference
                                                                (required) */
    kSelectVDGetFieldPreference          = 0x30, /* VDGetFieldPreference
                                                                (required) */
    kSelectVDPreflightDestination        = 0x32, /* VDPreflightDestination
                                                                (required) */
    kSelectVDPreflightGlobalRect         = 0x33, /* VDPreflightGlobalRect */
    kSelectVDSetPlayThruGlobalRect       = 0x34, /* VDSetPlayThruGlobalRect */
    kSelectVDSetInputGammaRecord         = 0x35, /* VDSetInputGammaRecord */
    kSelectVDGetInputGammaRecord         = 0x36, /* VDGetInputGammaRecord */
    kSelectVDSetBlackLevelValue          = 0x37,/* VDSetBlackLevelValue */
    kSelectVDGetBlackLevelValue          = 0x38, /* VDGetBlackLevelValue */
    kSelectVDSetWhiteLevelValue          = 0x39, /* VDSetWhiteLevelValue */
    kSelectVDGetWhiteLevelValue          = 0x3A, /* VDGetWhiteLevelValue */
    kSelectVDGetVideoDefaults            = 0x3B, /* VDGetVideoDefaults */
    kSelectVDGetNumberOfInputs           = 0x3C,/* VDGetNumberOfInputs */
    kSelectVDGetInputFormat              = 0x3D, /* VDGetInputFormat */
    kSelectVDSetInput                    = 0x3E, /* VDSetInput */
    kSelectVDGetInput                    = 0x3F, /* VDGetInput */
    kSelectVDSetInputStandard            = 0x40, /* VDSetInputStandard */
    kSelectVDSetupBuffers                = 0x41, /* VDSetupBuffers */
    kSelectVDGrabOneFrameAsync           = 0x42, /* VDGrabOneFrameAsync */
    kSelectVDDone                        = 0x43, /* VDDone */
    kSelectVDSetCompression              = 0x44, /* VDSetCompression */
    kSelectVDCompressOneFrameAsync       = 0x45, /* VDCompressOneFrameAsync */
    kSelectVDCompressDone                = 0x46, /* VDCompressDone */
    kSelectVDReleaseCompressBuffer       = 0x47, /* VDReleaseCompressBuffer */
    kSelectVDGetImageDescription         = 0x48, /* VDGetImageDescription */
    kSelectVDResetCompressSequence       = 0x49, /* VDResetCompressSequence */
    kSelectVDSetCompressionOnOff         = 0x4A, /* VDSetCompressionOnOff */
    kSelectVDGetCompressionTypes         = 0x4B, /* VDGetCompressionTypes */
    kSelectVDSetTimeBase                 = 0x4C, /* VDSetTimeBase */
    kSelectVDSetFrameRate                = 0x4D, /* VDSetFrameRate */
    kSelectVDGetDataRate                 = 0x4E, /* VDGetDataRate */
    kSelectVDGetSoundInputDriver         = 0x4F, /* VDGetSoundInputDriver */
    kSelectVDGetDMADepths                = 0x50, /* VDGetDMADepths */
    kSelectVDGetPreferredTimeScale       = 0x51, /* VDGetPreferredTimeScale */
    kSelectVDReleaseAsyncBuffers         = 0x52,/* VDReleaseAsyncBuffers */
};


< Previous PageNext Page > Hide TOC


Last updated: 2007-01-08




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice