1{*********************************************************** 2Copyright 1991 by Digital Equipment Corporation, Maynard, Massachusetts, 3and the Massachusetts Institute of Technology, Cambridge, Massachusetts. 4 5 All Rights Reserved 6 7Permission to use, copy, modify, and distribute this software and its 8documentation for any purpose and without fee is hereby granted, 9provided that the above copyright notice appear in all copies and that 10both that copyright notice and this permission notice appear in 11supporting documentation, and that the names of Digital or MIT not be 12used in advertising or publicity pertaining to distribution of the 13software without specific, written prior permission. 14 15DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING 16ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL 17DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR 18ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 19WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 20ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS 21SOFTWARE. 22 23******************************************************************} 24{ $XFree86: xc/include/extensions/Xv.h,v 1.3 1999/05/23 06:33:22 dawes Exp $ } 25 26unit xv; 27 28interface 29 30{$PACKRECORDS c} 31 32uses 33 x; 34 35const 36 XvName = 'XVideo'; 37 XvVersion = 2; 38 XvRevision = 2; 39 40{ Symbols } 41type 42 TXvPortID = TXID; 43 TXvEncodingID = TXID; 44 45const 46 XvNone = 0; 47 48 XvInput = 0; 49 XvOutput = 1; 50 51 XvInputMask = 1 shl XvInput; 52 XvOutputMask = 1 shl XvOutput; 53 XvVideoMask = $00000004; 54 XvStillMask = $00000008; 55 XvImageMask = $00000010; 56 57{ These two are not client viewable } 58 XvPixmapMask = $00010000; 59 XvWindowMask = $00020000; 60 61 62 XvGettable = $01; 63 XvSettable = $02; 64 65 XvRGB = 0; 66 XvYUV = 1; 67 68 XvPacked = 0; 69 XvPlanar = 1; 70 71 XvTopToBottom = 0; 72 XvBottomToTop = 1; 73 74 75{ Events } 76 77 XvVideoNotify = 0; 78 XvPortNotify = 1; 79 XvNumEvents = 2; 80 81{ Video Notify Reasons } 82 83 XvStarted = 0; 84 XvStopped = 1; 85 XvBusy = 2; 86 XvPreempted = 3; 87 XvHardError = 4; 88 XvLastReason = 4; 89 90 XvNumReasons = XvLastReason + 1; 91 92 XvStartedMask = 1 shl XvStarted; 93 XvStoppedMask = 1 shl XvStopped; 94 XvBusyMask = 1 shl XvBusy; 95 XvPreemptedMask = 1 shl XvPreempted; 96 XvHardErrorMask = 1 shl XvHardError; 97 98 XvAnyReasonMask = (1 shl XvNumReasons) - 1; 99 XvNoReasonMask = 0; 100 101{ Errors } 102 103 XvBadPort = 0; 104 XvBadEncoding = 1; 105 XvBadControl = 2; 106 XvNumErrors = 3; 107 108{ Status } 109 110 XvBadExtension = 1; 111 XvAlreadyGrabbed = 2; 112 XvInvalidTime = 3; 113 XvBadReply = 4; 114 XvBadAlloc = 5; 115 116implementation 117 118end. 119