compat-api.h: replace ddStopVideo_ARGS

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-12-31 14:25:36 +01:00
parent bc506c8f42
commit 4a45c56630
4 changed files with 3 additions and 4 deletions

View File

@@ -71,7 +71,6 @@ region_get_boxes(const RegionRec *r, const BoxRec **s, const BoxRec **e)
if ((d)->pScreen->SourceValidate) (d)->pScreen->SourceValidate(d, x, y, w, h, mode)
#define XORG_XV_VERSION 2
#define ddStopVideo_ARGS XvPortPtr port, DrawablePtr draw
#define ddSetPortAttribute_ARGS XvPortPtr port, Atom attribute, INT32 value
#define ddGetPortAttribute_ARGS XvPortPtr port, Atom attribute, INT32 *value
#define ddQueryBestSize_ARGS XvPortPtr port, CARD8 motion, CARD16 vid_w, CARD16 vid_h, CARD16 drw_w, CARD16 drw_h, unsigned int *p_w, unsigned int *p_h

View File

@@ -125,7 +125,7 @@ static bool sna_video_overlay_update_attrs(struct sna_video *video)
return drmIoctl(video->sna->kgem.fd, DRM_IOCTL_I915_OVERLAY_ATTRS, &attrs) == 0;
}
static int sna_video_overlay_stop(ddStopVideo_ARGS)
static int sna_video_overlay_stop(XvPortPtr port, DrawablePtr draw)
{
struct sna_video *video = port->devPriv.ptr;
struct sna *sna = video->sna;

View File

@@ -120,7 +120,7 @@ static void sna_video_sprite_hide(xf86CrtcPtr crtc, struct sna_video *video)
video->color_key_changed |= 1 << index;
}
static int sna_video_sprite_stop(ddStopVideo_ARGS)
static int sna_video_sprite_stop(XvPortPtr port, DrawablePtr draw)
{
struct sna_video *video = port->devPriv.ptr;
xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(video->sna->scrn);

View File

@@ -82,7 +82,7 @@ static const XvImageRec gen9_Images[] = {
XVMC_YUV,
};
static int sna_video_textured_stop(ddStopVideo_ARGS)
static int sna_video_textured_stop(XvPortPtr port, DrawablePtr draw)
{
struct sna_video *video = port->devPriv.ptr;