mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
Not used by any drivers, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1512>
35 lines
739 B
C
35 lines
739 B
C
/* SPDX-License-Identifier: MIT OR X11
|
|
*
|
|
* Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
|
|
*/
|
|
#ifndef _XORG_XVDIX_PRIV_H
|
|
|
|
#include <X11/Xdefs.h>
|
|
|
|
#include "Xext/xvdix.h"
|
|
|
|
#define VALIDATE_XV_PORT(portID, pPort, mode)\
|
|
{\
|
|
int rc = dixLookupResourceByType((void **)&(pPort), portID,\
|
|
XvRTPort, client, mode);\
|
|
if (rc != Success)\
|
|
return rc;\
|
|
}
|
|
|
|
/* Errors */
|
|
|
|
#define _XvBadPort (XvBadPort+XvErrorBase)
|
|
|
|
extern int XvReqCode;
|
|
extern int XvErrorBase;
|
|
|
|
extern RESTYPE XvRTPort;
|
|
|
|
/* dispatch functions */
|
|
int ProcXvDispatch(ClientPtr);
|
|
int SProcXvDispatch(ClientPtr);
|
|
|
|
void XvFreeAdaptor(XvAdaptorPtr pAdaptor);
|
|
|
|
#endif /* _XORG_XVDIX_PRIV_H */
|