Compaq Multimedia Services
for OpenVMS Alpha
Programmer's Guide


Previous Contents Index

Chapter 4
4 Video Capture and Playback Services
     4.1     Video Capture and Playback Services Overview
         4.1.1         Video Capture and Playback Channels
         4.1.2         Video Capture and Playback Applications
     4.2     Using Video Capture and Playback Services
         4.2.1         Querying Video Capture and Playback Devices
             4.2.1.1             Getting the Number of Video Devices
             4.2.1.2             Getting the Capabilities of a Video Device
         4.2.2         Opening a Video Device
         4.2.3         Configuring Video Capture and Playback Devices
             4.2.3.1             Setting and Obtaining Video Capture and Playback Format
             4.2.3.2             Setting and Obtaining a Video Capture and Playback Palette
         4.2.4         Setting and Obtaining the Video Input Standard Type
         4.2.5         Controlling Video Data Frame and Field Modes
         4.2.6         Setting and Obtaining the Video Device Port Number
         4.2.7         Transferring Data to or from the Video Frame Buffer
         4.2.8         Streaming Video Data Capture and Playback
             4.2.8.1             Initializing the Video Data Stream
             4.2.8.2             Allocating and Preparing a Data Buffer for Video Streaming
             4.2.8.3             Sending a Data Buffer to a Video Device Channel
             4.2.8.4             Starting Streaming on a Video Device Channel
             4.2.8.5             Getting the Current Position of a Video Stream
             4.2.8.6             Using Callback Functions to Manage Video Streaming
             4.2.8.7             Returning Video Streaming Errors
             4.2.8.8             Stopping Streaming on a Video Device Channel
             4.2.8.9             Unpreparing a Data Buffer After Video Streaming
             4.2.8.10             Terminating Video Data Streaming
         4.2.9         Modifying the Rendering Attributes of Video Images
         4.2.10         Modifying the Quality of Video Data
         4.2.11         Closing a Video Device
         4.2.12         Handling Errors
     4.3     Video Capture and Playback Header Files
     4.4     Video Capture and Playback Data Structures
         4.4.1         CHANNEL_CAPS Data Structure
         4.4.2         VIDEOHDR Data Structure
     4.5     Using Dual Buffers
     4.6     Video Capture and Playback Function Overview
     4.7     Video Capture and Playback Function Descriptions
    Command 47     videoClose
    Command 48     videoConfigure
    Command 49     videoFrame
    Command 50     videoGetBrightness
    Command 51     videoGetChannelCaps
    Command 52     videoGetContrast
    Command 53     videoGetErrorText
    Command 54     videoGetFieldMode
    Command 55     videoGetMirror
    Command 56     videoGetNumDevs
    Command 57     videoGetPortNum
    Command 58     videoGetQuality
    Command 59     videoGetSaturation
    Command 60     videoGetSharpening
    Command 61     videoGetStandard
    Command 62     videoj300SetVideoOutYUVLut
    Command 63     videoOpen
    Command 64     videoSetBrightness
    Command 65     videoSetContrast
    Command 66     videoSetFieldMode
    Command 67     videoSetMirror
    Command 68     videoSetPortNum
    Command 69     videoSetQuality
    Command 70     videoSetSaturation
    Command 71     videoSetSharpening
    Command 72     videoSetStandard
    Command 73     videoStreamAddBuffer
    Command 74     videoStreamFini
    Command 75     videoStreamGetError
    Command 76     videoStreamGetPosition
    Command 77     videoStreamInit
    Command 78     videoStreamPrepareHeader
    Command 79     videoStreamReset
    Command 80     videoStreamStart
    Command 81     videoStreamStop
    Command 82     videoStreamUnprepareHeader
     4.8     Video Capture and Playback Return Values
Chapter 5
5 Video Compression and Decompression Services
     5.1     Video Compression and Decompression Services Overview
         5.1.1         Video Compression and Decompression Architecture Overview
         5.1.2         Installable Compression Manager
         5.1.3         Streaming Video Compression/Decompression Interface
     5.2     Using Video Compression and Decompression Services
         5.2.1         Locating and Opening Video Compressors and Decompressors
         5.2.2         Getting Information About Compressors and Decompressors
         5.2.3         Compressing Image Data
             5.2.3.1             Specifying Input and Determining Compression Formats
             5.2.3.2             Initializing the Compression Sequence
             5.2.3.3             Compressing the Video
             5.2.3.4             Ending Compression
         5.2.4         Decompressing Image Data
             5.2.4.1             Specifying Input and Determining Decompression Formats
             5.2.4.2             Negotiating with the Driver for Palette Usage
             5.2.4.3             Specifying the Palette
             5.2.4.4             Initializing the Decompression Sequence
             5.2.4.5             Decompressing the Video
             5.2.4.6             Ending Decompression
         5.2.5         Modifying the Rendering Attributes of Uncompressed Images
     5.3     Video Compression and Decompression Header Files
     5.4     Video Compression and Decompression Data Structures
         5.4.1         ICINFO Data Structure
     5.5     Video Compression and Decompression Function Overview
     5.6     Video Compression and Decompression Function Descriptions
    Command 83     ICCallbackProc
    Command 84     ICClose
    Command 85     ICCompress
    Command 86     ICCompressBegin
    Command 87     ICCompressEnd
    Command 88     ICCompressGetFormat
    Command 89     ICCompressGetFormatSize
    Command 90     ICCompressGetSize
    Command 91     ICCompressPrepareHeader
    Command 92     ICCompressQuery
    Command 93     ICCompressUnprepareHeader
    Command 94     ICDecompress
    Command 95     ICDecompressBegin
    Command 96     ICDecompressEnd
    Command 97     ICDecompressGetFormat
    Command 98     ICDecompressGetFormatSize
    Command 99     ICDecompressGetPalette
    Command 100     ICDecompressPrepareHeader
    Command 101     ICDecompressQuery
    Command 102     ICDecompressUnprepareHeader
    Command 103     ICGetBrightness
    Command 104     ICGetContrast
    Command 105     ICGetDefaultKeyFrameRate
    Command 106     ICGetDefaultQuality
    Command 107     ICGetInfo
    Command 108     ICGetMirror
    Command 109     ICGetSaturation
    Command 110     ICGetSharpening
    Command 111     ICGetState
    Command 112     ICGetStateSize
    Command 113     ICInfo
    Command 114     ICLocate
    Command 115     ICOpen
    Command 116     ICSetBrightness
    Command 117     ICSetContrast
    Command 118     ICSetMirror
    Command 119     ICSetSaturation
    Command 120     ICSetSharpening
    Command 121     ICSetState
     5.7     Video Compression and Decompression Return Values


Previous Next Contents Index