xv: Remove the no-op AllocatePort/FreePort interfaces.
v2: Fix accidentally squashed-in change for dropping client from the arguments, which should have been in the next commit. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Keith Packard <keithp@keithp.com> (v2)
This commit is contained in:
parent
41d4a626c6
commit
850b268e2b
|
@ -297,9 +297,6 @@ SWriteListImageFormatsReply(ClientPtr client, xvListImageFormatsReply * rep)
|
||||||
if ((_c)->swapped) SWriteImageFormatInfo(_c, _d); \
|
if ((_c)->swapped) SWriteImageFormatInfo(_c, _d); \
|
||||||
else WriteToClient(_c, sz_xvImageFormatInfo, _d)
|
else WriteToClient(_c, sz_xvImageFormatInfo, _d)
|
||||||
|
|
||||||
#define _AllocatePort(_i,_p) \
|
|
||||||
((_p)->id != _i) ? (* (_p)->pAdaptor->ddAllocatePort)(_i,_p,&_p) : Success
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
ProcXvQueryExtension(ClientPtr client)
|
ProcXvQueryExtension(ClientPtr client)
|
||||||
{
|
{
|
||||||
|
@ -420,18 +417,12 @@ ProcXvQueryEncodings(ClientPtr client)
|
||||||
XvPortPtr pPort;
|
XvPortPtr pPort;
|
||||||
int ne;
|
int ne;
|
||||||
XvEncodingPtr pe;
|
XvEncodingPtr pe;
|
||||||
int status;
|
|
||||||
|
|
||||||
REQUEST(xvQueryEncodingsReq);
|
REQUEST(xvQueryEncodingsReq);
|
||||||
REQUEST_SIZE_MATCH(xvQueryEncodingsReq);
|
REQUEST_SIZE_MATCH(xvQueryEncodingsReq);
|
||||||
|
|
||||||
VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
|
VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
|
||||||
|
|
||||||
if ((status = _AllocatePort(stuff->port, pPort)) != Success) {
|
|
||||||
client->errorValue = stuff->port;
|
|
||||||
return status;
|
|
||||||
}
|
|
||||||
|
|
||||||
rep = (xvQueryEncodingsReply) {
|
rep = (xvQueryEncodingsReply) {
|
||||||
.type = X_Reply,
|
.type = X_Reply,
|
||||||
.sequenceNumber = client->sequence,
|
.sequenceNumber = client->sequence,
|
||||||
|
@ -483,11 +474,6 @@ ProcXvPutVideo(ClientPtr client)
|
||||||
VALIDATE_DRAWABLE_AND_GC(stuff->drawable, pDraw, DixWriteAccess);
|
VALIDATE_DRAWABLE_AND_GC(stuff->drawable, pDraw, DixWriteAccess);
|
||||||
VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
|
VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
|
||||||
|
|
||||||
if ((status = _AllocatePort(stuff->port, pPort)) != Success) {
|
|
||||||
client->errorValue = stuff->port;
|
|
||||||
return status;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!(pPort->pAdaptor->type & XvInputMask) ||
|
if (!(pPort->pAdaptor->type & XvInputMask) ||
|
||||||
!(pPort->pAdaptor->type & XvVideoMask)) {
|
!(pPort->pAdaptor->type & XvVideoMask)) {
|
||||||
client->errorValue = stuff->port;
|
client->errorValue = stuff->port;
|
||||||
|
@ -518,11 +504,6 @@ ProcXvPutStill(ClientPtr client)
|
||||||
VALIDATE_DRAWABLE_AND_GC(stuff->drawable, pDraw, DixWriteAccess);
|
VALIDATE_DRAWABLE_AND_GC(stuff->drawable, pDraw, DixWriteAccess);
|
||||||
VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
|
VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
|
||||||
|
|
||||||
if ((status = _AllocatePort(stuff->port, pPort)) != Success) {
|
|
||||||
client->errorValue = stuff->port;
|
|
||||||
return status;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!(pPort->pAdaptor->type & XvInputMask) ||
|
if (!(pPort->pAdaptor->type & XvInputMask) ||
|
||||||
!(pPort->pAdaptor->type & XvStillMask)) {
|
!(pPort->pAdaptor->type & XvStillMask)) {
|
||||||
client->errorValue = stuff->port;
|
client->errorValue = stuff->port;
|
||||||
|
@ -553,11 +534,6 @@ ProcXvGetVideo(ClientPtr client)
|
||||||
VALIDATE_DRAWABLE_AND_GC(stuff->drawable, pDraw, DixReadAccess);
|
VALIDATE_DRAWABLE_AND_GC(stuff->drawable, pDraw, DixReadAccess);
|
||||||
VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
|
VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
|
||||||
|
|
||||||
if ((status = _AllocatePort(stuff->port, pPort)) != Success) {
|
|
||||||
client->errorValue = stuff->port;
|
|
||||||
return status;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!(pPort->pAdaptor->type & XvOutputMask) ||
|
if (!(pPort->pAdaptor->type & XvOutputMask) ||
|
||||||
!(pPort->pAdaptor->type & XvVideoMask)) {
|
!(pPort->pAdaptor->type & XvVideoMask)) {
|
||||||
client->errorValue = stuff->port;
|
client->errorValue = stuff->port;
|
||||||
|
@ -588,11 +564,6 @@ ProcXvGetStill(ClientPtr client)
|
||||||
VALIDATE_DRAWABLE_AND_GC(stuff->drawable, pDraw, DixReadAccess);
|
VALIDATE_DRAWABLE_AND_GC(stuff->drawable, pDraw, DixReadAccess);
|
||||||
VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
|
VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
|
||||||
|
|
||||||
if ((status = _AllocatePort(stuff->port, pPort)) != Success) {
|
|
||||||
client->errorValue = stuff->port;
|
|
||||||
return status;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!(pPort->pAdaptor->type & XvOutputMask) ||
|
if (!(pPort->pAdaptor->type & XvOutputMask) ||
|
||||||
!(pPort->pAdaptor->type & XvStillMask)) {
|
!(pPort->pAdaptor->type & XvStillMask)) {
|
||||||
client->errorValue = stuff->port;
|
client->errorValue = stuff->port;
|
||||||
|
@ -629,7 +600,6 @@ ProcXvSelectVideoNotify(ClientPtr client)
|
||||||
static int
|
static int
|
||||||
ProcXvSelectPortNotify(ClientPtr client)
|
ProcXvSelectPortNotify(ClientPtr client)
|
||||||
{
|
{
|
||||||
int status;
|
|
||||||
XvPortPtr pPort;
|
XvPortPtr pPort;
|
||||||
|
|
||||||
REQUEST(xvSelectPortNotifyReq);
|
REQUEST(xvSelectPortNotifyReq);
|
||||||
|
@ -637,11 +607,6 @@ ProcXvSelectPortNotify(ClientPtr client)
|
||||||
|
|
||||||
VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
|
VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
|
||||||
|
|
||||||
if ((status = _AllocatePort(stuff->port, pPort)) != Success) {
|
|
||||||
client->errorValue = stuff->port;
|
|
||||||
return status;
|
|
||||||
}
|
|
||||||
|
|
||||||
return XvdiSelectPortNotify(client, pPort, stuff->onoff);
|
return XvdiSelectPortNotify(client, pPort, stuff->onoff);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -657,11 +622,6 @@ ProcXvGrabPort(ClientPtr client)
|
||||||
|
|
||||||
VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
|
VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
|
||||||
|
|
||||||
if ((status = _AllocatePort(stuff->port, pPort)) != Success) {
|
|
||||||
client->errorValue = stuff->port;
|
|
||||||
return status;
|
|
||||||
}
|
|
||||||
|
|
||||||
status = XvdiGrabPort(client, pPort, stuff->time, &result);
|
status = XvdiGrabPort(client, pPort, stuff->time, &result);
|
||||||
|
|
||||||
if (status != Success) {
|
if (status != Success) {
|
||||||
|
@ -682,7 +642,6 @@ ProcXvGrabPort(ClientPtr client)
|
||||||
static int
|
static int
|
||||||
ProcXvUngrabPort(ClientPtr client)
|
ProcXvUngrabPort(ClientPtr client)
|
||||||
{
|
{
|
||||||
int status;
|
|
||||||
XvPortPtr pPort;
|
XvPortPtr pPort;
|
||||||
|
|
||||||
REQUEST(xvGrabPortReq);
|
REQUEST(xvGrabPortReq);
|
||||||
|
@ -690,18 +649,13 @@ ProcXvUngrabPort(ClientPtr client)
|
||||||
|
|
||||||
VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
|
VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
|
||||||
|
|
||||||
if ((status = _AllocatePort(stuff->port, pPort)) != Success) {
|
|
||||||
client->errorValue = stuff->port;
|
|
||||||
return status;
|
|
||||||
}
|
|
||||||
|
|
||||||
return XvdiUngrabPort(client, pPort, stuff->time);
|
return XvdiUngrabPort(client, pPort, stuff->time);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
ProcXvStopVideo(ClientPtr client)
|
ProcXvStopVideo(ClientPtr client)
|
||||||
{
|
{
|
||||||
int status, ret;
|
int ret;
|
||||||
DrawablePtr pDraw;
|
DrawablePtr pDraw;
|
||||||
XvPortPtr pPort;
|
XvPortPtr pPort;
|
||||||
|
|
||||||
|
@ -710,11 +664,6 @@ ProcXvStopVideo(ClientPtr client)
|
||||||
|
|
||||||
VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
|
VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
|
||||||
|
|
||||||
if ((status = _AllocatePort(stuff->port, pPort)) != Success) {
|
|
||||||
client->errorValue = stuff->port;
|
|
||||||
return status;
|
|
||||||
}
|
|
||||||
|
|
||||||
ret = dixLookupDrawable(&pDraw, stuff->drawable, client, 0, DixWriteAccess);
|
ret = dixLookupDrawable(&pDraw, stuff->drawable, client, 0, DixWriteAccess);
|
||||||
if (ret != Success)
|
if (ret != Success)
|
||||||
return ret;
|
return ret;
|
||||||
|
@ -733,11 +682,6 @@ ProcXvSetPortAttribute(ClientPtr client)
|
||||||
|
|
||||||
VALIDATE_XV_PORT(stuff->port, pPort, DixSetAttrAccess);
|
VALIDATE_XV_PORT(stuff->port, pPort, DixSetAttrAccess);
|
||||||
|
|
||||||
if ((status = _AllocatePort(stuff->port, pPort)) != Success) {
|
|
||||||
client->errorValue = stuff->port;
|
|
||||||
return status;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!ValidAtom(stuff->attribute)) {
|
if (!ValidAtom(stuff->attribute)) {
|
||||||
client->errorValue = stuff->attribute;
|
client->errorValue = stuff->attribute;
|
||||||
return BadAtom;
|
return BadAtom;
|
||||||
|
@ -767,11 +711,6 @@ ProcXvGetPortAttribute(ClientPtr client)
|
||||||
|
|
||||||
VALIDATE_XV_PORT(stuff->port, pPort, DixGetAttrAccess);
|
VALIDATE_XV_PORT(stuff->port, pPort, DixGetAttrAccess);
|
||||||
|
|
||||||
if ((status = _AllocatePort(stuff->port, pPort)) != Success) {
|
|
||||||
client->errorValue = stuff->port;
|
|
||||||
return status;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!ValidAtom(stuff->attribute)) {
|
if (!ValidAtom(stuff->attribute)) {
|
||||||
client->errorValue = stuff->attribute;
|
client->errorValue = stuff->attribute;
|
||||||
return BadAtom;
|
return BadAtom;
|
||||||
|
@ -798,7 +737,6 @@ ProcXvGetPortAttribute(ClientPtr client)
|
||||||
static int
|
static int
|
||||||
ProcXvQueryBestSize(ClientPtr client)
|
ProcXvQueryBestSize(ClientPtr client)
|
||||||
{
|
{
|
||||||
int status;
|
|
||||||
unsigned int actual_width, actual_height;
|
unsigned int actual_width, actual_height;
|
||||||
XvPortPtr pPort;
|
XvPortPtr pPort;
|
||||||
xvQueryBestSizeReply rep;
|
xvQueryBestSizeReply rep;
|
||||||
|
@ -808,11 +746,6 @@ ProcXvQueryBestSize(ClientPtr client)
|
||||||
|
|
||||||
VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
|
VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
|
||||||
|
|
||||||
if ((status = _AllocatePort(stuff->port, pPort)) != Success) {
|
|
||||||
client->errorValue = stuff->port;
|
|
||||||
return status;
|
|
||||||
}
|
|
||||||
|
|
||||||
(*pPort->pAdaptor->ddQueryBestSize) (client, pPort, stuff->motion,
|
(*pPort->pAdaptor->ddQueryBestSize) (client, pPort, stuff->motion,
|
||||||
stuff->vid_w, stuff->vid_h,
|
stuff->vid_w, stuff->vid_h,
|
||||||
stuff->drw_w, stuff->drw_h,
|
stuff->drw_w, stuff->drw_h,
|
||||||
|
@ -834,7 +767,7 @@ ProcXvQueryBestSize(ClientPtr client)
|
||||||
static int
|
static int
|
||||||
ProcXvQueryPortAttributes(ClientPtr client)
|
ProcXvQueryPortAttributes(ClientPtr client)
|
||||||
{
|
{
|
||||||
int status, size, i;
|
int size, i;
|
||||||
XvPortPtr pPort;
|
XvPortPtr pPort;
|
||||||
XvAttributePtr pAtt;
|
XvAttributePtr pAtt;
|
||||||
xvQueryPortAttributesReply rep;
|
xvQueryPortAttributesReply rep;
|
||||||
|
@ -845,11 +778,6 @@ ProcXvQueryPortAttributes(ClientPtr client)
|
||||||
|
|
||||||
VALIDATE_XV_PORT(stuff->port, pPort, DixGetAttrAccess);
|
VALIDATE_XV_PORT(stuff->port, pPort, DixGetAttrAccess);
|
||||||
|
|
||||||
if ((status = _AllocatePort(stuff->port, pPort)) != Success) {
|
|
||||||
client->errorValue = stuff->port;
|
|
||||||
return status;
|
|
||||||
}
|
|
||||||
|
|
||||||
rep = (xvQueryPortAttributesReply) {
|
rep = (xvQueryPortAttributesReply) {
|
||||||
.type = X_Reply,
|
.type = X_Reply,
|
||||||
.sequenceNumber = client->sequence,
|
.sequenceNumber = client->sequence,
|
||||||
|
@ -900,11 +828,6 @@ ProcXvPutImage(ClientPtr client)
|
||||||
VALIDATE_DRAWABLE_AND_GC(stuff->drawable, pDraw, DixWriteAccess);
|
VALIDATE_DRAWABLE_AND_GC(stuff->drawable, pDraw, DixWriteAccess);
|
||||||
VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
|
VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
|
||||||
|
|
||||||
if ((status = _AllocatePort(stuff->port, pPort)) != Success) {
|
|
||||||
client->errorValue = stuff->port;
|
|
||||||
return status;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!(pPort->pAdaptor->type & XvImageMask) ||
|
if (!(pPort->pAdaptor->type & XvImageMask) ||
|
||||||
!(pPort->pAdaptor->type & XvInputMask)) {
|
!(pPort->pAdaptor->type & XvInputMask)) {
|
||||||
client->errorValue = stuff->port;
|
client->errorValue = stuff->port;
|
||||||
|
@ -966,11 +889,6 @@ ProcXvShmPutImage(ClientPtr client)
|
||||||
VALIDATE_DRAWABLE_AND_GC(stuff->drawable, pDraw, DixWriteAccess);
|
VALIDATE_DRAWABLE_AND_GC(stuff->drawable, pDraw, DixWriteAccess);
|
||||||
VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
|
VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
|
||||||
|
|
||||||
if ((status = _AllocatePort(stuff->port, pPort)) != Success) {
|
|
||||||
client->errorValue = stuff->port;
|
|
||||||
return status;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!(pPort->pAdaptor->type & XvImageMask) ||
|
if (!(pPort->pAdaptor->type & XvImageMask) ||
|
||||||
!(pPort->pAdaptor->type & XvInputMask)) {
|
!(pPort->pAdaptor->type & XvInputMask)) {
|
||||||
client->errorValue = stuff->port;
|
client->errorValue = stuff->port;
|
||||||
|
|
|
@ -157,9 +157,6 @@ typedef struct {
|
||||||
int nPorts;
|
int nPorts;
|
||||||
struct _XvPortRec *pPorts;
|
struct _XvPortRec *pPorts;
|
||||||
ScreenPtr pScreen;
|
ScreenPtr pScreen;
|
||||||
int (*ddAllocatePort) (unsigned long, struct _XvPortRec *,
|
|
||||||
struct _XvPortRec **);
|
|
||||||
int (*ddFreePort) (struct _XvPortRec *);
|
|
||||||
int (*ddPutVideo) (ClientPtr, DrawablePtr, struct _XvPortRec *, GCPtr,
|
int (*ddPutVideo) (ClientPtr, DrawablePtr, struct _XvPortRec *, GCPtr,
|
||||||
INT16, INT16, CARD16, CARD16,
|
INT16, INT16, CARD16, CARD16,
|
||||||
INT16, INT16, CARD16, CARD16);
|
INT16, INT16, CARD16, CARD16);
|
||||||
|
|
|
@ -426,7 +426,7 @@ XvDestroyWindow(WindowPtr pWin)
|
||||||
static int
|
static int
|
||||||
XvdiDestroyPort(void *pPort, XID id)
|
XvdiDestroyPort(void *pPort, XID id)
|
||||||
{
|
{
|
||||||
return (*((XvPortPtr) pPort)->pAdaptor->ddFreePort) (pPort);
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|
|
@ -58,8 +58,6 @@ of the copyright holder.
|
||||||
|
|
||||||
/* XvAdaptorRec fields */
|
/* XvAdaptorRec fields */
|
||||||
|
|
||||||
static int KdXVAllocatePort(unsigned long, XvPortPtr, XvPortPtr *);
|
|
||||||
static int KdXVFreePort(XvPortPtr);
|
|
||||||
static int KdXVPutVideo(ClientPtr, DrawablePtr, XvPortPtr, GCPtr,
|
static int KdXVPutVideo(ClientPtr, DrawablePtr, XvPortPtr, GCPtr,
|
||||||
INT16, INT16, CARD16, CARD16,
|
INT16, INT16, CARD16, CARD16,
|
||||||
INT16, INT16, CARD16, CARD16);
|
INT16, INT16, CARD16, CARD16);
|
||||||
|
@ -260,8 +258,6 @@ KdXVInitAdaptors(ScreenPtr pScreen, KdVideoAdaptorPtr infoPtr, int number)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
pa->pScreen = pScreen;
|
pa->pScreen = pScreen;
|
||||||
pa->ddAllocatePort = KdXVAllocatePort;
|
|
||||||
pa->ddFreePort = KdXVFreePort;
|
|
||||||
pa->ddPutVideo = KdXVPutVideo;
|
pa->ddPutVideo = KdXVPutVideo;
|
||||||
pa->ddPutStill = KdXVPutStill;
|
pa->ddPutStill = KdXVPutStill;
|
||||||
pa->ddGetVideo = KdXVGetVideo;
|
pa->ddGetVideo = KdXVGetVideo;
|
||||||
|
@ -1031,19 +1027,6 @@ KdXVDisable(ScreenPtr pScreen)
|
||||||
|
|
||||||
/**** XvAdaptorRec fields ****/
|
/**** XvAdaptorRec fields ****/
|
||||||
|
|
||||||
static int
|
|
||||||
KdXVAllocatePort(unsigned long port, XvPortPtr pPort, XvPortPtr * ppPort)
|
|
||||||
{
|
|
||||||
*ppPort = pPort;
|
|
||||||
return Success;
|
|
||||||
}
|
|
||||||
|
|
||||||
static int
|
|
||||||
KdXVFreePort(XvPortPtr pPort)
|
|
||||||
{
|
|
||||||
return Success;
|
|
||||||
}
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
KdXVPutVideo(ClientPtr client,
|
KdXVPutVideo(ClientPtr client,
|
||||||
DrawablePtr pDraw,
|
DrawablePtr pDraw,
|
||||||
|
|
|
@ -56,8 +56,6 @@
|
||||||
|
|
||||||
/* XvAdaptorRec fields */
|
/* XvAdaptorRec fields */
|
||||||
|
|
||||||
static int xf86XVAllocatePort(unsigned long, XvPortPtr, XvPortPtr *);
|
|
||||||
static int xf86XVFreePort(XvPortPtr);
|
|
||||||
static int xf86XVPutVideo(ClientPtr, DrawablePtr, XvPortPtr, GCPtr,
|
static int xf86XVPutVideo(ClientPtr, DrawablePtr, XvPortPtr, GCPtr,
|
||||||
INT16, INT16, CARD16, CARD16,
|
INT16, INT16, CARD16, CARD16,
|
||||||
INT16, INT16, CARD16, CARD16);
|
INT16, INT16, CARD16, CARD16);
|
||||||
|
@ -369,8 +367,6 @@ xf86XVInitAdaptors(ScreenPtr pScreen, XF86VideoAdaptorPtr * infoPtr, int number)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
pa->pScreen = pScreen;
|
pa->pScreen = pScreen;
|
||||||
pa->ddAllocatePort = xf86XVAllocatePort;
|
|
||||||
pa->ddFreePort = xf86XVFreePort;
|
|
||||||
pa->ddPutVideo = xf86XVPutVideo;
|
pa->ddPutVideo = xf86XVPutVideo;
|
||||||
pa->ddPutStill = xf86XVPutStill;
|
pa->ddPutStill = xf86XVPutStill;
|
||||||
pa->ddGetVideo = xf86XVGetVideo;
|
pa->ddGetVideo = xf86XVGetVideo;
|
||||||
|
@ -1274,19 +1270,6 @@ xf86XVModeSet(ScrnInfoPtr pScrn)
|
||||||
|
|
||||||
/**** XvAdaptorRec fields ****/
|
/**** XvAdaptorRec fields ****/
|
||||||
|
|
||||||
static int
|
|
||||||
xf86XVAllocatePort(unsigned long port, XvPortPtr pPort, XvPortPtr * ppPort)
|
|
||||||
{
|
|
||||||
*ppPort = pPort;
|
|
||||||
return Success;
|
|
||||||
}
|
|
||||||
|
|
||||||
static int
|
|
||||||
xf86XVFreePort(XvPortPtr pPort)
|
|
||||||
{
|
|
||||||
return Success;
|
|
||||||
}
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
xf86XVPutVideo(ClientPtr client,
|
xf86XVPutVideo(ClientPtr client,
|
||||||
DrawablePtr pDraw,
|
DrawablePtr pDraw,
|
||||||
|
|
Loading…
Reference in New Issue